When I try to use the pipe atlassian/aws-sam-deploy:2.4.1 with the "--parameter-overrides" option I get the error: "No such option: --parameter-overrides environment Did you mean --parameter-overrides?"
If we look in the AWS Sam Deploy documentation we will see the --parameter-overrides option.
Hey @Edson da Conceicao Junior ,
and welcome to the Community!
Could you share with us the section of your YAML file where you define the pipe and it's variables ?
It's important to highlight the pipe atlassian/aws-sam-deploy has two operation modes - package and deploy - and the --parameter-overrides seems to only be available in the deploy mode of sam. In this case, your pipe definition should be similar to the below example:
script:
- pipe: atlassian/aws-sam-deploy:2.4.1
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: 'us-east-1'
COMMAND: 'deploy'
EXTRA_OPTIONS_DEPLOY: ['--parameter-overrides', 'ParameterKey=value1', 'ParameterKey2=value2']
Thank you, @Edson da Conceicao Junior !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.