generated from terraform-modules/template_aws_module
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace hardcoded target role ARN in ec2.py with env vars
- Add patch_target_role_name variable (default: r-inf-patch) for the cross-account role name that must exist in each target account - Worker Lambda now passes aws_partition and patch_target_role_name as env vars alongside existing DB/queue vars - ec2.py builds the target ARN dynamically from env vars instead of hardcoding partition (aws-us-gov) and role name (r-inf-patch)
- Loading branch information
Dave Arnold
committed
Jul 8, 2026
1 parent
21ec4cd
commit f7c1256
Showing
3 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters