Skip to content
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

Add a !Link (or equivalent) function #50

Open
benbridts opened this issue Aug 26, 2020 · 2 comments
Open

Add a !Link (or equivalent) function #50

benbridts opened this issue Aug 26, 2020 · 2 comments
Labels
feature request Proposal for new features or requests

Comments

@benbridts
Copy link

A lot of time writing CloudFormation is spent by looking up expected inputs and outputs. With questions like:

A new function, possibly called !Link could remove this friction in a lot of cases:

  • The expected input is documented and hopefully in the schema
  • The possible output is documented and hopefully in the schema

For the case where there is a 1-to-1 mapping CloudFormation should be able to figure out which attribute is needed and resolve it. For other cases there could be:

  • a push to improve outputs (adding more variations to !GetAtt so they can be !Link'ed directly in the related resource without the user having to use !Sub to construct an Arn)
  • a way to specify a template in the schema at the resource property level (This input should be of resource type AWS::Foo::Bar and use this !Sub to construct the value)
  • an independent mapping that defines these relations explicitly.
@benbridts benbridts changed the title Add a !Link (or equivalent function) Add a !Link (or equivalent) function Aug 26, 2020
@brianterry brianterry added the enhancement New feature or request label Jun 21, 2021
@JimmyDqv
Copy link

JimmyDqv commented Oct 1, 2021

+1

@lejiati
Copy link
Contributor

lejiati commented May 10, 2022

@benbridts Thank you very much for your feedback! Since this repository is focused on resource coverage, I'm transferring this issue over to a new GitHub repository dedicated to CloudFormation template language issues.

@lejiati lejiati transferred this issue from aws-cloudformation/cloudformation-coverage-roadmap May 10, 2022
@muneebar muneebar added feature request Proposal for new features or requests and removed enhancement New feature or request labels May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Proposal for new features or requests
Projects
None yet
Development

No branches or pull requests

5 participants