Skip to content

feat: added skip_profile_validation variable - #2831

Merged
Youssef-Beltagy merged 1 commit into
awslabs:mainfrom
Youssef-Beltagy:sp
Sep 24, 2026
Merged

Youssef-Beltagy merged 1 commit into
awslabs:mainfrom
Youssef-Beltagy:sp

Conversation

@Youssef-Beltagy

@Youssef-Beltagy Youssef-Beltagy commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Adding skip_profile_validation that uses amazon-ebs plugin uses.

Older amazon-ebs plugins have this weird behavior/bug where if you specify custom_endpoint_ec2, packer fails builds while validating the iam_instance_profile because it actually calls EC2 APIs. This causes issues in our pipeline now and caused issues before:

I'll update the internal amazon-ebs plugin we use. But I'm also adding the option to skip_profile_validation because it generally can be useful: we use it for AL2027, it is need when building in a network-locked VPC, and lets you scope down packer's IAM permissons.

@Youssef-Beltagy
Youssef-Beltagy requested a review from a team as a code owner September 24, 2026 16:46
@Youssef-Beltagy
Youssef-Beltagy merged commit 5a1a372 into awslabs:main Sep 24, 2026
2 checks passed
@Youssef-Beltagy
Youssef-Beltagy deleted the sp branch October 6, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants