I got the following error when I tried to create a VPC without a NAT GW.
$ terragrunt plan
Error: Invalid index
on main.tf line 72, in resource "flexibleengine_nat_snat_rule_v2" "snat":
72: nat_gateway_id = flexibleengine_nat_gateway_v2.nat_gateway[0].id
|----------------
| flexibleengine_nat_gateway_v2.nat_gateway is empty tuple
The given key does not identify an element in this collection value.
ERRO[0002] Hit multiple errors:
Hit multiple errors:
exit status 1
Hello,
I got the following error when I tried to create a VPC without a NAT GW.
I try to create the VPC like the following:
I dont need any gateway because I will have only one VM in this VPC, with its own EIP.
I guess the error is linked to the SNAT rules block
but as I don't need NAT GW, this block should not be evaluated.
Pierre