Automating the Deployment of Networks with Terraform Reviews

Automating the Deployment of Networks with Terraform Reviews

4408 reviews

Oswaldo S. · Reviewed يومان ago

Oswaldo S. · Reviewed يومان ago

Looks smooth if we install the specified version Given below is error if we use the latest terraform version. Liked the way of representation but there is a little problem with Task1 . 1) When install the mentioned version it errored. So installed the latest version of terraform in 1.4.2 2) created the required files with the mentioned paraments and in the mentioned locations i.e 1) managmentnet.tf 2) main.tf 3)provider.tf But it throws the error. ╷ │ Error: project: required field is not set │ │ with google_compute_network.managementnet, │ on managementnet.tf line 2, in resource "google_compute_network" "managementnet": │ 2: resource "google_compute_network" "managementnet" { │ 3) Tried replacing the finished configurations i.e managementnet.tf but it throws a new error stating "google_compute_network.managementnet.self_link" has a issue. When looked deeper at the finished configuration figured out that the old parameters exist. i.e network = "${google_compute_network.managementnet.self_link}" When i do replace it the error still comes back in. Finally, I might be wrong , would try the same exercise again with the mentioned terraform to see if the error repeats. This is the another snapshot of the applied config Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # google_compute_firewall.managementnet_allow_http_ssh_rdp_icmp will be created + resource "google_compute_firewall" "managementnet_allow_http_ssh_rdp_icmp" { + creation_timestamp = (known after apply) + destination_ranges = (known after apply) + direction = (known after apply) + enable_logging = (known after apply) + id = (known after apply) + name = "managementnet-allow-http-ssh-rdp-icmp" + network = (known after apply) + priority = 1000 + project = (known after apply) + self_link = (known after apply) + source_ranges = [ + "0.0.0.0/0", ] + allow { + ports = [ + "22", + "80", + "3389", ] + protocol = "tcp" } + allow { + ports = [] + protocol = "icmp" } } # google_compute_network.managementnet will be created + resource "google_compute_network" "managementnet" { + auto_create_subnetworks = false + delete_default_routes_on_create = false + gateway_ipv4 = (known after apply) + id = (known after apply) + internal_ipv6_range = (known after apply) + mtu = (known after apply) + name = "managementnet" + project = (known after apply) + routing_mode = (known after apply) + self_link = (known after apply) } # google_compute_subnetwork.managementsubnet-us will be created + resource "google_compute_subnetwork" "managementsubnet-us" { + creation_timestamp = (known after apply) + external_ipv6_prefix = (known after apply) + fingerprint = (known after apply) + gateway_address = (known after apply) + id = (known after apply) + ip_cidr_range = "10.130.0.0/20" + ipv6_cidr_range = (known after apply) + name = "managementsubnet-us" + network = (known after apply) + private_ip_google_access = (known after apply) + private_ipv6_google_access = (known after apply) + project = (known after apply) + purpose = (known after apply) + region = "us-central1" + secondary_ip_range = (known after apply) + self_link = (known after apply) + stack_type = (known after apply) } # module.managementnet-us-vm.google_compute_instance.vm_instance will be created + resource "google_compute_instance" "vm_instance" { + can_ip_forward = false + cpu_platform = (known after apply) + current_status = (known after apply) + deletion_protection = false + guest_accelerator = (known after apply) + id = (known after apply) + instance_id = (known after apply) + label_fingerprint = (known after apply) + machine_type = "n1-standard-1" + metadata_fingerprint = (known after apply) + min_cpu_platform = (known after apply) + name = "managementnet-us-vm" + project = (known after apply) + self_link = (known after apply) + tags_fingerprint = (known after apply) + zone = "us-central1-a" + boot_disk { + auto_delete = true + device_name = (known after apply) + disk_encryption_key_sha256 = (known after apply) + kms_key_self_link = (known after apply) + mode = "READ_WRITE" + source = (known after apply) + initialize_params { + image = "debian-cloud/debian-11" + labels = (known after apply) + size = (known after apply) + type = (known after apply) } } + network_interface { + ipv6_access_type = (known after apply) + name = (known after apply) + network = (known after apply) + network_ip = (known after apply) + stack_type = (known after apply) + subnetwork = (known after apply) + subnetwork_project = (known after apply) + access_config { + nat_ip = (known after apply) + network_tier = (known after apply) } } } Plan: 4 to add, 0 to change, 0 to destroy.

Kiran P. · Reviewed يومان ago

Mas-Ud A. · Reviewed يومان ago

NUR DINI MARSYA A. · Reviewed يومان ago

Dimple T. · Reviewed يومان ago

Khalisasuhaina B. · Reviewed يومان ago

tfnet cannot run. did the same steps as other participants but cannot get thru

Nur Alia J. · Reviewed يومان ago

I will try again

Nur Aqilah Hannan A. · Reviewed يومان ago

Intan F. · Reviewed يومان ago

