Skip to content

Commit 2b10416

Browse files
aknyshclaude
andcommitted
Fix AWS Provider v5+ compatibility for EIP resource
Update deprecated `vpc = true` to `domain = "vpc"` in aws_eip resource. The `vpc` argument was deprecated in AWS Provider v5.0 and removed completely. The new syntax uses `domain = "vpc"` instead. This fixes test failures where Terraform validation fails with: "Error: Unsupported argument - An argument named 'vpc' is not expected here" Fixes the same issue that caused PR #225 tests to fail. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 45bc6f1 commit 2b10416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/existing-ips/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module "vpc" {
1515
resource "aws_eip" "nat_ips" {
1616
count = length(var.availability_zones)
1717

18-
vpc = true
18+
domain = "vpc"
1919

2020
depends_on = [
2121
module.vpc

0 commit comments

Comments
 (0)