-
Notifications
You must be signed in to change notification settings - Fork 4
add IAM role for secret manager EC2 access #405
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
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 profileauto-drive/main.tf
iam_instance_profileto EC2 module configuration.secret.tf
Define IAM role, policy, and instance profileauto-drive/secret.tf
Manager.
main.tf
Adjust lifecycle to ignore security group changestemplates/terraform/aws/ec2/main.tf
vpc_security_group_ids.main.tf
Update RDS lifecycle to ignore security group changestemplates/terraform/aws/rds/modules/db_instance/main.tf
vpc_security_group_ids.