Releases: hashicorp/packer-plugin-amazon
v1.2.6
What's Changed
Exciting New Features 🎉
Doc improvements 📚
- docs: add docs on fast-launch permissions by @lbajolet-hashicorp in #391
- fixing text for IAM permission needed by @elreydetoda in #395
Other Changes
- Release1.2.5 by @lbajolet-hashicorp in #376
- .github: add action to run acceptance tests by @lbajolet-hashicorp in #380
- workflows: run awscli install with update flag by @lbajolet-hashicorp in #381
- workflows: remove AWS cli install from acc tests by @lbajolet-hashicorp in #382
- workflows: reference secrets not as env vars by @lbajolet-hashicorp in #383
- workflows: zip and keep logs for acceptance tests by @lbajolet-hashicorp in #384
- workflows: fix zip path for logs by @lbajolet-hashicorp in #385
- docs: add more permissions troubleshooting details by @lbajolet-hashicorp in #389
- Acc tests schedule by @lbajolet-hashicorp in #390
- github: bump timeout duration for acceptance tests by @lbajolet-hashicorp in #393
- cleanup github workflows by @lbajolet-hashicorp in #392
New Contributors
- @alemuro made their first contribution in #379
- @elreydetoda made their first contribution in #395
Full Changelog: v1.2.5...v1.2.6
v1.2.5
What's Changed
Exciting New Features 🎉
- config: add docs on permissions for public IP by @lbajolet-hashicorp in #372
- Select subnet based on az machine type availability by @lbajolet-hashicorp in #373
Bug fixes🧑🔧 🐞
- Include only AMI's owned by caller during pre-validate by @cartermckinnon in #354
Doc improvements 📚
- Fix docs for fast launch by @lbajolet-hashicorp in #374
- docs: add public ip paragraph in IAM section by @lbajolet-hashicorp in #375
Other Changes
- .gitignore: ignore crash.log by @lbajolet-hashicorp in #365
- [COMPLIANCE] Add Copyright and License Headers by @hashicorp-copywrite in #325
New Contributors
- @cartermckinnon made their first contribution in #354
Full Changelog: v1.2.4...v1.2.5
v1.2.4
Note
As part of the fixes related to the regression from 1.2.3, when one changes the value of the associate_public_ip_address
, the plugin will attempt to get the default VPC for the account that runs the build, should none be specified. To do so, we use the DescribeVpcs
API endpoint, which may cause builds to fail because of a missing permission: ec2:DescribeVpcs
.
We are actively working on a fix for this, so the default behaviour in case the permission is missing will not make builds fail, but instead show a warning regarding the associate_public_ip_address
being ignored, as was silently the case before version 1.2.3.
In the meantime, you may either specify a subnet/VPC, or remove the associate_public_ip_address
from your configuration if you encounter this error.
What's Changed
Bug fixes🧑🔧 🐞
- Release 1.2.3 by @lbajolet-hashicorp in #366
- common: Fix regression for subnet_filters when public IP set by @lbajolet-hashicorp in #370
Full Changelog: v1.2.3...v1.2.4
v1.2.3
Note
A regression to the subnet selection logic when using the subnet_id
or subnet_filter
along with the associate_public_ip_address
configuration argument was introduced in release v1.2.3. A fix has been made and is available for use in v1.2.4.
We recommend that you upgrade to the latest available release prior to running a new Packer build. If you are not using associate_public_ip_address
or running an older version of the packer-plugin-amazon
plugin no change is necessary.
packer {
required_plugins {
amazon = {
version = ">=1.2.4"
source = "github.com/hashicorp/amazon"
}
}
}
What's Changed
Exciting New Features 🎉
Bug fixes🧑🔧 🐞
- Support explicit public ip on default vpc by @lbajolet-hashicorp in #364
Other Changes
- version: prepare v1.2.3-dev by @lbajolet-hashicorp in #352
- Convert hashicorp/packer-plugin-amazon to GitHub Actions by @hc-github-team-es-release-engineering in #353
- github: fix pathing issues for building binaries by @lbajolet-hashicorp in #358
- workflows: publish all the pkg files separately by @lbajolet-hashicorp in #359
- actions: upload artifact with a name by @lbajolet-hashicorp in #360
New Contributors
- @hc-github-team-es-release-engineering made their first contribution in #353
Full Changelog: v1.2.2...v1.2.3
v1.2.2
What's Changed
Exciting New Features 🎉
- iam: attach tags to instance role and profile by @Glyphack in #323
- Add run_tags to ec2 instance network interfaces by @Glyphack in #326
- Imds support ebs by @lbajolet-hashicorp in #346
- Uefi preferred boot mode check by @lbajolet-hashicorp in #345
- Copy tags on copy ami by @lbajolet-hashicorp in #327
- ebs: add support for fast-launch by @lbajolet-hashicorp in #347
Bug fixes🧑🔧 🐞
Doc improvements 📚
- fix whitespace in HCL code example by @rmetzler in #330
- Clarify reason for invalid throughput error message by @abhay-krishna in #335
- docs: add other tagged resources to run_tags description by @Glyphack in #337
Other Changes
- Release 1.2.1 by @lbajolet-hashicorp in #318
- Harden EBS ssh key tests by @lbajolet-hashicorp in #319
- Handle SSM session disconnection w/ AWS get connection status. by @Glyphack in #311
- build(deps): bump github.com/hashicorp/packer-plugin-sdk from 0.3.2 to 0.4.0 by @dependabot in #341
- ebs: + acceptance test for no temp key w/ ssh pass by @lbajolet-hashicorp in #349
- version: cut v1.2.2 by @lbajolet-hashicorp in #351
New Contributors
- @rmetzler made their first contribution in #330
- @abhay-krishna made their first contribution in #335
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
Bug fixes🧑🔧 🐞
Other Changes
- acceptance: use pure Go for generating temp keys by @lbajolet-hashicorp in #317
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
Note on the breaking change: the commit merged from PR #309 fixes a bug where the plugin would fallback on the private IP after a single try to get the public IP of the instance being created. Now, it will try multiple times to get the public IP, and only on the latest try, if the public IP is still unavailable, will it fallback to the private IP of the instance. While this behaviour is in line with the documentation, this may be surprising to users that encounter this behaviour, as with this update, there's a greater chance of the IP being the public one. For this reason, we have marked it as breaking, and updated the minor version of the plugin to highlight this change.
Breaking Changes 🛠
Bug fixes🧑🔧 🐞
- Fix spot instance launch readiness by @sparrc in #308
- session_manager: Upload user public key to instance before connection if private key is specified by @Glyphack in #296
Other Changes
- go.mod: bump go version from 1.17 to 1.18 by @lbajolet-hashicorp in #300
New Contributors
Full Changelog: v1.1.6...v1.2.0
v1.1.6
What's Changed
Exciting New Features 🎉
- Add support for configurating IMDSv2 as the default instance metadata service by @ankon in #278
- builder: Include EC2 Capacity Reservations in the aws builder by @mihok in #256
Other Changes
- [COMPLIANCE] Update MPL 2.0 LICENSE by @hashicorp-copywrite in #279
- Update docs links by @sylviamoss in #285
- Bump github.com/hashicorp/packer-plugin-sdk from 0.3.1 to 0.3.2 by @dependabot in #269
- Remove docs preview from make generate target by @nywilken in #293
- Update RunConfig-not-required.mdx by @EdenBW in #282
- Add support for
uefi_data
in builders by @Marcelotsvaz in #272
New Contributors
- @hashicorp-copywrite made their first contribution in #279
- @EdenBW made their first contribution in #282
- @ankon made their first contribution in #278
- @mihok made their first contribution in #256
- @Marcelotsvaz made their first contribution in #272
Full Changelog: v1.1.5...v1.1.6
v1.1.5
v1.1.4
What's Changed
Exciting New Features 🎉
- Add
enable_nitro_enclave
argument to enable support for Nitro Enclaves on instance by @SajanAlexander-okta in #257 - Allow restricting temporary SG to current host's public IP by @r-bk in #250
- Update Plugin binary releases to match Packer by @nywilken in #267
Other Changes
- Depreciate copied image fix by @lbajolet-hashicorp in #262
- Fix issues reported by Go checks by @nywilken in #263
- version: cut version for 1.1.4 by @lbajolet-hashicorp in #268
New Contributors
- @SajanAlexander-okta made their first contribution in #257
- @r-bk made their first contribution in #250
Full Changelog: v1.1.3...v1.1.4