thomasmichaelwallace / serverless-better-credentials

Better AWS credentials resolution plugin for serverless
MIT License
54 stars 9 forks source link

enabled flag is not respected #37

Open brennfoster opened 5 months ago

brennfoster commented 5 months ago

Describe the bug Setting the enabled flag to false does not prevent betterCredentials from running.

To Reproduce Set enabled flag to false and run serverless

Expected behavior It should prevent betterCredentials from running.

Desktop (please complete the following information):

Based on this piece of the README:

custom:
  betterCredentials:
    # Use this flag to turn off the plugin entirely, which you may want for certain stages.
    # Defaults to true.
    enabled: true

... I'd expect that setting enabled to false would prevent betterCredentials from trying to obtain credentials.