diff --git a/terraform/modules/networking/main.tf b/terraform/modules/networking/main.tf index 4aae5814..c7005524 100644 --- a/terraform/modules/networking/main.tf +++ b/terraform/modules/networking/main.tf @@ -58,8 +58,8 @@ resource "aws_subnet" "public_subnets" { } moved { - from = aws_subnet.public_subnet - to = aws_subnet.public_subnets + from = aws_subnet.public_subnet[*] + to = aws_subnet.public_subnets[*] } /* Private subnet */ @@ -77,8 +77,8 @@ resource "aws_subnet" "private_subnets" { } moved { - from = aws_subnet.private_subnet - to = aws_subnet.private_subnets + from = aws_subnet.private_subnet[*] + to = aws_subnet.private_subnets[*] } resource "aws_db_subnet_group" "private_subnet_group" {