This repository was archived by the owner on Jan 25, 2023. It is now read-only.
File tree 11 files changed +119
-45
lines changed
example-with-custom-asg-role
consul-client-security-group-rules
consul-security-group-rules
11 files changed +119
-45
lines changed Original file line number Diff line number Diff line change 1
- ---
2
1
defaults : &defaults
3
2
docker :
4
- - image : 087285199408.dkr.ecr.us-east-1.amazonaws.com/circle-ci-test-image-base:tf13
5
-
3
+ - image : 087285199408.dkr.ecr.us-east-1.amazonaws.com/circle-ci-test-image-base:go1.16-go111module
6
4
version : 2
7
5
jobs :
8
6
test :
29
27
path : /tmp/logs
30
28
- store_test_results :
31
29
path : /tmp/logs
32
-
33
30
deploy :
34
31
<< : *defaults
35
32
steps :
@@ -38,14 +35,12 @@ jobs:
38
35
- run : sudo -E gruntwork-install --module-name "aws-helpers" --repo "https://github.com/gruntwork-io/module-ci" --tag "v0.12.2"
39
36
- run : sudo -E gruntwork-install --module-name "git-helpers" --repo "https://github.com/gruntwork-io/module-ci" --tag "v0.12.2"
40
37
- run : sudo -E gruntwork-install --module-name "build-helpers" --repo "https://github.com/gruntwork-io/module-ci" --tag "v0.12.2"
41
-
42
38
# We generally only want to build AMIs on new releases, but when we are setting up AMIs in a new account for the
43
39
# first time, we want to build the AMIs but NOT run automated tests, since those tests will fail without an existing
44
40
# AMI already in the AWS Account.
45
41
- run : _ci/publish-amis.sh "ubuntu16-ami"
46
42
- run : _ci/publish-amis.sh "ubuntu18-ami"
47
43
- run : _ci/publish-amis.sh "amazon-linux-2-ami"
48
-
49
44
workflows :
50
45
version : 2
51
46
build-and-test :
Original file line number Diff line number Diff line change 24
24
vendor
25
25
26
26
# Folder used to store temporary test data by Terratest
27
- .test-data
27
+ .test-data
28
+ # Ignore Terraform lock files, as we want to test the Terraform code in these repos with the latest provider
29
+ # versions.
30
+ .terraform.lock.hcl
Original file line number Diff line number Diff line change 10
10
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
11
11
# ----------------------------------------------------------------------------------------------------------------------
12
12
terraform {
13
- # This module is now only being tested with Terraform 0.13 .x. However, to make upgrading easier, we are setting
13
+ # This module is now only being tested with Terraform 0.14 .x. However, to make upgrading easier, we are setting
14
14
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
15
- # forwards compatible with 0.13 .x code.
15
+ # forwards compatible with 0.14 .x code.
16
16
required_version = " >= 0.12.26"
17
17
}
18
18
Original file line number Diff line number Diff line change 10
10
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
11
11
# ----------------------------------------------------------------------------------------------------------------------
12
12
terraform {
13
- # This module is now only being tested with Terraform 0.13 .x. However, to make upgrading easier, we are setting
13
+ # This module is now only being tested with Terraform 0.14 .x. However, to make upgrading easier, we are setting
14
14
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
15
- # forwards compatible with 0.13 .x code.
15
+ # forwards compatible with 0.14 .x code.
16
16
required_version = " >= 0.12.26"
17
17
}
18
18
Original file line number Diff line number Diff line change 10
10
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
11
11
# ----------------------------------------------------------------------------------------------------------------------
12
12
terraform {
13
- # This module is now only being tested with Terraform 0.13 .x. However, to make upgrading easier, we are setting
13
+ # This module is now only being tested with Terraform 0.14 .x. However, to make upgrading easier, we are setting
14
14
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
15
- # forwards compatible with 0.13 .x code.
15
+ # forwards compatible with 0.14 .x code.
16
16
required_version = " >= 0.12.26"
17
17
}
18
18
Original file line number Diff line number Diff line change 3
3
# ---------------------------------------------------------------------------------------------------------------------
4
4
5
5
terraform {
6
- # This module is now only being tested with Terraform 0.13 .x. However, to make upgrading easier, we are setting
6
+ # This module is now only being tested with Terraform 0.14 .x. However, to make upgrading easier, we are setting
7
7
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
8
- # forwards compatible with 0.13 .x code.
8
+ # forwards compatible with 0.14 .x code.
9
9
required_version = " >= 0.12.26"
10
10
}
11
11
Original file line number Diff line number Diff line change 3
3
# ----------------------------------------------------------------------------------------------------------------------
4
4
5
5
terraform {
6
- # This module is now only being tested with Terraform 0.13 .x. However, to make upgrading easier, we are setting
6
+ # This module is now only being tested with Terraform 0.14 .x. However, to make upgrading easier, we are setting
7
7
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
8
- # forwards compatible with 0.13 .x code.
8
+ # forwards compatible with 0.14 .x code.
9
9
required_version = " >= 0.12.26"
10
10
}
11
11
Original file line number Diff line number Diff line change 3
3
# ---------------------------------------------------------------------------------------------------------------------
4
4
5
5
terraform {
6
- # This module is now only being tested with Terraform 0.13 .x. However, to make upgrading easier, we are setting
6
+ # This module is now only being tested with Terraform 0.14 .x. However, to make upgrading easier, we are setting
7
7
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
8
- # forwards compatible with 0.13 .x code.
8
+ # forwards compatible with 0.14 .x code.
9
9
required_version = " >= 0.12.26"
10
10
}
11
11
Original file line number Diff line number Diff line change 2
2
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
3
3
# ----------------------------------------------------------------------------------------------------------------------
4
4
terraform {
5
- # This module is now only being tested with Terraform 0.13 .x. However, to make upgrading easier, we are setting
5
+ # This module is now only being tested with Terraform 0.14 .x. However, to make upgrading easier, we are setting
6
6
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
7
- # forwards compatible with 0.13 .x code.
7
+ # forwards compatible with 0.14 .x code.
8
8
required_version = " >= 0.12.26"
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ module github.com/hashicorp/terraform-aws-consul/test
3
3
go 1.14
4
4
5
5
require (
6
- github.com/gruntwork-io/terratest v0.27.2
6
+ github.com/gruntwork-io/terratest v0.31.3
7
7
github.com/hashicorp/consul/api v1.4.0
8
8
)
You can’t perform that action at this time.
0 commit comments