Created
June 14, 2022 11:21
-
-
Save oriordanniall/311cec7f28a869fc6da080f102534c86 to your computer and use it in GitHub Desktop.
run tf commands on drone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: remove-from-state-uat | |
image: hashicorp/terraform:0.15.3 | |
commands: | |
- cd terraform | |
- rm -rf .terraform | |
- terraform init -backend-config=<YOUR_CONFIG_FILE> | |
- terraform state rm '' | |
- terraform show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment