-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Converts stack tag name spaces to underscores #7856
Comments
After more experimenting, this pattern seems to work:
|
|
On second thought, best to keep this open since behaviour is not as expected. |
I assume the last working version for your was 1.131.0 Is that correct? |
That sounds about right. |
I mark this issue as |
Description:
In a recent version we were able to add tags in the toml file with spaces in the names -> these tags were added with no modification to resources.
In the current version it replaces spaces with an underscore:
samconfig.toml
I have tried with various formats of the tags arg with the same or worse results.
eg:
Note: spaces are explicitly allowed: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html#:~:text=For%20information%20about%20what%20characters,and%20values%20are%20case%20sensitive.
This change is breaking out cost allocation tags, and breaking our CI scripts.
Steps to reproduce:
Using 1.132.0 Windows.
Observed result:
Replaces the tag with an underscore.
Cost Group -> Cost_Group
Expected result:
Creates the tag with the same name set in the samconfig.toml file.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.132.0The text was updated successfully, but these errors were encountered: