Skip to content

Commit a711d28

Browse files
committed
AWS provider V4 compatibility
1 parent f7457a5 commit a711d28

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/complete/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 2.0"
7+
version = ">= 2.0, < 5"
88
}
99
null = {
1010
source = "hashicorp/null"

examples/external-eni/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 2.0"
7+
version = ">= 2.0, < 5"
88
}
99
null = {
1010
source = "hashicorp/null"

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ resource "aws_eip" "default" {
172172
#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.
173173
count = var.associate_public_ip_address && var.assign_eip_address && module.this.enabled ? 1 : 0
174174
instance = one(aws_instance.default[*].id)
175-
domain = "vpc"
175+
vpc = true
176176
tags = module.this.tags
177177
}
178178

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 2.0"
7+
version = ">= 2.0, < 5"
88
}
99
null = {
1010
source = "hashicorp/null"

0 commit comments

Comments
 (0)