diff --git a/.woodpecker/deplyoment.yaml b/.woodpecker/deplyoment.yaml index 8c6ad1d..bf26eef 100644 --- a/.woodpecker/deplyoment.yaml +++ b/.woodpecker/deplyoment.yaml @@ -10,6 +10,10 @@ steps: - name: terraform image: hashicorp/terraform:latest commands: + - echo $AWS_CONFIG > ~/.aws/credentials - cd resources/infra - terraform init - terraform plan + environment: + AWS_CONFIG: + from_secret: aws_config