Skip to content

Commit 38d847d

Browse files
authored
Fix incorrect AWS VPC module version (#626) (#637)
1 parent 72c14e0 commit 38d847d

File tree

9 files changed

+9
-9
lines changed
  • v2/internal/attacktechniques/aws
    • credential-access/ec2-steal-instance-credentials
    • discovery/ec2-enumerate-from-instance
    • execution
    • exfiltration/rds-share-snapshot
    • lateral-movement
      • ec2-send-serial-console-send-ssh-public-key
      • ec2-send-ssh-public-key

9 files changed

+9
-9
lines changed

v2/internal/attacktechniques/aws/credential-access/ec2-steal-instance-credentials/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ data "aws_availability_zones" "available" {
2828

2929
module "vpc" {
3030
source = "terraform-aws-modules/vpc/aws"
31-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
31+
version = "~> 3.0"
3232

3333
name = "${local.resource_prefix}-vpc"
3434
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/discovery/ec2-enumerate-from-instance/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ data "aws_availability_zones" "available" {
2828

2929
module "vpc" {
3030
source = "terraform-aws-modules/vpc/aws"
31-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
31+
version = "~> 3.0"
3232

3333
name = "${local.resource_prefix}-vpc"
3434
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/execution/ec2-launch-unusual-instances/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ data "aws_availability_zones" "available" {
7272

7373
module "vpc" {
7474
source = "terraform-aws-modules/vpc/aws"
75-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
75+
version = "~> 3.0"
7676

7777
name = "${local.resource_prefix}-vpc"
7878
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/execution/ec2-user-data/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ data "aws_availability_zones" "available" {
2828

2929
module "vpc" {
3030
source = "terraform-aws-modules/vpc/aws"
31-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
31+
version = "~> 3.0"
3232

3333
name = "${local.resource_prefix}-vpc"
3434
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/execution/ssm-send-command/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ data "aws_availability_zones" "available" {
3232

3333
module "vpc" {
3434
source = "terraform-aws-modules/vpc/aws"
35-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
35+
version = "~> 3.0"
3636

3737
name = "${local.resource_prefix}-vpc"
3838
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/execution/ssm-start-session/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ data "aws_availability_zones" "available" {
3232

3333
module "vpc" {
3434
source = "terraform-aws-modules/vpc/aws"
35-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
35+
version = "~> 3.0"
3636

3737
name = "${local.resource_prefix}-vpc"
3838
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/exfiltration/rds-share-snapshot/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ data "aws_availability_zones" "available" {
3333

3434
module "vpc" {
3535
source = "terraform-aws-modules/vpc/aws"
36-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
36+
version = "~> 3.0"
3737

3838
name = "${local.resource_prefix}-vpc"
3939
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/lateral-movement/ec2-send-serial-console-send-ssh-public-key/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data "aws_ec2_serial_console_access" "current" {}
3434

3535
module "vpc" {
3636
source = "terraform-aws-modules/vpc/aws"
37-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
37+
version = "~> 3.0"
3838

3939
name = "${local.resource_prefix}-vpc"
4040
cidr = "10.0.0.0/16"

v2/internal/attacktechniques/aws/lateral-movement/ec2-send-ssh-public-key/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ data "aws_availability_zones" "available" {
3232

3333
module "vpc" {
3434
source = "terraform-aws-modules/vpc/aws"
35-
version = ">= 4.54.0, < 5.0.0" # 4.54.0 at least is required for proper AWS SSO support, see #626
35+
version = "~> 3.0"
3636

3737
name = "${local.resource_prefix}-vpc"
3838
cidr = "10.0.0.0/16"

0 commit comments

Comments
 (0)