Skip to content

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

Description

@spinlud

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions