Open pokryfka opened 2 years ago
I am experiencing the same issue
Anyone managed to get this plugin working on v3? Or does someone have any other solutions similar to this?
I have multiple stacks, some of which export some values used in other stacks. Namely I have stacks for db and auth related things which export values and references to be used with the api stack. And I use serverless-offline
to run the api stack locally. This plugin did the job in another project before upgrading to Serverless v3.
I created an alternative plugin that works for me: https://github.com/zirkelc/serverless-exports-plugin
It exports the global environment variables and resource outputs during sls info
and sls deploy
. It's not feature complete with this plugin, mainly because I didn't require all of it.
I actually managed to fix my issues by using ${cf:StackName.ExportName}
Has the plugin been tested with serverless v3?
I just updated to serverless v3 and noticed a few issues:
1.
environment values at function level are not exported, for example:
!GetAtt RedisReplicationGroup.PrimaryEndPoint.Address
!GetAtt GraphQlApi.GraphQLUrl
stopped working, which is reported as: