Skip to content

Commit

Permalink
feat(Archive): add Archive support
Browse files Browse the repository at this point in the history
  • Loading branch information
rixrix committed Dec 9, 2016
1 parent fada9fb commit 868e544
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.9.0

* Add support for `Archive`

# 0.8.0

* Add support for `BitBucket`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This extension for Visual Studio Code adds snippets for Terraform.
* DigitalOcean
* Bitbucket
* GitHub
* Archive
* AWS
* Resources w/ examples
* All [Data Sources](https://www.terraform.io/docs/providers/aws/d/acm_certificate.html),
Expand Down Expand Up @@ -83,7 +84,6 @@ A massive list of things to add
### Providers
* Archive
* Atlas
* Chef
* CenturyLinkCloud
Expand Down
21 changes: 20 additions & 1 deletion snippets/terraform.json
Original file line number Diff line number Diff line change
Expand Up @@ -2506,5 +2506,24 @@
"resource \"github_issue_label\" \"${MyResource}\" {",
"}"
]
}
},
"archive": {
"prefix":"tf-archive",
"description": "Defines archive",
"body": [
"provider \"archive\" {",
"}"
]
},
"archive_file": {
"prefix":"tf-archive_file",
"description": "Defines archive_file",
"body": [
"data \"archive_file\" \"${init}\" {",
" type = \"zip\"",
" source_file = \"\\${path.module}/init.tpl\"",
" output_path = \"\\${path.module}/files/init.zip\"",
"}"
]
},
}

0 comments on commit 868e544

Please sign in to comment.