Skip to content

Commit

Permalink
provider/aws: Remove delete retention on CloudFront tests
Browse files Browse the repository at this point in the history
To play better with Travis and not bloat the test account with disabled
distributions. Anyone working on testing the resource can manually
re-enable this setting to ensure tests finish in a timely manner.
  • Loading branch information
Chris Marchesi committed Apr 15, 2016
1 parent c5767f8 commit 2739580
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ resource "aws_cloudfront_distribution" "s3_distribution" {
viewer_certificate {
cloudfront_default_certificate = true
}
retain_on_delete = true
}
`, rand.New(rand.NewSource(time.Now().UnixNano())).Int())

Expand Down Expand Up @@ -234,7 +233,6 @@ resource "aws_cloudfront_distribution" "custom_distribution" {
viewer_certificate {
cloudfront_default_certificate = true
}
retain_on_delete = true
}
`, rand.New(rand.NewSource(time.Now().UnixNano())).Int())

Expand Down Expand Up @@ -336,7 +334,6 @@ resource "aws_cloudfront_distribution" "multi_origin_distribution" {
viewer_certificate {
cloudfront_default_certificate = true
}
retain_on_delete = true
}
`, rand.New(rand.NewSource(time.Now().UnixNano())).Int())

Expand Down Expand Up @@ -383,6 +380,5 @@ resource "aws_cloudfront_distribution" "no_optional_items" {
viewer_certificate {
cloudfront_default_certificate = true
}
retain_on_delete = true
}
`, rand.New(rand.NewSource(time.Now().UnixNano())).Int())

0 comments on commit 2739580

Please sign in to comment.