chore: aws config in terraform
This commit is contained in:
parent
18264b07a3
commit
6465553c73
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ steps:
|
||||||
- name: terraform
|
- name: terraform
|
||||||
image: hashicorp/terraform:latest
|
image: hashicorp/terraform:latest
|
||||||
commands:
|
commands:
|
||||||
|
- echo $AWS_CONFIG > ~/.aws/credentials
|
||||||
- cd resources/infra
|
- cd resources/infra
|
||||||
- terraform init
|
- terraform init
|
||||||
- terraform plan
|
- terraform plan
|
||||||
|
environment:
|
||||||
|
AWS_CONFIG:
|
||||||
|
from_secret: aws_config
|
||||||
|
|
|
||||||
Reference in a new issue