Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serverless-pseudo-parameters deprecation warning #273

Closed
marchuffnagle opened this issue Jun 7, 2022 · 1 comment
Closed

serverless-pseudo-parameters deprecation warning #273

marchuffnagle opened this issue Jun 7, 2022 · 1 comment
Milestone

Comments

@marchuffnagle
Copy link
Contributor

When deploying, a deprecation warning is being printed by serverless:

Serverless: Deprecation warning: "serverless-pseudo-parameters" plugin is no longer needed. Please uninstall it as it will not work with next Framework major release.
            Instead rely on "${aws:region}" and "${aws:accountId}" Serverless Framework variables

The documentation for that plugin indicates that it is deprecated as well: https://www.serverless.com/plugins/serverless-pseudo-parameters

From that plugin's readme:

With version v2.50.0, new variables sources ${aws:accountId} and ${aws:region} were introduced, which can be used in properties where CloudFormation pseudo paramaters cannot be used. Please use them instead of #{AWS::...} format as supported by this plugin

@philvarner
Copy link
Collaborator

Fix is to:

  • remove all references to serverless-pseudo-parameters
  • replace #{AWS::Region} with ${aws:region}, same for accountId

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

No branches or pull requests

2 participants