Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.

fix: remove LambdaFunction suffix from Fn::GetAtt #619

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

asSqr
Copy link

@asSqr asSqr commented Dec 18, 2021

Description

When getting the function name from Fn::GetAtt, there is a redundant suffix 'LambdaFunction' and I got an error at const { handler } = definedFunctions[functionName].

When

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

I ran the command npm run test:unit.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant