-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Mappings in template do not maintain quotes during package step #91
Comments
Upon further review and testing, this problem ONLY exists if your account id starts with 0. |
Ah interesting. My first guess is that YAML parser/dumper does type conversion which removes types. Need to dig into this further |
aws/aws-cli#2556 gives you a workaround. You can use Does this solve your problem? |
Sure. I've already made a workaround. If you feel it is sufficient to close this, go ahead. Thanks for the response! |
Sounds good. |
@jolexa What was your workaround? |
Using |
This change hides the unreleased properties from the "Globals" error message
* feat: Support for Lambda URL (#86) * feat: changed CorsConfig property to Cors (#89) * feat: add list of "unreleased" properties (#91) This change hides the unreleased properties from the "Globals" error message * Lambda URL integ test (#94) * remove functionUrlConfig from the unrelease properties (#97) * remove functionUrlConfig from the unrelease properties * updates * Function Url new changes (#109) * update to Function Url * first update * reverted to support autopublishing and added validation for AuthType values * adding Integration test * fix: fix paths IF intrinsic bug (#107) * fix: fix paths IF intrinsic bug * missed bit of code * add NoValue tests * review feedback and refactoring * naming fix * review feedback naming and comments * add missing test + add extra check for api key on tests * integration test updated (#122) Co-authored-by: jonife <79116465+jonife@users.noreply.github.com> Co-authored-by: Renato Valenzuela <37676028+valerena@users.noreply.github.com> Co-authored-by: Ruperto Torres <86501267+torresxb1@users.noreply.github.com>
Hello, using
aws cloudformation package
with the following simple snippet results in the loss of quotes which causes a ChangeSet to remain in CREATE_IN_PROGRESS indefinitely in the proper scenerio.after the
aws cloudformation package
step:This is a problem because when using the
!Ref "AWS::AccountID"
function, a string is returned so it will never match the mapping - if you are mapping per AccountID.Per the docs, if a Mapping is not used, it is an invalid changeset
So, I'm curious if this is a bug. I feel like I should be able to create a Mapping with Account ID's and then reference the AccountID later in a later block and it is currently not possible with
aws cloudformation package
. Thoughts?The text was updated successfully, but these errors were encountered: