Skip to content

Commit 5dd574d

Browse files
mariot8joe-nilandhans-d
authored
Remove optional domain attribute from aws_eip resource (#173)
Co-authored-by: Joe Niland <[email protected]> Co-authored-by: Hans Donner <[email protected]>
1 parent 12a2d7d commit 5dd574d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

eni.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ resource "aws_network_interface_attachment" "additional" {
2626
resource "aws_eip" "additional" {
2727
#bridgecrew:skip=BC_AWS_NETWORKING_48: Skiping `Ensure all EIP addresses allocated to a VPC are attached to EC2 instances` because it is incorrectly flagging that this instance does not belong to a VPC even though subnet_id is configured.
2828
count = local.additional_ips_count
29-
domain = "vpc"
3029
network_interface = aws_network_interface.additional[count.index].id
3130
}

main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ resource "aws_eip" "default" {
178178
#bridgecrew:skip=BC_AWS_NETWORKING_48: Skiping `Ensure all EIP addresses allocated to a VPC are attached to EC2 instances` because it is incorrectly flagging that this instance does not belong to a VPC even though subnet_id is configured.
179179
count = var.associate_public_ip_address && var.assign_eip_address && module.this.enabled ? 1 : 0
180180
instance = one(aws_instance.default[*].id)
181-
domain = "vpc"
182181
tags = module.this.tags
183182
}
184183

0 commit comments

Comments
 (0)