Skip to content

Instantly share code, notes, and snippets.

@kierdavis
Created April 21, 2022 13:07
Show Gist options
  • Save kierdavis/c5685aae98d3d336b73553eedc4bdd37 to your computer and use it in GitHub Desktop.
Save kierdavis/c5685aae98d3d336b73553eedc4bdd37 to your computer and use it in GitHub Desktop.
# module.equinix_host["<MYHOSTNAME>"].metal_device.host[0] must be replaced
-/+ resource "metal_device" "host" {
~ access_private_ipv4 = "<MYIPADDR>" -> (known after apply)
~ access_public_ipv4 = "<MYIPADDR>" -> (known after apply)
~ access_public_ipv6 = "<MYIPADDR>" -> (known after apply)
~ created = "2022-04-19T23:40:41Z" -> (known after apply)
~ deployed_facility = "am6" -> (known after apply)
+ deployed_hardware_reservation_id = (known after apply) - facilities = [
- "am6",
] -> null ~ hostname = "test1.ams" -> "emam-icelaketest1"
~ id = "<MYID>" -> (known after apply)
+ ipxe_script_url = "<MYURL>"
~ locked = false -> (known after apply)
~ network = [
- {
- address = "<MYIPADDR>"
- cidr = 31
- family = 4
- gateway = "<MYIPADDR>"
- public = true
},
- {
- address = "<MYIPADDR>"
- cidr = 127
- family = 6
- gateway = "<MYIPADDR>"
- public = true
},
- {
- address = "<MYIPADDR>"
- cidr = 31
- family = 4
- gateway = "<MYIPADDR>"
- public = false
},
] -> (known after apply)
~ network_type = "layer3" -> (known after apply)
~ operating_system = "ubuntu_20_04" -> "custom_ipxe" # forces replacement
~ ports = [
- {
- bonded = true
- id = "<MYID>"
- mac = "<MYMACADDR>"
- name = "eth0"
- type = "NetworkPort"
},
- {
- bonded = true
- id = "<MYID>"
- mac = "<MYMACADDR>"
- name = "eth1"
- type = "NetworkPort"
},
- {
- bonded = true
- id = "<MYID>"
- mac = "<MYMACADDR>"
- name = "eth2"
- type = "NetworkPort"
},
- {
- bonded = true
- id = "<MYID>"
- mac = "<MYMACADDR>"
- name = "eth3"
- type = "NetworkPort"
},
- {
- bonded = true
- id = "<MYID>"
- mac = ""
- name = "bond0"
- type = "NetworkBondPort"
},
- {
- bonded = true
- id = "<MYID>"
- mac = ""
- name = "bond1"
- type = "NetworkBondPort"
},
] -> (known after apply)
+ root_password = (sensitive value)
~ ssh_key_ids = [
- "<MYID>",
- "<MYID>",
- "<MYID>",
] -> (known after apply)
~ state = "active" -> (known after apply)
- tags = [] -> null
~ updated = "2022-04-19T23:47:40Z" -> (known after apply)
# (7 unchanged attributes hidden)
+ ip_address {
+ cidr = 31
+ reservation_ids = (known after apply)
+ type = "public_ipv4"
}
+ ip_address {
+ cidr = 31
+ type = "private_ipv4"
}
+ reinstall {
+ deprovision_fast = false
+ enabled = true
+ preserve_data = false
}
- timeouts {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment