Skip to content

Commit

Permalink
add vscode tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jjno91 committed Jun 22, 2020
1 parent 8982017 commit 6bca5c1
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"label": "Initialize",
"command": "terraform init test",
"type": "shell",
"problemMatcher": []
},
{
"label": "Validate",
"command": "terraform validate test",
"type": "shell",
"problemMatcher": []
},
{
"label": "Format",
"command": "terraform fmt -recursive",
"type": "shell",
"problemMatcher": []
},
{
"label": "Apply",
"command": "terraform apply -auto-approve test",
"type": "shell",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Apply Idempotency Check",
"command": "terraform plan -detailed-exitcode test",
"type": "shell",
"problemMatcher": []
},
{
"label": "Destroy",
"command": "terraform destroy -auto-approve test",
"type": "shell",
"problemMatcher": []
},
{
"label": "Destroy Idempotency Check",
"command": "terraform plan -detailed-exitcode -destroy test",
"type": "shell"
}
]
}

0 comments on commit 6bca5c1

Please sign in to comment.