Fix tags for resource in ListTagsForResource (#3931)
* Fix tags for resource in ListTagsForResource * Fix review comments * Fix tests
This commit is contained in:
parent
eaac32b130
commit
58fd4aeaae
2 changed files with 23 additions and 0 deletions
|
|
@ -1331,6 +1331,11 @@ class SimpleSystemManagerBackend(BaseBackend):
|
|||
tags or [],
|
||||
)
|
||||
)
|
||||
|
||||
if tags:
|
||||
tags = {t["Key"]: t["Value"] for t in tags}
|
||||
self.add_tags_to_resource(name, "Parameter", tags)
|
||||
|
||||
return version
|
||||
|
||||
def add_tags_to_resource(self, resource_type, resource_id, tags):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue