Forrest C. Shields II
9df637d1f3
Fix syntax in BlockDevice JSON example ( #10719 )
...
* Fix syntax in BlockDevice JSON example
Keys must be quoted in JSON.
* Update comment to match generated docs
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-03-04 10:33:42 -05:00
Wilken Rivera
10a5b0e7d8
Update HCL source example block ( #10720 )
2021-03-03 16:15:54 -05:00
Megan Marsh
b4b0df44b4
Merge pull request #9591 from Timdawson264/ebs-volume-snapshot
...
ebsvolume snapshot
2021-02-23 15:47:27 -08:00
Megan Marsh
160be7e773
refactor aws test tooling so we can apply common test function helpers to ebsvolume tests
2021-02-23 09:24:03 -08:00
Megan Marsh
9a11fd4136
Update amazon sdk ( #10668 )
2021-02-22 11:18:48 +01:00
Tim Dawson
aef74cd059
Fixed up after rebaseing
2021-02-19 14:09:23 +13:00
Tim Dawson
ca0b11028e
Started instramenting some functions and building out unit tests for snapshot step.
...
Added some basic config tests.
2021-02-19 11:09:55 +13:00
Tim Dawson
b199ce9a22
Added snapshots to artifacts
...
Increased Snapshot wait timeout
2021-02-19 10:58:03 +13:00
Tim Dawson
7f0b41bb0e
Refactored SnapshotConfig
...
Added Group and user permission to each snapshot
2021-02-19 10:58:03 +13:00
Sylvia Moss
201869d627
Update HCL2 and JSON example for amazon builders ( #10645 )
...
* move hcl2 example up over json to amazon-ebs
* switch hcl and json templates for all amazon builders
* fix json format
2021-02-17 10:32:13 +01:00
Megan Marsh
80ed988ffe
Hcl2 upgrade fix ( #10625 )
...
* fix random nil pointer dereference I found while debugging hcl2_upgrade issues
* fix hcl2_upgrade command by creating passthroughs for all text template fields
2021-02-15 10:40:21 +01:00
Trond Isak
2c08479825
add AWS API call retries on AMIGetFilteredImage ( #10610 )
2021-02-11 11:58:56 +01:00
Jessi
88c516b2d5
Add IMDSv2 support for AWS EBS builder ( #10546 )
2021-02-09 11:47:54 +01:00
Wilken Rivera
f36554fa0e
Update redirects and URLs to legacy JSON template docs ( #10530 )
2021-01-27 09:08:59 -05:00
Miguel Hernández
782cf058b5
Add 'skip_create_ami' option to the amazon-ebs builder ( #10531 )
2021-01-27 09:00:42 -05:00
Megan Marsh
3242b7ee10
read iops and throughput as pointers so we can test for the nil case;… ( #10518 )
2021-01-25 10:49:37 +01:00
Megan Marsh
3aab42b770
remove confusing from_scratch reference which is not relevant in this config
2021-01-22 09:36:17 -08:00
Sylvia Moss
3c7944624a
(3) Add amazon-ami data source ( #10467 )
2021-01-20 11:05:03 +01:00
Megan Marsh
1cb9aea752
change markdown references to new pathing
2021-01-15 11:59:36 -08:00
Megan Marsh
bc01ffe2dd
Merge pull request #10456 from triarius/spot-instance-lt-resource-tags
...
Add tags as resource tags in the launch template used to request spot instances
2021-01-13 12:12:17 -08:00
Narthana Epa
cf30b49e6c
Use run_tags (resp run_volume_tags) to tags intances (resp volumes) created from the spot instance launch template
2021-01-12 23:37:01 +11:00
Narthana Epa
bb94df2d02
Add mocking of launch template id
...
It is being printed after it is created so we need to mock it to prevent
a nil pointer dereference when the tests are run with the launch
template create request is mocked.
2021-01-10 00:00:16 +11:00
Narthana Epa
f7588a3737
Add printing of launch template id
2021-01-09 23:59:31 +11:00
Narthana Epa
f7e68f1d71
Add spot tags as resource tags of instances and volumes in launch template
...
According to the APIReference:
<https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateTagSpecificationRequest.html >,
the resource types `instance` and `volume` support tagging on creation.
It is useful to add the spot tags here as it should be more reliable
than tagging them after the spot request is fulfilled as we currently
do.
2021-01-09 23:58:23 +11: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
Megan Marsh
88b7b0e14a
remove sdk
2020-12-17 13:29:25 -08:00
Megan Marsh
5f34bbd56e
add extra line before package declaration so this line does not become the synopsis of a package for godoc
2020-12-16 15:14:43 -08:00
Megan Marsh
75803397cb
Document exception to encryption ( #10395 )
...
* Update docs on ebs encrypt_boot to clarify that packer will not override global account settings
* Update struct-markdown generator and regenerate partials with new website location. This overwrites some linting that got automatically applied when the files got moved
2020-12-16 10:35:34 +01:00
Megan Marsh
eecac40d77
Merge pull request #10394 from anssijun/aws-ebs-retry-spot-instance-tagging
...
Fix retry logic in AWS spot instance tagging
2020-12-15 11:07:48 -08:00
Dany Garcia
0b13d44a23
exporting reusable validatekmskey function
2020-12-15 10:41:25 -08:00
Anssi Junnola
82a25ec419
Fix retry logic in AWS spot instance tagging
2020-12-15 17:21:03 +00:00
Mike Tougeron
e0e82e2192
Support AWS gp3 volumes ( #10338 )
...
* Support AWS gp3 volumes
* docs
* tests
2020-12-09 13:06:57 +01:00
Megan Marsh
3c346867f4
fix nil pointer dereference
2020-12-07 15:45:16 -08:00
Megan Marsh
8558d1241f
move TestUi func to sdk
2020-12-03 10:15:30 -08:00
Megan Marsh
39354f64e5
move helper/communicator dir into packer-plugin-sdk
...
fix imports; fix website and generated partials
2020-12-02 08:41:32 -08:00
Megan Marsh
d5971ca25e
fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK
2020-11-30 14:30:30 -08:00
Megan Marsh
a6fdeca099
move logsecretfilter into packer sdk
2020-11-30 14:30:30 -08:00
Megan Marsh
14bdb9516c
move Artifact and artifact mock to the sdk
2020-11-30 14:29:52 -08:00
Megan Marsh
c70870cb83
move multierror and multierrorappend into sdk
2020-11-30 14:29:06 -08:00
Megan Marsh
001886670d
move Ui definition into the packer plugin sdk.
2020-11-30 14:26:54 -08:00
Megan Marsh
b50fe930e5
fix retries ( #10290 )
2020-11-23 09:39:17 +01:00
Megan Marsh
f4041ee4d0
Merge pull request #10200 from aleksandrserbin/feature/describe-instance-on-fail
...
amazon-ebs: log state details on change
2020-11-20 15:31:40 -08:00
Megan Marsh
10c1b638b6
fix spaces vs tabs in formatting from github commit resolution
2020-11-20 15:24:43 -08:00
Megan Marsh
ba1e60ff35
Update builder/amazon/common/block_device_test.go
2020-11-20 15:15:39 -08:00
Megan Marsh
b3401b4f4d
Merge branch 'master' into feature/aws-ebs-io-validation
2020-11-20 15:09:22 -08:00
Megan Marsh
030f40a7b6
Merge pull request #10286 from hashicorp/hcl2template_extraction
...
move hcl2template kv types into the config/custom_types
2020-11-20 12:48:26 -08:00
Megan Marsh
ea1ac530b0
move hcl2template kv types into the config/custom_types with trilean definitions
2020-11-18 15:46:59 -08:00
Megan Marsh
cbaecf9077
remove unused SkipValidation field which was a duplicate of the SkipRegionValidation field.
...
remove duplicate temporary key pair name
change communicator code
2020-11-18 14:21:40 -08:00
Megan Marsh
9e47696dff
move helper/config to bundle with the other template definitions
2020-11-18 10:34:59 -08:00
Megan Marsh
3f6deb8828
move multistep into the plugin sdk
2020-11-17 16:31:03 -08:00