Local invoke AWS CF function resolution for env variable : Fn::ImportValue#8157
Conversation
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8157 +/- ##
==========================================
+ Coverage 88.21% 88.23% +0.02%
==========================================
Files 248 248
Lines 9416 9421 +5
==========================================
+ Hits 8306 8313 +7
+ Misses 1110 1108 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
medikoo
left a comment
There was a problem hiding this comment.
Thanks @fredericbarthelet! It looks promising. Please see my comment
6359980 to
01b1c9d
Compare
|
@medikoo I updated my PR with your comments :) |
medikoo
left a comment
There was a problem hiding this comment.
Thank you @fredericbarthelet that looks great. I've left just one minor remark
f00e6e6 to
2d0317d
Compare
medikoo
left a comment
There was a problem hiding this comment.
@fredericbarthelet looks great, still I've just noticed one last minor (DX related) thing.
2d0317d to
49796ba
Compare
medikoo
left a comment
There was a problem hiding this comment.
Thank you @fredericbarthelet !
|
How would these changes be used within a |
|
@maghirardelli are you using plugin to port those env variables to lambda. Also do you see |
|
@medikoo I am not using a plugin to port those env variable to lambda. I am running |
|
@maghirardelli In case of local invocation cloudformation intristic functions are not supported. |
|
@medikoo Oh, I thought that was what this PR was adding support for. What does this PR do then? |
|
@maghirardelli indeed, I totally forgot we've got partial support, and resolve Still environment variables for functions are configured either at |
|
@medikoo Ah, that makes sense. Thanks for the info and the speedy responses! |
This PR uses work already done in #7147
It is focus only on
Fn::ImportValueresolution as the serviceresolveCfImportValuealready exists within Serverless framework and is currently in use bygetStackInfoservice for httpApi external id import resolution.Additional PRs will be issued to implement as well GetAtt and Ref function resolution.
Addresses: #7087 #8147