Light, fluffy, and always free - The AWS Local Emulator alternative
fix(compat): read VPC ID from OpenTofu state (#3831)
Niels Kootstrab782530cd26d
diff --git a/compatibility-tests/compat-opentofu/test/opentofu.bats b/compatibility-tests/compat-opentofu/test/opentofu.batsindex 1d31e2090d..292fe4c1f8 100644--- a/compatibility-tests/compat-opentofu/test/opentofu.bats+++ b/compatibility-tests/compat-opentofu/test/opentofu.bats@@ -342,9 +342,7 @@ sha256_composite_by_sizes() {}@test "OpenTofu: VPC enableDnsSupport persisted as false" {- VPC_ID=$(aws_cmd ec2 describe-vpcs \- --filters "Name=tag:Name,Values=floci-compat-vpc" \- --query 'Vpcs[0].VpcId' --output text)+ VPC_ID=$(tofu output -raw vpc_id)run aws_cmd ec2 describe-vpc-attribute \--vpc-id "$VPC_ID" --attribute enableDnsSupportassert_success@@ -352,9 +350,7 @@ sha256_composite_by_sizes() {}@test "OpenTofu: VPC enableDnsHostnames persisted as false" {- VPC_ID=$(aws_cmd ec2 describe-vpcs \- --filters "Name=tag:Name,Values=floci-compat-vpc" \- --query 'Vpcs[0].VpcId' --output text)+ VPC_ID=$(tofu output -raw vpc_id)run aws_cmd ec2 describe-vpc-attribute \--vpc-id "$VPC_ID" --attribute enableDnsHostnamesassert_success