chore: terraform
This commit is contained in:
parent
e0708f1c5e
commit
75ebca0113
1 changed files with 7 additions and 7 deletions
|
|
@ -9,13 +9,13 @@ depends_on:
|
||||||
steps:
|
steps:
|
||||||
- name: terraform
|
- name: terraform
|
||||||
image: hashicorp/terraform:latest
|
image: hashicorp/terraform:latest
|
||||||
commands:
|
|
||||||
- mkdir -p ~/.aws/
|
|
||||||
- echo $${AWS_CONFIG} > ~/.aws/credentials
|
|
||||||
- cat ~/.aws/credentials
|
|
||||||
- cd resources/infra
|
|
||||||
- terraform init
|
|
||||||
- terraform plan
|
|
||||||
environment:
|
environment:
|
||||||
AWS_CONFIG:
|
AWS_CONFIG:
|
||||||
from_secret: aws_config
|
from_secret: aws_config
|
||||||
|
commands:
|
||||||
|
- mkdir -p ~/.aws/
|
||||||
|
- echo $${AWS_CONFIG} > ~/.aws/credentials
|
||||||
|
- cat ~/.aws/credentials
|
||||||
|
- cd resources/infra
|
||||||
|
- terraform init
|
||||||
|
- terraform plan
|
||||||
|
|
|
||||||
Reference in a new issue