Skip to content

feat(cloudformation): add parent resource selection for related resou…#8678

Open
gemammercado wants to merge 1 commit intoaws:masterfrom
gemammercado:related-resources-apis
Open

feat(cloudformation): add parent resource selection for related resou…#8678
gemammercado wants to merge 1 commit intoaws:masterfrom
gemammercado:related-resources-apis

Conversation

@gemammercado
Copy link
Contributor

…rces

Problem

When multiple resources of the same type exist (e.g., MyRole1, MyRole2), the system automatically uses the first one found during the Add Related Resources workflow, giving users no control over which instance is referenced in !Ref/!GetAtt.

Solution

Show resource types first, then logical IDs if duplicates exist

  • Pass selected parentLogicalId through LSP protocol
  • Update both client and LSP server to handle specific parent selection

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gemammercado gemammercado requested a review from a team as a code owner March 19, 2026 20:27
@amazon-inspector-ohio
Copy link

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

@amazon-inspector-ohio
Copy link

✅ I finished the code review, and didn't find any security or code quality issues.

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

Successfully merging this pull request may close these issues.

1 participant