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:
clint shryock 2017-04-05 14:33:33 -05:00
parent 95c58269b9
commit 053dd92937
2 changed files with 2 additions and 0 deletions

View File

@ -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 + `

View File

@ -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)
}