provider/aws: Fix some Acc tests by skipping final snaphot in Redshift
Redshift was changed to not skip snapshots by default, so our configs were out of date and causing errors in destroy (thus leaking redshifts) This changes the configs to skip snapshots, which should at least fix: - TestAccAWSKinesisFirehoseDeliveryStream_RedshiftConfigUpdates - TestAccAWSRedshiftCluster_loggingEnabled
This commit is contained in:
parent
95c58269b9
commit
053dd92937
|
@ -487,6 +487,7 @@ resource "aws_redshift_cluster" "test_cluster" {
|
|||
master_password = "T3stPass"
|
||||
node_type = "dc1.large"
|
||||
cluster_type = "single-node"
|
||||
skip_final_snapshot = true
|
||||
}`
|
||||
|
||||
var testAccKinesisFirehoseDeliveryStreamConfig_RedshiftBasic = testAccKinesisFirehoseDeliveryStreamBaseRedshiftConfig + `
|
||||
|
|
|
@ -703,6 +703,7 @@ func testAccAWSRedshiftClusterConfig_loggingDisabled(rInt int) string {
|
|||
automated_snapshot_retention_period = 0
|
||||
allow_version_upgrade = false
|
||||
enable_logging = false
|
||||
skip_final_snapshot = true
|
||||
}`, rInt)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue