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: Expose CoreAppPlane JobRunner codebuild IAM role #32

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

ujwalbukka
Copy link
Contributor

Issue # (if applicable)

Reason for this change

We need this because if codebuild project is provisioning a resource for an AWS service. The resource policy of a AWS service will expect the codebuild project role has permissions to do the needful.
For example, the if codebuild project is creating an index in OpenSearch serverless then data access policy of OpenSearch serverless expects the codebuild project role is mentioned as principal which has access to create index.

Description of changes

Created a public readonly map which has jobname and jobRunnerRoleArn

Description of how you validated changes

added unit test

Checklist


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

@@ -200,7 +200,53 @@ describe('CoreApplicationPlane', () => {
),
},
});
cdk.Aspects.of(app).add(new AwsSolutionsChecks());
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we adding this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it

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.

None yet

2 participants