Skip to content

Instantly share code, notes, and snippets.

@mburns
Created March 27, 2020 18:09
Show Gist options
  • Save mburns/a8f033eaaf0d1537c9f51efe735883da to your computer and use it in GitHub Desktop.
Save mburns/a8f033eaaf0d1537c9f51efe735883da to your computer and use it in GitHub Desktop.
prod/collab-cluster $ terraform plan on master branch
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
module.collab_cluster_ams.data.template_file.user_data: Refreshing state...
module.collab_cluster_sjc.data.template_file.user_data: Refreshing state...
module.collab_cluster_ams.packet_bgp_session.bgp_ipv4: Refreshing state... [id=ed99ce72-3bb8-4051-aba7-83cfdbb2ef44]
module.collab_cluster_ams.packet_bgp_session.bgp_ipv6: Refreshing state... [id=9b7f7e57-19fd-46e4-a633-e873f8c44f86]
module.collab_cluster_sjc.packet_bgp_session.bgp_ipv4: Refreshing state... [id=b9f64a7e-af0c-4097-b9ab-fd548ddc2f2c]
module.collab_cluster_sjc.packet_bgp_session.bgp_ipv6: Refreshing state... [id=b3e3373c-d08c-42e9-bce2-a79e7cb26b1b]
module.collab_cluster_sjc.module.collab_cluster_node.packet_device.packet_vm: Refreshing state... [id=fcad6430-3925-4632-8afd-66122a2cc7f7]
module.collab_cluster_ams.module.collab_cluster_node.packet_device.packet_vm: Refreshing state... [id=937af5ba-47da-4554-a1a5-825ff5dd0e3a]
module.collab_cluster_sjc.module.collab_cluster_node.dnsimple_record.internal_srvs: Refreshing state... [id=17971620]
module.collab_cluster_ams.module.collab_cluster_node.dnsimple_record.internal_node_v6: Refreshing state... [id=17971692]
module.collab_cluster_ams.module.collab_cluster_node.dnsimple_record.internal_node: Refreshing state... [id=17971693]
data.terraform_remote_state.ca: Refreshing state...
module.collab_cluster_sjc.module.collab_cluster_node.dnsimple_record.internal_node: Refreshing state... [id=17963017]
module.collab_cluster_sjc.module.collab_cluster_node.dnsimple_record.internal_node_v6: Refreshing state... [id=17963018]
module.collab_cluster_ams.module.collab_cluster_node.dnsimple_record.internal_srvs: Refreshing state... [id=17971717]
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# module.collab_cluster_ams.dnsimple_record.internal_node will be created
+ resource "dnsimple_record" "internal_node" {
+ domain = "cluster.dwebops.net"
+ domain_id = (known after apply)
+ hostname = (known after apply)
+ id = (known after apply)
+ name = "collab-cluster-ams1"
+ priority = (known after apply)
+ ttl = "600"
+ type = "A"
+ value = (known after apply)
}
# module.collab_cluster_ams.dnsimple_record.internal_node_v6 will be created
+ resource "dnsimple_record" "internal_node_v6" {
+ domain = "cluster.dwebops.net"
+ domain_id = (known after apply)
+ hostname = (known after apply)
+ id = (known after apply)
+ name = "collab-cluster-ams1"
+ priority = (known after apply)
+ ttl = "600"
+ type = "AAAA"
+ value = (known after apply)
}
# module.collab_cluster_ams.dnsimple_record.internal_srvs will be created
+ resource "dnsimple_record" "internal_srvs" {
+ domain = "ipfs-cluster.cluster.dwebops.net"
+ domain_id = (known after apply)
+ hostname = (known after apply)
+ id = (known after apply)
+ name = "_sip._tcp"
+ priority = (known after apply)
+ ttl = "600"
+ type = "SRV"
+ value = "100 443 collab-cluster-ams1.cluster.dwebops.net"
}
# module.collab_cluster_ams.packet_bgp_session.bgp_ipv4 will be destroyed
- resource "packet_bgp_session" "bgp_ipv4" {
- address_family = "ipv4" -> null
- default_route = false -> null
- device_id = "937af5ba-47da-4554-a1a5-825ff5dd0e3a" -> null
- id = "ed99ce72-3bb8-4051-aba7-83cfdbb2ef44" -> null
- status = "up" -> null
}
# module.collab_cluster_ams.packet_bgp_session.bgp_ipv6 will be destroyed
- resource "packet_bgp_session" "bgp_ipv6" {
- address_family = "ipv6" -> null
- default_route = false -> null
- device_id = "937af5ba-47da-4554-a1a5-825ff5dd0e3a" -> null
- id = "9b7f7e57-19fd-46e4-a633-e873f8c44f86" -> null
- status = "up" -> null
}
# module.collab_cluster_ams.packet_device.packet_vm will be created
+ resource "packet_device" "packet_vm" {
+ access_private_ipv4 = (known after apply)
+ access_public_ipv4 = (known after apply)
+ access_public_ipv6 = (known after apply)
+ always_pxe = false
+ billing_cycle = "hourly"
+ created = (known after apply)
+ deployed_facility = (known after apply)
+ facilities = [
+ "ams1",
]
+ force_detach_volumes = false
+ hardware_reservation_id = (known after apply)
+ hostname = "collab-cluster-ams1"
+ id = (known after apply)
+ ip_address_types = (known after apply)
+ locked = (known after apply)
+ network = (known after apply)
+ operating_system = "ubuntu_18_04"
+ plan = "c2.medium.x86"
+ ports = (known after apply)
+ project_id = "00104cf6-05e6-4fe8-9355-7053259ff6e1"
+ public_ipv4_subnet_size = (known after apply)
+ root_password = (sensitive value)
+ ssh_key_ids = (known after apply)
+ state = (known after apply)
+ updated = (known after apply)
+ user_data = (sensitive value)
+ wait_for_reservation_deprovision = false
}
# module.collab_cluster_sjc.dnsimple_record.internal_node will be created
+ resource "dnsimple_record" "internal_node" {
+ domain = "cluster.dwebops.net"
+ domain_id = (known after apply)
+ hostname = (known after apply)
+ id = (known after apply)
+ name = "collab-cluster-sjc1"
+ priority = (known after apply)
+ ttl = "600"
+ type = "A"
+ value = (known after apply)
}
# module.collab_cluster_sjc.dnsimple_record.internal_node_v6 will be created
+ resource "dnsimple_record" "internal_node_v6" {
+ domain = "cluster.dwebops.net"
+ domain_id = (known after apply)
+ hostname = (known after apply)
+ id = (known after apply)
+ name = "collab-cluster-sjc1"
+ priority = (known after apply)
+ ttl = "600"
+ type = "AAAA"
+ value = (known after apply)
}
# module.collab_cluster_sjc.dnsimple_record.internal_srvs will be created
+ resource "dnsimple_record" "internal_srvs" {
+ domain = "ipfs-cluster.cluster.dwebops.net"
+ domain_id = (known after apply)
+ hostname = (known after apply)
+ id = (known after apply)
+ name = "_sip._tcp"
+ priority = (known after apply)
+ ttl = "600"
+ type = "SRV"
+ value = "100 443 collab-cluster-sjc1.cluster.dwebops.net"
}
# module.collab_cluster_sjc.packet_bgp_session.bgp_ipv4 will be destroyed
- resource "packet_bgp_session" "bgp_ipv4" {
- address_family = "ipv4" -> null
- default_route = false -> null
- device_id = "fcad6430-3925-4632-8afd-66122a2cc7f7" -> null
- id = "b9f64a7e-af0c-4097-b9ab-fd548ddc2f2c" -> null
- status = "up" -> null
}
# module.collab_cluster_sjc.packet_bgp_session.bgp_ipv6 will be destroyed
- resource "packet_bgp_session" "bgp_ipv6" {
- address_family = "ipv6" -> null
- default_route = false -> null
- device_id = "fcad6430-3925-4632-8afd-66122a2cc7f7" -> null
- id = "b3e3373c-d08c-42e9-bce2-a79e7cb26b1b" -> null
- status = "up" -> null
}
# module.collab_cluster_sjc.packet_device.packet_vm will be created
+ resource "packet_device" "packet_vm" {
+ access_private_ipv4 = (known after apply)
+ access_public_ipv4 = (known after apply)
+ access_public_ipv6 = (known after apply)
+ always_pxe = false
+ billing_cycle = "hourly"
+ created = (known after apply)
+ deployed_facility = (known after apply)
+ facilities = [
+ "sjc1",
]
+ force_detach_volumes = false
+ hardware_reservation_id = (known after apply)
+ hostname = "collab-cluster-sjc1"
+ id = (known after apply)
+ ip_address_types = (known after apply)
+ locked = (known after apply)
+ network = (known after apply)
+ operating_system = "ubuntu_18_04"
+ plan = "c2.medium.x86"
+ ports = (known after apply)
+ project_id = "00104cf6-05e6-4fe8-9355-7053259ff6e1"
+ public_ipv4_subnet_size = (known after apply)
+ root_password = (sensitive value)
+ ssh_key_ids = (known after apply)
+ state = (known after apply)
+ updated = (known after apply)
+ user_data = (sensitive value)
+ wait_for_reservation_deprovision = false
}
# module.collab_cluster_ams.module.collab_cluster_node.dnsimple_record.internal_node will be destroyed
- resource "dnsimple_record" "internal_node" {
- domain = "cluster.dwebops.net" -> null
- domain_id = "cluster.dwebops.net" -> null
- hostname = "collab-cluster-ams1.cluster.dwebops.net" -> null
- id = "17971693" -> null
- name = "collab-cluster-ams1" -> null
- priority = "0" -> null
- ttl = "600" -> null
- type = "A" -> null
- value = "147.75.32.81" -> null
}
# module.collab_cluster_ams.module.collab_cluster_node.dnsimple_record.internal_node_v6 will be destroyed
- resource "dnsimple_record" "internal_node_v6" {
- domain = "cluster.dwebops.net" -> null
- domain_id = "cluster.dwebops.net" -> null
- hostname = "collab-cluster-ams1.cluster.dwebops.net" -> null
- id = "17971692" -> null
- name = "collab-cluster-ams1" -> null
- priority = "0" -> null
- ttl = "600" -> null
- type = "AAAA" -> null
- value = "2604:1380:2001:2b00::3" -> null
}
# module.collab_cluster_ams.module.collab_cluster_node.dnsimple_record.internal_srvs will be destroyed
- resource "dnsimple_record" "internal_srvs" {
- domain = "cluster.dwebops.net" -> null
- domain_id = "cluster.dwebops.net" -> null
- hostname = "_sip._tcp.ipfs-cluster.cluster.dwebops.net" -> null
- id = "17971717" -> null
- name = "_sip._tcp.ipfs-cluster" -> null
- priority = "0" -> null
- ttl = "600" -> null
- type = "SRV" -> null
- value = "100 443 collab-cluster-ams1.cluster.dwebops.net" -> null
}
# module.collab_cluster_ams.module.collab_cluster_node.packet_device.packet_vm will be destroyed
- resource "packet_device" "packet_vm" {
- access_private_ipv4 = "10.80.169.131" -> null
- access_public_ipv4 = "147.75.32.81" -> null
- access_public_ipv6 = "2604:1380:2001:2b00::3" -> null
- always_pxe = false -> null
- billing_cycle = "hourly" -> null
- created = "2020-03-26T22:16:41Z" -> null
- deployed_facility = "ams1" -> null
- facilities = [
- "ams1",
] -> null
- force_detach_volumes = false -> null
- hostname = "collab-cluster-ams1" -> null
- id = "937af5ba-47da-4554-a1a5-825ff5dd0e3a" -> null
- ip_address_types = [] -> null
- locked = false -> null
- network = [
- {
- address = "147.75.32.81"
- cidr = 31
- family = 4
- gateway = "147.75.32.80"
- public = true
},
- {
- address = "2604:1380:2001:2b00::3"
- cidr = 127
- family = 6
- gateway = "2604:1380:2001:2b00::2"
- public = true
},
- {
- address = "10.80.169.131"
- cidr = 31
- family = 4
- gateway = "10.80.169.130"
- public = false
},
] -> null
- network_type = "layer3" -> null
- operating_system = "ubuntu_18_04" -> null
- plan = "c2.medium.x86" -> null
- ports = [
- {
- bonded = true
- id = "a1d5c87e-07cd-4bdd-869c-b98f38255594"
- mac = ""
- name = "bond0"
- type = "NetworkBondPort"
},
- {
- bonded = true
- id = "4786a738-a849-4a9b-a688-b3f6a8655e68"
- mac = "50:6b:4b:13:c7:5e"
- name = "eth0"
- type = "NetworkPort"
},
- {
- bonded = true
- id = "38fa4897-aa85-44d9-9503-4331d92733e3"
- mac = "50:6b:4b:13:c7:5f"
- name = "eth1"
- type = "NetworkPort"
},
] -> null
- project_id = "00104cf6-05e6-4fe8-9355-7053259ff6e1" -> null
- public_ipv4_subnet_size = 31 -> null
- root_password = (sensitive value)
- ssh_key_ids = [
- "721fa109-593f-4c96-9989-34f417ea18ea",
- "348ec86f-a29f-44cf-8881-fc597403946a",
- "d4808fde-8a3c-41f1-a9a6-7b70a584446c",
- "b0dfdb78-d112-44fe-93ef-52e4d59b8466",
- "d72f2a7b-c9ca-49b5-9631-1d7aa1f4f594",
] -> null
- state = "active" -> null
- tags = [] -> null
- updated = "2020-03-27T07:40:16Z" -> null
- user_data = (sensitive value)
- wait_for_reservation_deprovision = false -> null
- timeouts {}
}
# module.collab_cluster_sjc.module.collab_cluster_node.dnsimple_record.internal_node will be destroyed
- resource "dnsimple_record" "internal_node" {
- domain = "cluster.dwebops.net" -> null
- domain_id = "cluster.dwebops.net" -> null
- hostname = "collab-cluster-sjc1.cluster.dwebops.net" -> null
- id = "17963017" -> null
- name = "collab-cluster-sjc1" -> null
- priority = "0" -> null
- ttl = "600" -> null
- type = "A" -> null
- value = "147.75.91.146" -> null
}
# module.collab_cluster_sjc.module.collab_cluster_node.dnsimple_record.internal_node_v6 will be destroyed
- resource "dnsimple_record" "internal_node_v6" {
- domain = "cluster.dwebops.net" -> null
- domain_id = "cluster.dwebops.net" -> null
- hostname = "collab-cluster-sjc1.cluster.dwebops.net" -> null
- id = "17963018" -> null
- name = "collab-cluster-sjc1" -> null
- priority = "0" -> null
- ttl = "600" -> null
- type = "AAAA" -> null
- value = "2604:1380:1001:9100::3" -> null
}
# module.collab_cluster_sjc.module.collab_cluster_node.dnsimple_record.internal_srvs will be destroyed
- resource "dnsimple_record" "internal_srvs" {
- domain = "cluster.dwebops.net" -> null
- domain_id = "cluster.dwebops.net" -> null
- hostname = "_sip._tcp.ipfs-cluster.cluster.dwebops.net" -> null
- id = "17971620" -> null
- name = "_sip._tcp.ipfs-cluster" -> null
- priority = "0" -> null
- ttl = "600" -> null
- type = "SRV" -> null
- value = "100 443 collab-cluster-sjc1.cluster.dwebops.net" -> null
}
# module.collab_cluster_sjc.module.collab_cluster_node.packet_device.packet_vm will be destroyed
- resource "packet_device" "packet_vm" {
- access_private_ipv4 = "10.88.214.131" -> null
- access_public_ipv4 = "147.75.91.146" -> null
- access_public_ipv6 = "2604:1380:1001:9100::3" -> null
- always_pxe = false -> null
- billing_cycle = "hourly" -> null
- created = "2020-03-26T00:36:20Z" -> null
- deployed_facility = "sjc1" -> null
- facilities = [
- "sjc1",
] -> null
- force_detach_volumes = false -> null
- hostname = "collab-cluster-sjc1" -> null
- id = "fcad6430-3925-4632-8afd-66122a2cc7f7" -> null
- ip_address_types = [] -> null
- locked = false -> null
- network = [
- {
- address = "147.75.91.146"
- cidr = 30
- family = 4
- gateway = "147.75.91.145"
- public = true
},
- {
- address = "2604:1380:1001:9100::3"
- cidr = 127
- family = 6
- gateway = "2604:1380:1001:9100::2"
- public = true
},
- {
- address = "10.88.214.131"
- cidr = 31
- family = 4
- gateway = "10.88.214.130"
- public = false
},
] -> null
- network_type = "layer3" -> null
- operating_system = "ubuntu_18_04" -> null
- plan = "c2.medium.x86" -> null
- ports = [
- {
- bonded = true
- id = "39b90344-7c4f-4887-be51-64e4f1b3c00f"
- mac = ""
- name = "bond0"
- type = "NetworkBondPort"
},
- {
- bonded = true
- id = "94ce3e2c-f5a0-421f-8215-872d81d656e1"
- mac = "98:03:9b:4a:c5:3c"
- name = "eth0"
- type = "NetworkPort"
},
- {
- bonded = true
- id = "04d0ebd7-80c8-4b74-a6ba-c04fda6cf51b"
- mac = "98:03:9b:4a:c5:3d"
- name = "eth1"
- type = "NetworkPort"
},
] -> null
- project_id = "00104cf6-05e6-4fe8-9355-7053259ff6e1" -> null
- public_ipv4_subnet_size = 30 -> null
- ssh_key_ids = [
- "721fa109-593f-4c96-9989-34f417ea18ea",
- "348ec86f-a29f-44cf-8881-fc597403946a",
- "d4808fde-8a3c-41f1-a9a6-7b70a584446c",
- "b0dfdb78-d112-44fe-93ef-52e4d59b8466",
- "d72f2a7b-c9ca-49b5-9631-1d7aa1f4f594",
] -> null
- state = "active" -> null
- tags = [] -> null
- updated = "2020-03-26T00:44:25Z" -> null
- user_data = (sensitive value)
- wait_for_reservation_deprovision = false -> null
- timeouts {}
}
Plan: 8 to add, 0 to change, 12 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
Releasing state lock. This may take a few moments...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment