Closed xmik closed 2 years ago
When we have the following resource in the manifest.yaml:
manifest.yaml
- name: SomeIAMRole resource_file: templates/some-iam-role.template parameters: - parameter_key: "param1" parameter_value: "$[alfred_ssm_/my/path/to/param1]" - parameter_key: "param2" parameter_value: "$[alfred_ssm_/my/path/to/param2]"
and a SSM parameter does not exist, we get the following error:
An error occurred (ParameterNotFound) when calling the GetParameter operation:
And in result, we don't know which SSM Parameter is not found.
The error would be:
The following SSM Parameter was not found: /my/path/to/param2 An error occurred (ParameterNotFound) when calling the GetParameter operation:
This will make troubleshooting easier.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Thanks creating the pull request. We have added this to our backlog.
This issued has been fixed.
Without this PR
When we have the following resource in the
manifest.yaml
:and a SSM parameter does not exist, we get the following error:
And in result, we don't know which SSM Parameter is not found.
With this PR
The error would be:
This will make troubleshooting easier.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.