This article was exactly what I had been looking for for some time now. I've tried to re-create this but I've run into an issue. The following causes an error when applying:
│ Error: Error associating EIP: InvalidAllocationID.NotFound: The allocation ID '1.2.3.4' does not exist
│ status code: 400, request id: 99c84351-a519-4d81-8dc3-7fb10ed51e17
│
│ with module.mvrv3_vpn.aws_eip_association.nat_gw,
│ on ../../../../modules/networking/dev_nat_setup/main.tf line 231, in resource "aws_eip_association" "nat_gw":
│ 231: resource "aws_eip_association" "nat_gw" {
Looking at the Terrafrom Documentation, I see that under allocation_id they don't use an IP:
This article was exactly what I had been looking for for some time now. I've tried to re-create this but I've run into an issue. The following causes an error when applying:
The error I get is:
Looking at the Terrafrom Documentation, I see that under
allocation_id
they don't use an IP:1.2.3.4
just a random example IP you use in the code, or can it actually be used?Would really appreciate the help! This article itself was already a revelation!