-
Notifications
You must be signed in to change notification settings - Fork 4
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
add IAM role for secret manager EC2 access #405
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
enhancement
Description
Added IAM role and policy for EC2 access to AWS Secrets Manager.
Updated EC2 module to include IAM instance profile for secret access.
Modified lifecycle configurations to ignore changes to
vpc_security_group_ids
.Introduced new Terraform resources for IAM role, policy, and instance profile.
Changes walkthrough 📝
main.tf
Update EC2 module with IAM instance profile
auto-drive/main.tf
iam_instance_profile
to EC2 module configuration.secret.tf
Define IAM role, policy, and instance profile
auto-drive/secret.tf
Manager.
main.tf
Adjust lifecycle to ignore security group changes
templates/terraform/aws/ec2/main.tf
vpc_security_group_ids
.main.tf
Update RDS lifecycle to ignore security group changes
templates/terraform/aws/rds/modules/db_instance/main.tf
vpc_security_group_ids
.