Closed GavinZZ closed 1 day ago
Ideally it would be nice to throw a warning at synthesize time, but that's not possible because this issue only happens with unresolved tokens in parameter name. We can't determine whether the unresolved token contains /
or not until later stage in the app life cycle. Thus, updating the docstring and README.
Just a few minor changes. Is there any validation present that checks if the
simpleName
boolean value is appropriate for the givenparameterName
? If not should we add some to enforce it or are there cases where we want to allow it?
There're codes to verify is simpleName
is appropriate to use. If not will raise exceptions. But this is to handle the case of unresolved token so we can't do much verifications.
Ideally it would be nice to throw a warning at synthesize time, but that's not possible because this issue only happens with unresolved tokens in parameter name. We can't determine whether the unresolved token contains
/
or not until later stage in the app life cycle. Thus, updating the docstring and README.
Ohh gotcha, ok that should be fine then.
@merigyfio update
@mergify update
update
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
Issue # (if applicable)
Closes #28778.
Reason for this change
There are issues with SSM
StringParameter
where the parameter ARN would have missing/
or duplicate/
depending on the setup ofsimpleName
with unresolved tokens in the parameter name.Description of changes
Update README and docstring to explain to users when and how to correctly use
simpleName
parameter.Description of how you validated changes
No code changes made.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license