CircleCI-Public / aws-code-deploy-orb

Easily deploy applications to AWS CodeDeploy on CircleCI with the aws-code-deploy orb
https://circleci.com/orbs/registry/orb/circleci/aws-code-deploy
MIT License
9 stars 13 forks source link

AWS Keys using CircleCI OIDC token is failing #39

Closed ITslacker closed 1 year ago

ITslacker commented 1 year ago

Orb Version aws-cli: circleci/aws-cli@3.1 aws-code-deploy: circleci/aws-code-deploy@3.0

Describe the bug

An error occurred (ValidationError) when calling the AssumeRoleWithWebIdentity operation: 1 validation error detected: Value 'aws-code-deploy/deploy' at 'roleSessionName' failed to satisfy constraint: Member must satisfy regular expression pattern: [\w+=,.@-]* Failed to assume role

To Reproduce

  1. Copy deploy_application_with_oidc template
  2. Change all variables for your application
  3. Run the job

Expected behavior Authenticate with OIDC

Additional context

ITslacker commented 1 year ago

closing issue, should've opened the ticket in aws-cli.