Skip to content

Conversation

@djaboxx
Copy link
Contributor

@djaboxx djaboxx commented Feb 7, 2025

Add iam_instance_profile to build_user module and update policies for S3 access.

  • modules/build_user/main.tf
    • Add aws_iam_instance_profile resource to create the instance profile.
  • locals.tf
    • Update build_user_iam_policy to include access to all relevant S3 buckets and objects.
  • main.tf
    • Reference the new iam_instance_profile in the build_user module.

For more details, open the Copilot Workspace session.

djaboxx and others added 2 commits February 6, 2025 17:28
Add iam_instance_profile to build_user module and update policies for S3 access.

* **modules/build_user/main.tf**
  - Add `aws_iam_instance_profile` resource to create the instance profile.
* **locals.tf**
  - Update `build_user_iam_policy` to include access to all relevant S3 buckets and objects.
* **main.tf**
  - Reference the new `iam_instance_profile` in the `build_user` module.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/HappyPathway/terraform-aws-image-pipeline?shareId=XXXX-XXXX-XXXX-XXXX).
@djaboxx djaboxx merged commit 905181d into main Feb 7, 2025
@djaboxx djaboxx deleted the djaboxx/add-iam-instance-profile branch February 7, 2025 01:30
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