mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/aws: Add an explicit depends on for the internet gateway, should help this test pass
This commit is contained in:
parent
cd2a0b476b
commit
d587b68863
@ -844,6 +844,8 @@ func testAccAWSRedshiftClusterConfig_notPubliclyAccessible(rInt int) string {
|
||||
cluster_subnet_group_name = "${aws_redshift_subnet_group.foo.name}"
|
||||
publicly_accessible = false
|
||||
skip_final_snapshot = true
|
||||
|
||||
depends_on = ["aws_internet_gateway.foo"]
|
||||
}`, rInt, rInt)
|
||||
}
|
||||
|
||||
@ -902,6 +904,8 @@ func testAccAWSRedshiftClusterConfig_updatePubliclyAccessible(rInt int) string {
|
||||
cluster_subnet_group_name = "${aws_redshift_subnet_group.foo.name}"
|
||||
publicly_accessible = true
|
||||
skip_final_snapshot = true
|
||||
|
||||
depends_on = ["aws_internet_gateway.foo"]
|
||||
}`, rInt, rInt)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user