Commit Graph

51 Commits

Author SHA1 Message Date
Megan Marsh fbbda0f9d9
Sensitive locals (#10509)
* Allow locals to be delcared as individual blocks, and give them the Sensitive flag

* add docs for new local block

* linting

* add tests

* modified parsing to use schema, check for dupes properly

* update comment

fix wording a liiitle

* add tests for duplicate variables definition in two different files

* remove unnecessary slice initialisation

* fix crash by returning when decode error is hit

* parseLocalVariables: only treat a local vars if its not nil

also return in case of error
return locals in case of error too

* fix duplicate_locals test for windows

Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-01-26 10:21:44 +01:00
Roman Mingazeev e588029d6a
yandex: some fix (#10522) 2021-01-25 12:26:21 +01:00
Sylvia Moss 7d0578c5b7
add DatasourceOutput type to struct-markdown cmd (#10512) 2021-01-22 17:55:32 +01:00
Sylvia Moss d1ada744e1
Aws Secrets Manager data sources (#10505) 2021-01-22 14:49:45 +01:00
Wilken Rivera 23b50e5a7a Update ansible local links 2021-01-20 16:21:07 -05:00
Sylvia Moss 3c7944624a
(3) Add amazon-ami data source (#10467) 2021-01-20 11:05:03 +01:00
Megan Marsh ab98409069
Merge pull request #10488 from Direnol/yandex/update-dump-method
yandex/update-dump-method
2021-01-19 11:10:33 -08:00
Megan Marsh a4a70e0bb8 Merge branch 'master' into datasource_documentation 2021-01-19 09:38:48 -08:00
Megan Marsh 4cb6e07900
Hcl beta tag (#10493)
* change beta tag

* remove beta tag from hcl2_upgrade comment

* add a partial to describe the legacy json limitations

* exclude legacy category from templates until it is deployed to the website
2021-01-18 15:08:04 +01:00
sylviamoss 95721df95c add amazon-ami output example 2021-01-18 13:53:57 +01:00
Sylvia Moss 78a48ea429
Update website/content/docs/templates/hcl_templates/datasources.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-01-18 13:43:08 +01:00
Megan Marsh 378786dcd6 fix links 2021-01-15 14:25:44 -08:00
Megan Marsh fde3a753c2 re-add datasource example to index that got lost in rebase 2021-01-15 14:23:16 -08:00
sylviamoss f914335621 add data sources docs 2021-01-15 14:18:51 -08:00
Megan Marsh af796f0d38 soften language around legacy for now 2021-01-15 13:50:50 -08:00
Megan Marsh 86f326b391 dont use legacy in sidebar, for now 2021-01-15 13:49:10 -08:00
Wilken Rivera a91a8ec63b Ignore new links from markdown link checker because site isnt live
use relative pathing in links
fix vagrant docs link
2021-01-15 13:42:10 -08:00
Megan Marsh e3b1af4711 change wording to soften 2021-01-15 11:59:36 -08:00
Megan Marsh 927b539ee1 fix redirects according to Moss's suggestion, and fix double-slash docs prepending 2021-01-15 11:59:36 -08:00
Megan Marsh 54a75421ea regenerate 2021-01-15 11:59:36 -08:00
Megan Marsh 1cb9aea752 change markdown references to new pathing 2021-01-15 11:59:36 -08:00
Megan Marsh cca3109755 refactor site to move HCL docs next to JSON docs 2021-01-15 11:59:35 -08:00
Pero P 5a61823082
Fix broken links to all Amazon builders (#10487) 2021-01-15 10:58:59 +01:00
Roman Mingazeev 379a33de42 yandex/update-dump-method 2021-01-15 12:51:54 +03:00
Megan Marsh c64aa83c56
Update website/content/docs/extending/custom-builders.mdx
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-01-14 11:06:32 -08:00
Megan Marsh 2f42d4a7ce
Update website/content/docs/extending/custom-builders.mdx
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-01-14 11:06:24 -08:00
Megan Marsh a34a33296a refresh builder docs 2021-01-13 16:27:14 -08:00
Wilken Rivera 04dbbe2d8e Fix broken links detected by link checker
- Fix broken example links
- Fix broken provisioner links
- Ignore linode.com because of DDOS protection settings
2021-01-06 16:27:12 -05:00
Felix Hillingshaeuser 233c7f0a83
docs: Add default value for cloud_init in builders/proxmox (#10445) 2021-01-06 10:37:23 -05:00
Megan Marsh 4b0de7263e
Merge pull request #10412 from adeniyistephen/hlc-doc
Add hcl Example to openstack
2021-01-04 09:44:52 -08:00
Megan Marsh d260bb63d3
Merge pull request #10413 from adeniyistephen/hcl-doc
Add hcl Example to docker-save
2021-01-04 09:41:15 -08:00
Megan Marsh 560d5ff270
Merge pull request #10415 from adeniyistephen/hcl-docs
Add hcl example to docker-tag
2021-01-04 09:40:24 -08:00
Megan Marsh e83603faa5
Merge pull request #10425 from adeniyistephen/scaleway
Add hcl example for scaleway
2021-01-04 09:39:18 -08:00
Shigetaka Shirouchi 7ef5246e94
docs: Fix trivial json format (#10437) 2021-01-04 11:02:11 +01:00
adeniyistephen 4d25a59600 add hcl example to docker-save 2020-12-28 15:05:08 +01:00
adeniyistephen ed4ed9885b add hcl example to docker-tag 2020-12-28 15:03:13 +01:00
adeniyistephen 779a5d9bbb add hcl example to scaleway 2020-12-28 14:58:53 +01:00
adeniyistephen 73d9e8430a Add hcl example for scaleway 2020-12-27 19:43:10 +01:00
adeniyistephen 08e0f1ea72 Add hcl example to docker-tag 2020-12-21 17:22:44 +01:00
adeniyistephen 7abe0a4759 Add hcl Example to docker-save 2020-12-21 17:01:39 +01:00
adeniyistephen dc87825d5c Add hcl Example to docker-save 2020-12-21 16:56:12 +01:00
adeniyistephen 11d7b9d7ee Add hcl Example to openstack 2020-12-21 16:27:10 +01:00
Megan Marsh d27e627e2a
Merge pull request #10391 from hashicorp/plugin_release_docs
Plugin release step by step docs
2020-12-18 10:45:35 -08:00
Megan Marsh 88b7b0e14a remove sdk 2020-12-17 13:29:25 -08:00
sylviamoss 85eb704770 improve text 2020-12-15 14:59:25 +01:00
sylviamoss 180feebaea make releases link prettier 2020-12-15 12:52:40 +01:00
sylviamoss af316bbc97 add more information to release doc 2020-12-15 12:44:43 +01:00
sylviamoss 081d18f9ca write plugin release step by step docs 2020-12-15 10:28:17 +01:00
Jeff Escalante 6809b16b14
fix tab indentation on inspec provisioner page 2020-12-14 18:20:03 -05:00
Jeff Escalante 25380116f2
remove layout frontmatter prop 2020-12-14 18:20:03 -05:00