Hello! I am trying to push an image to AWS-ECR but in the log I have the following error:
- Provided region_name ‘AWS_REGION’ doesn’t match a supported format
This is an snippet of how I configure the .yml file
- aws-ecr/build-and-push-image:
aws-access-key-id: ACCESS_KEY_ID_ENV_VAR_NAME
aws-secret-access-key: SECRET_ACCESS_KEY_ENV_VAR_NAME
create-repo: false
platform: linux/amd64
public-registry: false
push-image: true
region: AWS_REGION
registry-id: AWS_ECR_REGISTRY_ID
repo: opground_backend_lambda
repo-scan-on-push: true
tag: 'latest'
I also tried with AWS_DEFAULT_REGION
but it didn’t work either.