Skip to content

Add additional_policies variable to agent IAM module#233

Merged
agustincelentano merged 1 commit into
mainfrom
feature/agent-iam-additional-policies
Feb 27, 2026
Merged

Add additional_policies variable to agent IAM module#233
agustincelentano merged 1 commit into
mainfrom
feature/agent-iam-additional-policies

Conversation

@agustincelentano

Copy link
Copy Markdown
Collaborator

Summary

  • Add additional_policies variable (map(string), default {}) to the agent IAM module
  • Use merge() to combine base policies with additional ones passed by consumers
  • Fully backward compatible, no changes needed for existing consumers

Test plan

  • Verify tofu plan with no additional_policies set (should show no changes)
  • Verify tofu plan passing extra policy ARNs via additional_policies

Allow consumers to pass extra IAM policy ARNs to attach to the agent
role via a new additional_policies map variable.
@agustincelentano agustincelentano merged commit 7762406 into main Feb 27, 2026
75 of 77 checks passed
@agustincelentano agustincelentano deleted the feature/agent-iam-additional-policies branch February 27, 2026 14:26
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