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

feat: Add support for AWS role assumption in deployment configuration #891

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

toninis
Copy link

@toninis toninis commented Feb 21, 2025

Summary

This change introduces an optional AWSRoleARN field to the deployment Config struct, allowing users to specify an IAM role to assume during AWS operations. The GetAWSConfig method in the Terraform utility has been updated to support role assumption using AWS SDK v2 credentials.

Ticket Link

https://mattermost.atlassian.net/browse/CLD-8926

This change introduces an optional AWSRoleARN field to the deployment Config struct, allowing users to specify an IAM role to assume during AWS operations. The GetAWSConfig method in the Terraform utility has been updated to support role assumption using AWS SDK v2 credentials.
Copy link
Member

@agarciamontoro agarciamontoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Can you add the AWSRoleARN we need to the examples/config/ci/deployer.json file so that the pipeline gets it (that's the set of files used in the pipeline)? I'll change https://github.com/mattermost/delivery-platform/pull/251 to use this branch to test it.

Copy link
Contributor

@fmartingr fmartingr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Should we add this to the sample files as well?

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.

3 participants