RDS: Fix ClusterSnapshot template to include tags (#6699)

* fix ClusterSnapshot template to include tags

* update

---------

Co-authored-by: bot-test <bot-test@zendesk.com>
This commit is contained in:
Dan Ballweg 2023-08-19 05:56:07 -05:00 committed by GitHub
parent 27f025320a
commit f57bb251c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,6 +485,11 @@ class ClusterSnapshot(BaseModel):
{% else %}
<StorageType>{{ cluster.storage_type }}</StorageType>
{% endif %}
<TagList>
{%- for tag in snapshot.tags -%}
<Tag><Key>{{ tag['Key'] }}</Key><Value>{{ tag['Value'] }}</Value></Tag>
{%- endfor -%}
</TagList>
<Timezone></Timezone>
<LicenseModel>{{ cluster.license_model }}</LicenseModel>
</DBClusterSnapshot>