-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BFD-3698: Address missing global EC2 permissions #2493
Merged
Conversation
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
mjburling
commented
Nov 15, 2024
mjburling
commented
Nov 15, 2024
mjburling
commented
Nov 25, 2024
mjburling
commented
Nov 25, 2024
mjburling
commented
Nov 25, 2024
mjburling
requested review from
dondevun,
aschey-forpeople and
malessi
as code owners
November 25, 2024 23:28
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment for env/mgmt/packer-iam.tf
timothy-ellis-ky
approved these changes
Nov 26, 2024
malessi
approved these changes
Nov 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA Ticket:
BFD-3698
What Does This PR Do?
Historically, we've just ignored AMI provisioning errors and EC2 instance initialization errors. This seeks to address the consistent errors that result from insufficient IAM privileges within the primary instance profiles through the following:
mgmt
under newly introducedpacker-iam.tf
mgmt
state through this packer-iam.tf fileNOTE:
These have since been removed from the state and must be re-imported,These have been imported into themgmt
state, i.e.terraform import aws_iam_role.packer bfd-packer
andterraform import aws_iam_instance_profile.packer bfd-packer
bfd-mgmt-ec2-instance-tags-ro
policy to globally allow ec2:DescribeInstances and ec2:DescribeTagsWhat Should Reviewers Watch For?
What Security Implications Does This PR Have?
Please indicate if this PR does any of the following:
Adds any new software dependencies
Modifies any security controls
Adds new transmission or storage of data
Any other changes that could possibly affect security?
I have considered the above security implications as it relates to this PR. (If one or more of the above apply, it cannot be merged without the ISSO or team security engineer's (
@sb-benohe
) approval.)Validation
Have you fully verified and tested these changes? Is the acceptance criteria met? Please provide reproducible testing instructions, code snippets, or screenshots as applicable.
test
environment.test
environment yielded zero.