Rated 1 to get attention. Liked the way of representation but there is a little problem with Task1 . 1) When install the mentioned version it errored. So installed the latest version of terraform in 1.4.2 2) created the required files with the mentioned paraments and in the mentioned locations i.e 1) managmentnet.tf 2) main.tf 3)provider.tf But it throws the error. ╷ │ Error: project: required field is not set │ │ with google_compute_network.managementnet, │ on managementnet.tf line 2, in resource "google_compute_network" "managementnet": │ 2: resource "google_compute_network" "managementnet" { │ 3) Tried replacing the finished configurations i.e managementnet.tf but it throws a new error stating "google_compute_network.managementnet.self_link" has a issue. When looked deeper at the finished configuration figured out that the old parameters exist. i.e network = "${google_compute_network.managementnet.self_link}" When i do replace it the error still comes back in. Finally, I might be wrong , would try the same exercise again with the mentioned terraform to see if the error repeats. This is the another snapshot of the applied config Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # google_compute_firewall.managementnet_allow_http_ssh_rdp_icmp will be created + resource "google_compute_firewall" "managementnet_allow_http_ssh_rdp_icmp" { + creation_timestamp = (known after apply) + destination_ranges = (known after apply) + direction = (known after apply) + enable_logging = (known after apply) + id = (known after apply) + name = "managementnet-allow-http-ssh-rdp-icmp" + network = (known after apply) + priority = 1000 + project = (known after apply) + self_link = (known after apply) + source_ranges = [ + "0.0.0.0/0", ] + allow { + ports = [ + "22", + "80", + "3389", ] + protocol = "tcp" } + allow { + ports = [] + protocol = "icmp" } } # google_compute_network.managementnet will be created + resource "google_compute_network" "managementnet" { + auto_create_subnetworks = false + delete_default_routes_on_create = false + gateway_ipv4 = (known after apply) + id = (known after apply) + internal_ipv6_range = (known after apply) + mtu = (known after apply) + name = "managementnet" + project = (known after apply) + routing_mode = (known after apply) + self_link = (known after apply) } # google_compute_subnetwork.managementsubnet-us will be created + resource "google_compute_subnetwork" "managementsubnet-us" { + creation_timestamp = (known after apply) + external_ipv6_prefix = (known after apply) + fingerprint = (known after apply) + gateway_address = (known after apply) + id = (known after apply) + ip_cidr_range = "10.130.0.0/20" + ipv6_cidr_range = (known after apply) + name = "managementsubnet-us" + network = (known after apply) + private_ip_google_access = (known after apply) + private_ipv6_google_access = (known after apply) + project = (known after apply) + purpose = (known after apply) + region = "us-central1" + secondary_ip_range = (known after apply) + self_link = (known after apply) + stack_type = (known after apply) } # module.managementnet-us-vm.google_compute_instance.vm_instance will be created + resource "google_compute_instance" "vm_instance" { + can_ip_forward = false + cpu_platform = (known after apply) + current_status = (known after apply) + deletion_protection = false + guest_accelerator = (known after apply) + id = (known after apply) + instance_id = (known after apply) + label_fingerprint = (known after apply) + machine_type = "n1-standard-1" + metadata_fingerprint = (known after apply) + min_cpu_platform = (known after apply) + name = "managementnet-us-vm" + project = (known after apply) + self_link = (known after apply) + tags_fingerprint = (known after apply) + zone = "us-central1-a" + boot_disk { + auto_delete = true + device_name = (known after apply) + disk_encryption_key_sha256 = (known after apply) + kms_key_self_link = (known after apply) + mode = "READ_WRITE" + source = (known after apply) + initialize_params { + image = "debian-cloud/debian-11" + labels = (known after apply) + size = (known after apply) + type = (known after apply) } } + network_interface { + ipv6_access_type = (known after apply) + name = (known after apply) + network = (known after apply) + network_ip = (known after apply) + stack_type = (known after apply) + subnetwork = (known after apply) + subnetwork_project = (known after apply) + access_config { + nat_ip = (known after apply) + network_tier = (known after apply) } } } Plan: 4 to add, 0 to change, 0 to destroy.

Kiran P. · Reviewed يومان ago

Muhamad I. · Reviewed يومان ago

Anggun T. · Reviewed يومان ago

Davide R. · Reviewed يومان ago

Rizki muhamad A. · Reviewed يومان ago

Andrey Z. · Reviewed يومان ago

Samrit S. · Reviewed يومان ago

Norihiro S. · Reviewed يومان ago

Samrit S. · Reviewed يومان ago

Asif P. · Reviewed 3 أيام ago

Akshay N. · Reviewed 3 أيام ago

Rani R. · Reviewed 3 أيام ago

Virendra K. · Reviewed 3 أيام ago

Abdul Jalil M. · Reviewed 3 أيام ago

Muhammad N. · Reviewed 3 أيام ago

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