AWS accounts are segmented by environment, and Harness does not provide this information in the sub field which means that I can’t use environment as a condition for assuming the role. This is the example Github gives for Github Actions:
"Condition": {
"StringEquals": {
"token.actions.githubusercontent.com:sub": "repo:test-org/test-repo:environment:prod"
}
}
At a minimum we need this information to be passed in the sub field so we can filter on it
Created by prashant.kumar@harness.io
·