Build Infrastructure with Terraform on Google Cloud: Challenge Lab Reviews

Build Infrastructure with Terraform on Google Cloud: Challenge Lab Reviews

70306 reviews

John B. · Reviewed 23 دقيقة ago

Saurabh M. · Reviewed حوالي ساعة واحدة ago

parag s. · Reviewed حوالي ساعتان ago

Srajan S. · Reviewed حوالي ساعتان ago

Sravani P. · Reviewed حوالي ساعتان ago

Octavio C. · Reviewed حوالي ساعتان ago

Bernardo Uziel F. · Reviewed حوالي ساعتان ago

Mayuri T. · Reviewed حوالي ساعتان ago

Shrikrishna P. · Reviewed حوالي 3 ساعات ago

Shivani V. · Reviewed حوالي 4 ساعات ago

Roman S. · Reviewed حوالي 4 ساعات 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 حوالي 4 ساعات ago

Michel C. · Reviewed حوالي 4 ساعات ago

Niroshan R. · Reviewed حوالي 4 ساعات ago

Haritha V. · Reviewed حوالي 5 ساعات ago

Ming Han L. · Reviewed حوالي 5 ساعات ago

Subin J. · Reviewed حوالي 5 ساعات ago

Pang L. · Reviewed حوالي 5 ساعات ago

Ousama I. · Reviewed حوالي 5 ساعات ago

Michał D. · Reviewed حوالي 5 ساعات ago

faced provider mismatch issue between google's latest provider and the one that network module uses. i had to recreate everything with the provider version which the network module is compatible to.

Sooraj n. · Reviewed حوالي 5 ساعات ago

Ousama I. · Reviewed حوالي 6 ساعات ago

Supriya Y. · Reviewed حوالي 6 ساعات ago

Lalit K. · Reviewed حوالي 6 ساعات ago

Marcus B. · Reviewed حوالي 7 ساعات ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.