Repository navigation
Automation fix - #341
Merged
Merged
Automation fix#341
Conversation
The Test workflow assumes the read-only role named by the repository variables AWS_ROLE_ARN, AWS_REGION and AWS_S3_BUCKET_NAME instead of using stored AWS keys, and fails with a clear message when they are missing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vml-rnd-aem-library-githubthrough GitHub OIDC instead of using the stored keysAWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY. The role can only read the AEM library bucket and trusts onlywttech/acmandwttech/aemc.AWS_ROLE_ARN,AWS_REGIONandAWS_S3_BUCKET_NAME, which are already set. If any is missing, the first step fails with a clear message.id-token: write.Once this is merged, the repository secrets
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_REGIONandAWS_S3_BUCKET_NAMEare unused and can be deleted.Test plan
workflow_dispatchon this branch, passes