Open steffakasid opened 6 months ago
Looks like others have issues too: https://github.com/hashicorp/packer-plugin-amazon/issues/114
Hi @steffakasid,
Thanks for reporting this, since this concerns the Amazon plugin, I'll transfer it over there.
Unfortunately, I can't promise we'll fix this soon as we have other priorities on hand, but we do welcome contributions if you're up for it, we can help if need be, and will happily review!
I think the value is not correctly mapped/parsed from the config and then overwritten here:
So the length at this point seems to be 0. Do you have an example how the temporary_security_group_source_cidrs
must set in the config? Are there any possibilities to debug/run the code locally without having access to an AWS account?
Regards Steffen
Community Note
Overview of the Issue
I try to secure my packer build by setting
temporary_security_group_source_cidrs
but don't get it working.Reproduction Steps
I use the packer template below.
And I have the following user configuration:
Packer version
From
packer version
v1.9.5Simplified Packer Template
Operating system and Environment details
OS, Architecture, and any other information you can provide about the environment.
Log Fragments and crash.log files
The build finishs successful but the custom
temporary_security_group_source_cidrs
seems not to be used. Is this a bug or do I have an issue in my configuration...