-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ssm): Generate correct SSM Parameter ARN (#1726)
The SSM parameter name (`resourceName` portion of it's ARN) is required to start with a `/`, which caused the presence of a doubled `//` in the generated ARN caused by the fact `sep` defaults to `/`. This change allows `sep` to be set to an empty string, allowing SSM rendering of correct SSM parameter ARNs.
- Loading branch information
1 parent
5c11680
commit 39df456
Showing
5 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
{ | ||
"Ref": "AWS::AccountId" | ||
}, | ||
":parameter/", | ||
":parameter", | ||
{ | ||
"Ref": "StringParameter472EED0E" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters