packer-plugin-amazon
packer-plugin-amazon copied to clipboard
Inferring public ip address automatically
This issue was originally opened by @LazzariPaolo in https://github.com/hashicorp/packer/issues/11420 and has been migrated to this repository. The original issue description is below.
AWS builders require whitelisting the public ip address of the machine which is running the build. E.g:
temporary_security_group_source_cidrs = ["213..."]
it would be nice to be able to avoid having to hardcode this in the template, and instead get this info automatically, perhaps with a function.
Something like:
temporary_security_group_source_cidrs = [local_public_ip]
It looks like this should be closed due to the existence of temporary_security_group_source_public_ip. #250