File tree 4 files changed +16
-19
lines changed
4 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 4
4
- auth :
5
5
password : $DOCKER_PASSWORD
6
6
username : $DOCKER_USERNAME
7
- image : trussworks/circleci:6986bb9022e5a83599feb66a7128a2d0fa12732a
7
+ image : trussworks/circleci:efb1042e31538677779971798e0912390f699e72
8
8
steps :
9
9
- checkout
10
10
- restore_cache :
11
11
keys :
12
12
- pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }}
13
13
- go-mod-sources-v1-{{ checksum "go.sum" }}
14
14
- run :
15
- command : " temp_role=$(aws sts assume-role \\\n --role-arn arn:aws:iam::313564602749:role/circleci\
16
- \ \\\n --role-session-name circleci)\n export AWS_ACCESS_KEY_ID=$(echo\
17
- \ $temp_role | jq .Credentials.AccessKeyId | xargs)\n export AWS_SECRET_ACCESS_KEY=$(echo\
18
- \ $temp_role | jq .Credentials.SecretAccessKey | xargs)\n export AWS_SESSION_TOKEN=$(echo\
19
- \ $temp_role | jq .Credentials.SessionToken | xargs)\n make test\n "
15
+ command : |
16
+ temp_role=$(aws sts assume-role --role-arn arn:aws:iam::313564602749:role/circleci --role-session-name circleci)
17
+ export AWS_ACCESS_KEY_ID=$(echo $temp_role | jq .Credentials.AccessKeyId | xargs)
18
+ export AWS_SECRET_ACCESS_KEY=$(echo $temp_role | jq .Credentials.SecretAccessKey | xargs)
19
+ export AWS_SESSION_TOKEN=$(echo $temp_role | jq .Credentials.SessionToken | xargs)
20
+ make test
20
21
name : Assume role, run pre-commit and run terratest
21
22
- save_cache :
22
23
key : pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }}
26
27
key : go-mod-sources-v1-{{ checksum "go.sum" }}
27
28
paths :
28
29
- ~/go/pkg/mod
29
- references :
30
- circleci : trussworks/circleci:6986bb9022e5a83599feb66a7128a2d0fa12732a
31
30
version : 2.1
32
31
workflows :
33
32
validate :
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : git://github.com/pre-commit/pre-commit-hooks
3
- rev : v3.2 .0
3
+ rev : v3.4 .0
4
4
hooks :
5
5
- id : check-json
6
6
- id : check-merge-conflict
@@ -12,17 +12,17 @@ repos:
12
12
- id : trailing-whitespace
13
13
14
14
- repo : git://github.com/igorshubovych/markdownlint-cli
15
- rev : v0.23.2
15
+ rev : v0.26.0
16
16
hooks :
17
17
- id : markdownlint
18
18
19
19
- repo : git://github.com/antonbabenko/pre-commit-terraform
20
- rev : v1.31 .0
20
+ rev : v1.45 .0
21
21
hooks :
22
22
- id : terraform_docs
23
23
- id : terraform_fmt
24
24
25
25
- repo : git://github.com/golangci/golangci-lint
26
- rev : v1.30 .0
26
+ rev : v1.33 .0
27
27
hooks :
28
28
- id : golangci-lint
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ Terraform 0.13. Pin module version to ~> 3.0. Submit pull-requests to master bra
15
15
\_
16
16
Terraform 0.12. Pin module version to ~ > 2.0. Submit pull-requests to terraform012 branch.
17
17
18
- Terraform 0.11. Pin module version to ~ > 1.0. Submit pull-requests to terraform011 branch.
19
-
20
18
## Usage
21
19
22
20
``` hcl
@@ -34,14 +32,14 @@ module "acm_cert" {
34
32
35
33
| Name | Version |
36
34
| ------| ---------|
37
- | terraform | ~ > 0.13.0 |
38
- | aws | ~ > 3.0 |
35
+ | terraform | >= 0.13.0 |
36
+ | aws | >= 3.0 |
39
37
40
38
## Providers
41
39
42
40
| Name | Version |
43
41
| ------| ---------|
44
- | aws | ~ > 3.0 |
42
+ | aws | >= 3.0 |
45
43
46
44
## Inputs
47
45
Original file line number Diff line number Diff line change 1
1
terraform {
2
- required_version = " ~> 0.13.0"
2
+ required_version = " >= 0.13.0"
3
3
4
4
required_providers {
5
- aws = " ~> 3.0"
5
+ aws = " >= 3.0"
6
6
}
7
7
}
You can’t perform that action at this time.
0 commit comments