chore: terraform
This commit is contained in:
parent
3d0eca75d9
commit
8551aa1333
2 changed files with 4 additions and 7 deletions
|
@ -10,11 +10,10 @@ steps:
|
||||||
- name: terraform
|
- name: terraform
|
||||||
image: hashicorp/terraform:latest
|
image: hashicorp/terraform:latest
|
||||||
environment:
|
environment:
|
||||||
AWS_CONFIG:
|
AWS_ACCESS_KEY_ID:
|
||||||
from_secret: aws_config
|
from_secret: aws_access_key_id
|
||||||
|
AWS_SECRET_ACCESS_KEY
|
||||||
|
from_secret: aws_secret_access_key
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.aws/
|
|
||||||
- echo $${AWS_CONFIG} | base64 -d > ~/.aws/credentials
|
|
||||||
- cd resources/infra
|
|
||||||
- terraform init
|
- terraform init
|
||||||
- terraform plan
|
- terraform plan
|
||||||
|
|
|
@ -4,8 +4,6 @@ terraform {
|
||||||
key = "terraform.tfstate"
|
key = "terraform.tfstate"
|
||||||
region = "fr-par"
|
region = "fr-par"
|
||||||
endpoints = { s3 = "https://s3.fr-par.scw.cloud" }
|
endpoints = { s3 = "https://s3.fr-par.scw.cloud" }
|
||||||
profile = "miniauth"
|
|
||||||
shared_credentials_files = ["~/.aws/credentials"]
|
|
||||||
skip_credentials_validation = true
|
skip_credentials_validation = true
|
||||||
skip_region_validation = true
|
skip_region_validation = true
|
||||||
skip_requesting_account_id = true
|
skip_requesting_account_id = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue