Skip to content

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

@spinlud

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.

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