Open tacumai opened 3 years ago
Hi ✋ Hire is Cloud Nat Module's property I'm mentioning
tcp_established_idle_timeout_sec
icmp_idle_timeout_sec
min_ports_per_vm
tcp_transitory_idle_timeout_sec
udp_idle_timeout_sec
these properties has string type but value is number . It confused me. And we can run plan and apply if the properties were set as number like
string
number
plan
apply
variable "nat" { name = string nat_ip_allocate_option = string source_subnetwork_ip_ranges_to_nat = string - icmp_idle_timeout_sec = number - min_ports_per_vm = number tcp_established_idle_timeout_sec = string - tcp_transitory_idle_timeout_sec = number - udp_idle_timeout_sec = number
especially, tcp_established_idle_timeout_sec is back to default value 1200 when I set any timeout count like 60 as number.
1200
60
I suggest that the properties can be also set as number or when users set as number and run terraform plan , generate an error.
terraform plan
Thanks for reading.
Feel free to open a PR for changing this.
Hi ✋ Hire is Cloud Nat Module's property I'm mentioning
tcp_established_idle_timeout_sec
icmp_idle_timeout_sec
min_ports_per_vm
tcp_transitory_idle_timeout_sec
udp_idle_timeout_sec
these properties has
string
type but value isnumber
. It confused me. And we can runplan
andapply
if the properties were set asnumber
likeespecially,
tcp_established_idle_timeout_sec
is back to default value1200
when I set any timeout count like60
as number.Requests
I suggest that the properties can be also set as
number
or when users set asnumber
and runterraform plan
, generate an error.Thanks for reading.