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 Support for resource References #438

Open
hayk99 opened this issue Mar 11, 2022 · 0 comments
Open

Add Support for resource References #438

hayk99 opened this issue Mar 11, 2022 · 0 comments

Comments

@hayk99
Copy link

hayk99 commented Mar 11, 2022

It would be great to give support to resource references, for example:

oneUser:
    Type: AWS::IAM::User
    Properties:
      Path: /bot/
      UserName: foobar

  userCredentialsOne:
    Type: AWS::IAM::AccessKey
    Properties:
      Status: Active
      UserName: !Ref oneUser
  • As a first iteration, it would be interesting to keep the reference instead of replace the value by nil/null (code line).

  • The next iteration could be interesting to return the value of the referenced resource, in this case !Ref oneUser should return oneUser UserName

Thanks !!

@hayk99 hayk99 changed the title Add Supop Add Suppport for resource References Mar 11, 2022
@hayk99 hayk99 changed the title Add Suppport for resource References Add Support for resource References Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant