Kyle
33cf6bf454
Fix logic for checking for KMS keys ( #10754 )
2021-03-15 11:37:13 +01:00
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
25920b2bd3
remove unused mock fields
2021-02-23 10:38:15 -08:00
Megan Marsh
74a6c1987c
change name of singular block device in loop to be less confusing; fix snapshot tests
2021-02-23 10:30:55 -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
ac2ce0097c
Fixed formatting
2021-02-19 11:09:55 +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
3e754c9f3f
Using new Polling config for snapshot step
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
Tim Dawson
482a2c8232
Adding ebs-volume snapshot creation
2021-02-19 10:06:04 +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
Megan Marsh
1113301c1b
fix conflicts
2020-12-15 10:53:51 -08:00
Dany Garcia
905d8401ea
removing unused import
2020-12-15 10:41:25 -08:00
Dany Garcia
0b13d44a23
exporting reusable validatekmskey function
2020-12-15 10:41:25 -08:00
Dany Garcia
3389fded48
merging latest master
2020-12-15 10:40:46 -08:00
Dany Garcia
39bb3a6c55
incorrect error message regarding parameter names
2020-12-15 10:40:12 -08:00
Dany Garcia
504c3807f7
adding support for root volume encryption for amazon-chroot
2020-12-15 10:40:08 -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
becf7723e6
move builder/testing to acctest inside sdk
2020-12-03 11:57:06 -08:00
Megan Marsh
f3f4fef44a
fix import
2020-12-03 11:43:06 -08:00
Megan Marsh
98f5fa453c
move aws specific acceptance test helper into amazon builder dir
2020-12-03 11:34:45 -08:00
Megan Marsh
5576bb5caa
move packer config constants next to the packer config
2020-12-03 10:17:35 -08:00
Megan Marsh
8558d1241f
move TestUi func to sdk
2020-12-03 10:15:30 -08:00
Megan Marsh
863e20ad65
move builder/testing framework into sdk; it imports the core but I think we just need to accept that. It doesn't expose the core directly to the SDK.
2020-12-02 09:46:42 -08:00