Skip to content

Commit

Permalink
deleting terraform login
Browse files Browse the repository at this point in the history
  • Loading branch information
UsernameAlvarez committed Aug 19, 2020
1 parent b8d0a46 commit d5569a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ deploy:
stage: deploy
script:
- gcloud auth configure-docker
- terraform --version
- echo $token | terraform login
- sed -i "s/TOKEN_TO_BE_REPLACED/${token}/g" .terraform.d/credentials.tfrc.json
- terraform init
- terraform apply -auto-approve -var image_id=$image -var project=$project || echo "failure"
tags:
Expand Down

0 comments on commit d5569a3

Please sign in to comment.