Skip to content
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 support for inline IAM policy #68

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

jpalomaki
Copy link
Contributor

what

Adds support for attaching an inline IAM policy to the function IAM role.

why

Useful for defining a (simple) IAM policy that is declared, and deployed, in-tandem with the Lambda function itself.

Our use case: we use terragrunt to deploy a simple function using this module (straight out of terraform registry), so we'd like to avoid having to create a wrapper module or a separate customer-managed policy, for adding some necessary (but simple) permissions.

references

No related GitHub issue (but I can create one if needed).

@jpalomaki jpalomaki requested review from a team as code owners June 28, 2024 11:13
@mergify mergify bot added the triage Needs triage label Jun 28, 2024
@jpalomaki
Copy link
Contributor Author

jpalomaki commented Jun 28, 2024

FWIW, I have run a quick plan/apply test ✅ using my fork branch as source

@hans-d
Copy link
Contributor

hans-d commented Jun 29, 2024

Hi @jpalomaki, thanks for your contribution.

@hans-d
Copy link
Contributor

hans-d commented Jun 29, 2024

/terratest

@hans-d hans-d merged commit c139343 into cloudposse:main Jun 29, 2024
25 checks passed
@mergify mergify bot removed the triage Needs triage label Jun 29, 2024
Copy link

These changes were released in v0.5.4.

@jpalomaki jpalomaki deleted the inline-iam-policy branch July 1, 2024 05:56
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