Closed vincentaubert closed 2 years ago
since version 4.27 of google provider, my values in entry max_ports_per_vm are alawys set to null
I tried without any value, with values 65536 and 512 and I always get a null during my terraform plan.
max_ports_per_vm shoud take into account values
max_ports_per_vm value is always null
module "cloud_router" { source = "terraform-google-modules/cloud-router/google" version = "2.0.0" name = "${var.region-eu-west1}-cloud-nat" project = var.project_id region = var.region-eu-west1 network = google_compute_network.vpc_mdm_network.name nats = [{ name : "test" source_subnetwork_ip_ranges_to_nat : "LIST_OF_SUBNETWORKS" min_ports_per_vm : 32 max_ports_per_vm : 65536 enable_dynamic_port_allocation : true enable_endpoint_independent_mapping : false nat_ip_allocate_option = "MANUAL_ONLY" log_config = { filter : "ERRORS_ONLY" } subnetworks = [ { name : google_compute_subnetwork.mysubnetwork.name source_ip_ranges_to_nat : [ "PRIMARY_IP_RANGE" ] } ] nat_ips = [ google_compute_address.my_gateway.self_link, ] } ] }
1.2.3
No response
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
TL;DR
since version 4.27 of google provider, my values in entry max_ports_per_vm are alawys set to null
I tried without any value, with values 65536 and 512 and I always get a null during my terraform plan.
Expected behavior
max_ports_per_vm shoud take into account values
Observed behavior
max_ports_per_vm value is always null
Terraform Configuration
Terraform Version
Additional information
No response