Commit Graph

143 Commits (281af9a03d5a35d3a40162320bd6bc35139b1e6a)

Author SHA1 Message Date
Wilken Rivera 20eeffee0d
integration/secretsmanager: Add support for AWS SharedConfig file (#9781)
6 years ago
Wilken Rivera 56f6a976de
integrations/secretsmanager: Add support for plaintext, non key/pair, secrets (#9773)
6 years ago
jsmcnair 78c280b1b7 Use common funcs / fix panic / clarify docs
6 years ago
Sylvia Moss 9181a435aa
Make max_retries a string to allow variable interpolation (#9673)
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh 4a058dfd19 un-bypass secretsmanager tests
6 years ago
Juan Mesa cc34da365a Add error check
6 years ago
Megan Marsh 8f73a44410 stop failing flaky test until I can fix it
6 years ago
Juan Mesa b73602eadd Fix corrections
6 years ago
Juan Mesa 55fa3e1b0b Add support for specifying key to fetch from AWS Secrets Manager
6 years ago
Adrien Delorme 4ebcbad332
update consul and vault dependencies (#9205)
6 years ago
Juan Manuel Mesa 75efe3fcd1
Clean linting issues for packages template and interpolate (#9120)
6 years ago
Juan Mesa e6dbbe454e Fix linting issues
6 years ago
Juan Mesa 0fca4a8ba8 Add template function aws_secretsmanager
6 years ago
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Jeff Escalante 9165be87da
packer.io prefix removal, html extension remove for in-code errors
6 years ago
Megan Marsh 0cfcbd66ca
execute_command in powershell wasn't interpolating build vars properly (#8771)
6 years ago
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
6 years ago
Megan Marsh 391cea13ed
Merge pull request #8725 from hashicorp/fix_8655
6 years ago
Sylvia Moss 23fa3107a3
Render variables one time on prepare method (#8727)
6 years ago
Moss dc81720dc9 Fix format
6 years ago
Moss d654898ebf Add tests for check of json duplicate fields
6 years ago
Moss a6d90babbf Add check for json duplicate fields
6 years ago
Lars Lehtonen c6e6220fef
template: replace deprecated os.SEEK_SET with io.SeekStart
6 years ago
Sylvia Moss 328eb8ee96
Interpolate boot_command when defined by user variable (#8640)
6 years ago
Megan Marsh 8490bbc45c add tests for info sharing
6 years ago
Megan Marsh cd7abf1f9e clean up a few final issues with info sharing
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 6bc5a95c3a tweak docs; change to
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Megan Marsh d47f151bf9 punctuation
6 years ago
Megan Marsh 82367a88f8 reorganize placeholder data call to live with provisioner implementation; force users to use the generated function, therefore forcing validation, for all variables except winrmpassword, by doing a simple string check against the placeholder data.
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Megan Marsh 0ca7c9f397 fix tests
6 years ago
Megan Marsh 5d266b20d0 generated func now validates based on data provided in context, which needs to include the future values if it is to be interpolated properly.
6 years ago
Megan Marsh 528b853178 stub out generated func for validation
6 years ago
Megan Marsh 14baa769ab improve error message
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
psinghal20 6492995a20
feat: add strftime function in templates
6 years ago
Megan Marsh 4c29f88a0a reuse code
6 years ago
Megan Marsh a2824a942d remove extraneous import
7 years ago
Megan Marsh c57e0a9837 remove logline
7 years ago
Megan Marsh 59efa0faee rename option to error-cleanup-privisoner, which I think is clearer
7 years ago
Megan Marsh 0683bc409b add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether
7 years ago
Megan Marsh 5bd8fee708 Creates a final "cleanup" provisioner to run if an error occurs during a provisioning step, allowing users to perform any custom cleanup tasks that must happen on the VM before the VM is shut down and destroyed.
7 years ago
Adrien Delorme 0f14077664 Merge remote-tracking branch 'origin/master' into switch_sed_because_license
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme df0b06a87a make sed template call deprecated
7 years ago