binxio/cfn-secret-provider

stack update fails with current FunctionName

Closed this issue · 0 comments

ab77 commented

Thanks for awesome work.

The current function naming fails with stack updates, suggest instead the following FunctionName which works with stack updates/change sets:

...
        S3Key: !Ref 'CFNCustomProviderZipFileName'
      FunctionName: !Join [ '-', [ 'binxio-cfn-secret-provider', !Select [ 2, !Split [ '/', !Ref 'AWS::StackId' ]]]]
      Handler: secrets.handler
...