-
Notifications
You must be signed in to change notification settings - Fork 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
Parameter valueAsNumber not returning correct number. #3448
Comments
So from what I understand this isnt a bug but how it is supposed to work. The number is an I suspect this because I am abusing the API by mixing lower API
|
Closing this as I dont believe its a bug its simply a limitation. |
@nagupta92 Ive reopened. |
This is by design. Parameters are "late bound". Their values are only resolved during deployment and available only to CloudFormation. Closing. |
Hey @eladb this is a bug specifically with
|
Ill open a better bug report |
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
Create a
CfnParameter
withtype
'Number'
and adefault value
.Use that
value
somewhere withparameter.valueAsNumber
Produces a value of
-1.8881545897087546e+289
What is the expected behavior (or behavior of feature suggested)?
Return the token for that value.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: