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

Disable the plugin for package/deploy and ny other non local invocation #59

Open
spinlud opened this issue Sep 28, 2023 · 0 comments
Open

Comments

@spinlud
Copy link

spinlud commented Sep 28, 2023

Is it possible to disable this plugin when calling serverless package or serverless deploy?

Tried with

  export-env:
    enableOffline: true
    getAttMap:
      MyEnvVar: 'foobar'

but it is still try to resolve MyEnvVar even when calling serverless deploy. I would like the plugin to work only for local invocations like serverless invoke local or serverless offline. In all other cases I need the real thing with AWS CloudFormation variables resolver.

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

No branches or pull requests

1 participant