Bug: sam delete works with global parameters defined in toml, but not yaml #6449
Labels
area/delete
stage/waiting-for-release
Fix has been merged to develop and is waiting for a release
type/bug
Description:
The
sam delete
command cannot seem to find parameters defined in aglobal
section ofsamconfig.yaml
(but the same parameters specified insamconfig.toml
work fine).Steps to reproduce:
These commands work fine with both
toml
andyaml
editions ofsamconfig
...sam build --config-env test
sam deploy --config-env test
This command works fine with the
toml
edition, but not theyaml
edition ofsamconfig
...sam delete --config-env test
Example toml file ...
Example yaml file ...
Observed result:
Executing
sam delete --config-env test
with theyaml
edition ofsamconfig
results in a prompt ...... but
stack_name
is specified.If I play along, and execute ...
... it deletes the stack, but then can't find the parameters it needs to use to find the template in S3 ...
Expected result:
Configuration specified via
yaml
should function in an equivalent manner to configuration specified viatoml
.Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.105.0The text was updated successfully, but these errors were encountered: