physical servers

567 views
Skip to first unread message

Geoff O'Callaghan

unread,
Apr 3, 2015, 1:41:59 AM4/3/15
to terrafo...@googlegroups.com
can anyone point me to doco that shows me how I'd manage physical server provisioning with terraform.

thanks
geoff

Andrew Langhorn

unread,
Apr 3, 2015, 7:57:48 AM4/3/15
to Geoff O'Callaghan, <terraform-tool@googlegroups.com>
Geoff,

Terraform doesn't currently support physical servers - it only supports those services for which a Terraform provider is available, so IaaS, like AWS, PaaS, like Heroku, and infrastructure-related SaaS products, like CloudFlare, usually.

You might want to look at something like Razor from Puppet Labs instead.

Andrew

geoff

--
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To post to this group, send email to terrafo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/69f8cf62-383f-4c2a-8b22-a909c3ca95c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Andrew Langhorn
Web Operations
Government Digital Service

a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH

Geoff O'Callaghan

unread,
Apr 3, 2015, 8:14:47 AM4/3/15
to Andrew Langhorn, <terraform-tool@googlegroups.com>


On 03/04/2015 10:57 PM, "Andrew Langhorn" <andrew....@digital.cabinet-office.gov.uk> wrote:
>
> Geoff,
>
> Terraform doesn't currently support physical servers - it only supports those services for which a Terraform provider is available, so IaaS, like AWS, PaaS, like Heroku, and infrastructure-related SaaS products, like CloudFlare, usually.

hey Andrew

thanks for the reply.   this is what I expected but since the terraform web website says

" Terraform provides a common configuration to launch infrastructure — from physical and virtual servers to email and DNS providers. "

I thought I'd better check.  perhaps I can write a provider for xcat

tks
geoff

Andrew Langhorn

unread,
Apr 3, 2015, 1:24:33 PM4/3/15
to Geoff O'Callaghan, <terraform-tool@googlegroups.com>
So, actually, my original answer may not have been entirely accurate. Assuming you have an OpenStack cluster, you could use Terraform to provision instances on that - you're making virtual instances on your physical nodes. Or you could bring up containers on your physical nodes using the Docker provider.

Armon Dadgar

unread,
Apr 3, 2015, 1:37:07 PM4/3/15
to Andrew Langhorn, Geoff O'Callaghan, <terraform-tool@googlegroups.com>
I should also mention that eventually we want to support tools like Foreman and Cobbler so that
even physical hardware can be managed with Terraform. This would allows physical hardware to
be managed even without OpenStack.

Best Regards,
Armon Dadgar

Matthew Wilmott

unread,
Sep 3, 2015, 1:24:12 AM9/3/15
to Terraform, andrew....@digital.cabinet-office.gov.uk, geoffoc...@gmail.com
We'd also be very interested in a foreman provider

hunter morgan

unread,
Jan 19, 2017, 2:58:44 PM1/19/17
to Terraform, andrew....@digital.cabinet-office.gov.uk, geoffoc...@gmail.com
but you can use `null_resource` to do so, right?
```
resource "null_resource" "remote" {
  triggers = {
    host = "${var.host}"
  }
  connection {
    host = "${var.host}"
  }
  provisioner "remote-exec" {
    inline = ["echo ${var.host}"]
  }
}
```
Reply all
Reply to author
Forward
0 new messages