Skip to content

Commit 8b5eb5e

Browse files
committed
Add retry in terraform options
1 parent c9477d4 commit 8b5eb5e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

smoke_tests/ecs_fargate/all-ecs-inputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
################################################################################
99

1010
resource "aws_efs_file_system" "fs" {
11-
creation_token = "${var.test_prefix}-efs-file-system"
11+
creation_token = "${var.test_prefix}-efs-file-system"
1212
performance_mode = "generalPurpose"
1313
tags = {
1414
Name = "MyEFSFileSystem"

tests/main_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ func (s *ECSFargateSuite) SetupSuite() {
4848
"dd_site": "datadoghq.com",
4949
"test_prefix": testPrefix,
5050
},
51-
NoColor: true,
51+
NoColor: true,
52+
MaxRetries: 5,
53+
TimeBetweenRetries: 5 * time.Second,
5254
}
5355

5456
// Run terraform init and apply

0 commit comments

Comments
 (0)