Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated MIG example to TF 0.12 syntax and compatible modules
ref: terraform-google-modules#28 ``` [/workspace/google/terraform-google-container-vm/examples/managed_instance_group]$ terraform apply -auto-approve module.gce-container.data.external.spec_as_yaml: Refreshing state... module.mig.data.google_compute_zones.available: Refreshing state... module.mig_template.data.google_compute_image.image_family: Refreshing state... module.gce-container.data.google_compute_image.coreos: Refreshing state... module.mig_template.data.google_compute_image.image: Refreshing state... module.cloud-nat.random_string.name_suffix: Creating... module.http-lb.google_compute_global_address.default: Creating... module.cloud-nat.random_string.name_suffix: Creation complete after 0s [id=725bw2] module.http-lb.google_compute_http_health_check.default[0]: Creating... google_compute_network.default: Creating... google_compute_firewall.lb-to-instances: Creating... module.http-lb.google_compute_http_health_check.default[0]: Creation complete after 5s [id=mig-test-lb-backend-0] module.http-lb.google_compute_global_address.default: Creation complete after 5s [id=mig-test-lb-address] google_compute_network.default: Still creating... [10s elapsed] google_compute_firewall.lb-to-instances: Still creating... [10s elapsed] google_compute_firewall.lb-to-instances: Creation complete after 18s [id=mig-test-firewall-lb-to-instances] google_compute_network.default: Still creating... [20s elapsed] google_compute_network.default: Creation complete after 28s [id=mig-net] google_compute_router.default: Creating... google_compute_subnetwork.default: Creating... module.http-lb.google_compute_firewall.default-hc[0]: Creating... google_compute_router.default: Creation complete after 5s [id=us-east4/mig-net-gw-group1] module.cloud-nat.google_compute_router_nat.main: Creating... google_compute_subnetwork.default: Still creating... [10s elapsed] module.http-lb.google_compute_firewall.default-hc[0]: Still creating... [10s elapsed] module.cloud-nat.google_compute_router_nat.main: Still creating... [10s elapsed] module.http-lb.google_compute_firewall.default-hc[0]: Creation complete after 17s [id=mig-test-lb-hc-0] google_compute_subnetwork.default: Still creating... [20s elapsed] module.cloud-nat.google_compute_router_nat.main: Creation complete after 17s [id=us-east4/mig-net-gw-group1/mig-net-cloud-nat-group1] google_compute_subnetwork.default: Creation complete after 30s [id=us-east4/mig-net] module.mig_template.google_compute_instance_template.tpl: Creating... module.mig_template.google_compute_instance_template.tpl: Creation complete after 4s [id=mig-net-20190911232353889100000001] module.mig.google_compute_region_instance_group_manager.mig: Creating... module.mig.google_compute_region_instance_group_manager.mig: Still creating... [10s elapsed] module.mig.google_compute_region_instance_group_manager.mig: Creation complete after 20s [id=gl-ivankorniienko-seed-251912/us-east4/mig-net-mig] module.http-lb.google_compute_backend_service.default[0]: Creating... module.http-lb.google_compute_backend_service.default[0]: Creation complete after 8s [id=mig-test-lb-backend-0] module.http-lb.google_compute_url_map.default[0]: Creating... module.http-lb.google_compute_url_map.default[0]: Creation complete after 5s [id=mig-test-lb-url-map] module.http-lb.google_compute_target_http_proxy.default[0]: Creating... module.http-lb.google_compute_target_http_proxy.default[0]: Creation complete after 4s [id=mig-test-lb-http-proxy] module.http-lb.google_compute_global_forwarding_rule.http[0]: Creating... module.http-lb.google_compute_global_forwarding_rule.http[0]: Still creating... [10s elapsed] module.http-lb.google_compute_global_forwarding_rule.http[0]: Creation complete after 18s [id=mig-test-lb] Apply complete! Resources: 15 added, 0 changed, 0 destroyed. Outputs: container = { "image" = "gcr.io/google-samples/hello-app:1.0" } http_address = 34.102.132.47 http_port = 80 project_id = gl-ivankorniienko-seed-251912 vm_container_label = cos-stable-76-12239-60-0 volumes = [] ```
- Loading branch information