Commit Graph
16 Commits
Author SHA1 Message Date
Alan Szlosek Jr 6d6727b42b add meta descriptions (#12315)
* add meta descriptions

* rework

* tweak

* clean up hcl description

* gt dash
2023-03-16 10:05:18 -04:00
Dan Barr d2c83c4944 Update Golang references to Go
* Fix any "golang" to just "Go"
* Update golang.org URLs to go.dev
2022-08-05 13:42:56 -04:00
Wilken Rivera 41e6f760d9 Add details on the expected contents of a variable definitions file (#11403)
Closes #10903
2021-11-19 11:58:08 +01:00
Adrien Delorme 6b74110e40 Update variables.mdx (#11375)
fix #11354
2021-11-03 17:16:06 +01:00
Wilken Rivera d24fa1d8ad Add link to the new HCL2 upgrade command tutorial
This change replaces the from JSON v1 guide with a redirect to the
released hcl2_upgrade command tutorial on learn.hashicorp.com
2021-05-14 14:17:25 -04:00
Wilken Rivera a8db14ab6b Fix broken links (#11016) 2021-05-13 12:16:04 -04:00
Megan Marsh 8c93297eb0 update docs to use double quotes, which works on more shells (#11009) 2021-05-10 16:00:53 -04:00
Adrien Delorme 87ba7258b3 Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
* start using `go:generate packer-sdc struct-markdown`

* Update Makefile

remove @go install ./cmd/struct-markdown

* run go generate for struct-markdown

* use //go:generate packer-sdc mapstructure-to-hcl2

* run go generate for mapstructure-to-hcl2

* remove struct-markdown and mapstructure-to-hcl2

* vendor vendors
2021-04-16 11:52:03 +02:00
Kerim SatirliandAdrien Delorme cf94fd1778 switches JSON and HCL2 tabs (#10888)
* switches JSON and HCL2 tabs for all provisioners

* corrects `packer` to `Packer`

* corrects `http` to `HTTP`

* corrects typos and highlighting consistency issues

* corrects typos and highlighting consistency issues

* corrects typos and highlighting consistency issues

* `ansible` -> `Ansible`

* `packer fmt` for HCL2 blocks in provisioners

* linting and spelling

* fixes formatting

* fixes formatting

* Update website/content/docs/provisioners/ansible.mdx

Co-authored-by: Adrien Delorme <[email protected]>

* fixes formatting

* improves example

* generate stuff

Co-authored-by: Adrien Delorme <[email protected]>
2021-04-08 15:02:57 +02:00
Zachary Shilton 830140157d website: remove obselete nav data (#10811)
* website: remove obselete sidebar_title frontmatter from docs

* website: bump to latest docs-page

* website: update plugin creation and registration docs

* website: fix broken links
2021-03-31 15:07:00 -04:00
Sylvia MossandAdrien Delorme 505cbd2591 Vendor amazon plugin (#10800)
* remove amazon from core
* vendor amazon plugin
* remove website content
* Add amazon to docs-remote-plugins
* update amazon reference links in the documentation
* update amazon docs version to latest

Co-authored-by: Adrien Delorme <[email protected]>
2021-03-25 13:37:48 +01:00
sylviamoss 9718af4982 update hcl guides 2021-02-15 18:17:39 +01:00
Megan Marsh bd7b31853e Multi plugin naming (#10608) 2021-02-15 11:10:43 +01:00
Adrien Delorme ed091163be HCL2 Parse packer.required_plugins block + packer init (#10304)
This adds the new `required_plugins` block to be nested under the packer block.

Example:
```hcl
packer {
  required_plugins {
    aws = {
      version = ">= 2.7.0"
      source = "azr/aws"
    }
    azure = ">= 2.7.0"
  }
}
```

For example on darwin_amd64 Packer will install those under :
* "${PACKER_HOME_DIR}/plugin/github.com/azr/amazon/packer-plugin-amazon_2.7.0_x5.0_darwin_amd64"
* "${PACKER_HOME_DIR}/plugin/github.com/hashicorp/azure/packer-plugin-azure_2.7.0_x5.0_darwin_amd64_x5"

+ docs
+ tests
2021-02-02 18:05:04 +01:00
Jeff Escalante 25380116f2 remove layout frontmatter prop 2020-12-14 18:20:03 -05:00
Jeff Escalante 2de270341c refactor to mdx remote 2020-12-14 18:20:01 -05:00