-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Impossible to use pseudo-parameters in CFN Mapping #1363
Closed
rsmogura opened this issue
Dec 13, 2018
· 1 comment
· Fixed by #2220, #2531 or MechanicalRock/tech-radar#14 · May be fixed by MechanicalRock/cdk-constructs#5 or MechanicalRock/cdk-constructs#6
Closed
Impossible to use pseudo-parameters in CFN Mapping #1363
rsmogura opened this issue
Dec 13, 2018
· 1 comment
· Fixed by #2220, #2531 or MechanicalRock/tech-radar#14 · May be fixed by MechanicalRock/cdk-constructs#5 or MechanicalRock/cdk-constructs#6
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
Comments
Makes sense of course. We could use |
srchase
added
feature-request
A feature should be added or improved.
and removed
enhancement
labels
Jan 3, 2019
eladb
changed the title
RFE: Support for pseudo-parameters for Mapping
Impossible to use pseudo-parameters in CFN Mapping object
Mar 4, 2019
eladb
changed the title
Impossible to use pseudo-parameters in CFN Mapping object
Impossible to use pseudo-parameters in CFN Mapping
Mar 4, 2019
eladb
pushed a commit
that referenced
this issue
Apr 10, 2019
gate the key existence check by !Token.unresolved so if tokens are used, the key check will not occur. fixes #1363
4 tasks
eladb
pushed a commit
that referenced
this issue
May 13, 2019
Do not validate existence of second key if the first key is a token. Fixes #1363
4 tasks
eladb
pushed a commit
that referenced
this issue
May 13, 2019
Do not validate existence of second key if the first key is a token. Fixes #1363
This was referenced Aug 22, 2019
This was referenced Dec 12, 2019
This was referenced Dec 12, 2019
This was referenced Jan 20, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
Hi CDK team,
I recently tried to use following construct to get mapping parameter basing on account and region
However during execution I get exception (https://github.com/awslabs/aws-cdk/blob/master/packages/%40aws-cdk/cdk/lib/cloudformation/mapping.ts#L36) as
findInMap
tries to check if value is in map.I wonder if mentioned check could be removed, as syntax with
findInMap
is shorter and less error prone thannew cdk.FnFindInMap
.The text was updated successfully, but these errors were encountered: