diff --git a/.woodpecker/deplyoment.yaml b/.woodpecker/deplyoment.yaml index ee4dc3d..5d7d306 100644 --- a/.woodpecker/deplyoment.yaml +++ b/.woodpecker/deplyoment.yaml @@ -9,13 +9,13 @@ depends_on: steps: - name: terraform image: hashicorp/terraform:latest - commands: - - mkdir -p ~/.aws/ - - echo $${AWS_CONFIG} > ~/.aws/credentials - - cat ~/.aws/credentials - - cd resources/infra - - terraform init - - terraform plan environment: 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