Skip to content

Updated serverless.yml#6

Open
weisisheng wants to merge 1 commit intorangle:masterfrom
weisisheng:patch-3
Open

Updated serverless.yml#6
weisisheng wants to merge 1 commit intorangle:masterfrom
weisisheng:patch-3

Conversation

@weisisheng
Copy link
Copy Markdown

Current code in main directory causes the following error:

Trying to request a non exported variable from CloudFormation. Stack name: "stripe-eventbridge-deps-dev" Requested variable: "StripeWebhookSecretArn.Name".

If you find/replace the following in the serverless.yml, deploy is successful.

original

ENDPOINT_SECRET: "${cf:stripe-eventbridge-deps-${self:provider.stage}.StripeWebhookSecretArn.Name}"

Replacement

ENDPOINT_SECRET: "${cf:stripe-eventbridge-deps-${self:provider.stage}.StripeWebhookSecretArn}"

Current code in main directory causes the following error: 

 Trying to request a non exported variable from CloudFormation. Stack name: "stripe-eventbridge-deps-dev" Requested variable: "StripeWebhookSecretArn.Name".

If you find/replace the following in the serverless.yml, deploy is successful.

# original
ENDPOINT_SECRET: "${cf:stripe-eventbridge-deps-${self:provider.stage}.StripeWebhookSecretArn.Name}"

# Replacement
ENDPOINT_SECRET: "${cf:stripe-eventbridge-deps-${self:provider.stage}.StripeWebhookSecretArn}"
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

Successfully merging this pull request may close these issues.

1 participant