Build Infrastructure with Terraform on Google Cloud: Challenge Lab Reviews
70386 reviews
Prince O. · Reviewed حوالي ساعة واحدة ago
Amrit P. · Reviewed حوالي ساعتان ago
Egor S. · Reviewed حوالي ساعتان ago
kalyan c. · Reviewed حوالي 4 ساعات ago
Walter B. · Reviewed حوالي 5 ساعات ago
Donald C. · Reviewed حوالي 5 ساعات ago
Prakash T. · Reviewed حوالي 7 ساعات ago
Adam M. · Reviewed حوالي 7 ساعات ago
There are serious issues with the lab on Step 6. I tried utilizing the version 6.0.0 or ~>6.0 or any combination and I would consistently get errors with the subnet array. It took me 30 minutes of troubleshooting to try and fix that problem but could not before the timer stopped. I used the provided modules from Terraform and applied what was asked of me but continued to receive errors after running terraform apply. This is what I applied for my subnets: resource "google_compute_instance" "tf_instance_1" { name = "tf-instance-1" machine_type = "e2-medium" # Update with the actual machine type from GCP console zone = var.zone boot_disk { initialize_params { image = "debian-cloud/debian-9" # Update with the actual boot disk image from GCP console } } network_interface { subnetwork = "projects/your-gcp-project-id/regions/us-west1/subnetworks/default" # Update with actual subnetwork from GCP console } metadata_startup_script = <<-EOT #!/bin/bash EOT allow_stopping_for_update = true } resource "google_compute_instance" "tf_instance_2" { name = "tf-instance-2" machine_type = "e2-medium" # Update with the actual machine type from GCP console zone = var.zone boot_disk { initialize_params { image = "debian-cloud/debian-9" # Update with the actual boot disk image from GCP console } } network_interface { subnetwork = "projects/your-gcp-project-id/regions/us-west1/subnetworks/default" # Update with actual subnetwork from GCP console } metadata_startup_script = <<-EOT #!/bin/bash EOT allow_stopping_for_update = true } This is the error I received: Error: Unsupported argument │ │ on main.tf line 41, in module "vpc_network": │ 41: subnets = [ │ │ An argument named "subnets" is not expected here. I am unsure how to proceed with this statement, as it seems clear in the documentation that this is what is required.
Michael B. · Reviewed حوالي 7 ساعات ago
Mehboob w. · Reviewed حوالي 7 ساعات ago
Ramona I. · Reviewed حوالي 8 ساعات ago
Michael G. · Reviewed حوالي 8 ساعات ago
Nikolas L. · Reviewed حوالي 8 ساعات ago
M X. · Reviewed حوالي 8 ساعات ago
Radu C. · Reviewed حوالي 8 ساعات ago
Radu C. · Reviewed حوالي 9 ساعات ago
Abdelrahman M. · Reviewed حوالي 9 ساعات ago
21BIT041 K. · Reviewed حوالي 10 ساعات ago
Vipul S. · Reviewed حوالي 10 ساعات ago
Karthikeyan B. · Reviewed حوالي 10 ساعات ago
Hari M. · Reviewed حوالي 10 ساعات ago
Arunprasath R. · Reviewed حوالي 10 ساعات ago
majd z. · Reviewed حوالي 10 ساعات ago
Adoracion H. · Reviewed حوالي 10 ساعات ago
Andrea Xiao Xuan A. · Reviewed حوالي 11 ساعة ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.