CircleCI-Public / aws-ecs-orb

An orb that simplifies deployment to Amazon's Elastic Container Service (ECS). Supports both EC2 and Fargate launch types.
https://circleci.com/orbs/registry/orb/circleci/aws-ecs
MIT License
51 stars 80 forks source link

fix: eval ECS_PARAM_RULE_NAME #187

Closed diogonicoleti closed 1 year ago

diogonicoleti commented 2 years ago

I'm getting this error:

An error occurred (ValidationException) when calling the ListTargetsByRule operation: 1 validation error detected: Value '${CIRCLE_BRANCH}-zambas-scheduled-task' at 'rule' failed to satisfy constraint: Member must satisfy regular expression pattern: [\.\-_A-Za-z0-9]+

Exited with code exit status 254

So, I'm adding the eval to evaluated the ECS_PARAM_RULE_NAME variable so the config file may contain and pass in environment variables to the parameters.

diogonicoleti commented 1 year ago

This was fixed in this PR: https://github.com/CircleCI-Public/aws-ecs-orb/pull/200