#Error Description
When executing Terraform code including the vpc module, the following error messages appears.
╷
│ Error: Invalid index
│
│ on .terraform/modules/vpc/modules/vpc/outputs.tf line 123, in output "egress_only_internet_gateway_id":
│ 123: value = one(aws_egress_only_internet_gateway.this[0].id)
│ ├────────────────
│ │ aws_egress_only_internet_gateway.this is empty tuple
│
│ The given key does not identify an element in this collection value: the collection has no elements.
╵
Is there an existing issue for this?
Description of the bug
#Error Description When executing Terraform code including the vpc module, the following error messages appears.
Steps To Reproduce
#Version Info
#Used Module info
FYI, please refer to the code used run terraform apply as below.
Is there any specific information or settings that need to be provided? Thanks
Which version of the app are you using?
1.2.0