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

feat(hcl2cdk): use Fn.lookupNested() instead of propertyAccess() #3056

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

ansgarm
Copy link
Member

@ansgarm ansgarm commented Aug 8, 2023

Resolves #2670

  • feat(hcl2cdk): use Fn.lookupNested() instead of propertyAccess()
  • chore(tests): update snapshots

This could potentially also solve #2912 – but that would need some testing

@ansgarm ansgarm requested a review from a team as a code owner August 8, 2023 14:16
@ansgarm ansgarm requested review from DanielMSchmidt and Maed223 and removed request for a team August 8, 2023 14:16
@ansgarm ansgarm changed the title convert fn lookup nested feat(hcl2cdk): use Fn.lookupNested() instead of propertyAccess() Aug 8, 2023
ansgarm and others added 3 commits August 9, 2023 10:53
propertyAccess() is not available in all languages but lookupNested is (it uses propertyAccess() internally)
@DanielMSchmidt DanielMSchmidt added this pull request to the merge queue Aug 9, 2023
Merged via the queue into main with commit 8874684 Aug 9, 2023
21 checks passed
@DanielMSchmidt DanielMSchmidt deleted the convert-fn-lookup-nested branch August 9, 2023 09:04
@mutahhir mutahhir mentioned this pull request Aug 17, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert: variables / locals / referenced maps need to use accessor syntax
3 participants