question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SSM warning is now throwing an error

See original GitHub issue

Bug Report

Description

  1. What did you do? upgrade serverless
  2. What happened?
Serverless Error ---------------------------------------
  ParameterNotFound
  1. What should’ve happened?
 Serverless Warning
 A valid SSM parameter to satisfy the declaration .... could not be found
  1. What’s the content of your serverless.yml file? my stages are:
int1:
  basicAuthUsername: ${ssm:/app/int/basic_auth_user}
uat:
  basicAuthUsername: ${ssm:/app/uat/basic_auth_user}
prod:
  basicAuthUsername: ${ssm:/app/prod/basic_auth_user}

int1 and uat live in the same aws account prod is in a different account. This did just spit out a warning saying this doesn’t exist now i cannot deploy the app.

I think just not evaluating other stages would fix this issue. ie. when i do sls deploy --stage int why should the prod ssm get executed?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ghostcommented, Jan 28, 2020

I don’t think it matters whether this is about stage-specific configuration; the main issue is that in a patch-version change, missing SSM parameters were changed from being a warning to a hard error. Either this should be reverted or version 1.61.3 should be yanked and replaced with a 2.0.0 release.

1reaction
medikoocommented, Jan 28, 2020

Will be fixed with #7265

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use SSM Agent logs to troubleshoot issues with SSM ... - AWS
When SSM Agent can't reach the metadata service endpoints, you see an error message similar to the following in the SSM Agent logs:....
Read more >
A valid SSM parameter to satisfy the declaration 'ssm ...
The error is correct: the user is not permitted to get the value. But it has no need to get the value. Since...
Read more >
SSM Graph error - SAP Community
description The server encountered an internal error () that prevented it from fulfilling this request. exception. javax.servlet.ServletException: Servlet ...
Read more >
Release notes for SQL Server Management Studio (SSMS)
Auditing, Fixed an issue where SSMS was throwing an error dialog when ... Users of SQL Server Management Studio are now able to...
Read more >
Variables - Serverless Framework
You can reference SSM Parameters as the source of your variables with the ... variable source should be resolved with null , and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found