Skip to content

[DOP-3726]: Don't use AWS credentials for enhanced builds#60

Merged
branberry merged 5 commits into
masterfrom
DOP-3726
Jun 16, 2023
Merged

[DOP-3726]: Don't use AWS credentials for enhanced builds#60
branberry merged 5 commits into
masterfrom
DOP-3726

Conversation

@branberry
Copy link
Copy Markdown
Contributor

@branberry branberry commented Jun 15, 2023

Ticket

DOP-3726

Notes

For the enhanced Autobuilder, we can't rely on the AWS credentials we get from SSM. this is because the credentials are for a specific IAM user that does not have permission to access the resources for the enhanced infrastructure. It appears that when we provide the AWS credentials as environment variables for the enhanced ECS tasks, they override the credentials that are defined and provided from using AWS CDK, causing permission issues.

The credentials in this case are already provided by the task role to access the S3 bucket. Therefore, we do not need to provide the AWS credentials from SSM to authorize access to the S3 buckets.

@branberry branberry changed the title [DOP-3726]: Add option to return no aws credentials for staging when … [DOP-3726]: Don't use AWS credentials for enhanced builds Jun 16, 2023
@branberry branberry requested review from i80and and schmalliso June 16, 2023 14:34
@branberry branberry marked this pull request as ready for review June 16, 2023 14:34
Copy link
Copy Markdown
Contributor

@i80and i80and left a comment

Choose a reason for hiding this comment

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

Could you run poetry run python3 -m black mut/AuthenticationInfo.py? This should be part of our CI toolchain but isn't

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