Add enable_iam_database_authentication variable into snapshot 'to_xml'
This commit is contained in:
parent
eb0687eeaa
commit
06e4cafd20
@ -544,7 +544,7 @@ class Snapshot(BaseModel):
|
|||||||
<KmsKeyId>{{ database.kms_key_id }}</KmsKeyId>
|
<KmsKeyId>{{ database.kms_key_id }}</KmsKeyId>
|
||||||
<DBSnapshotArn>{{ snapshot.snapshot_arn }}</DBSnapshotArn>
|
<DBSnapshotArn>{{ snapshot.snapshot_arn }}</DBSnapshotArn>
|
||||||
<Timezone></Timezone>
|
<Timezone></Timezone>
|
||||||
<IAMDatabaseAuthenticationEnabled>false</IAMDatabaseAuthenticationEnabled>
|
<IAMDatabaseAuthenticationEnabled>{{ database.enable_iam_database_authentication|lower }}</IAMDatabaseAuthenticationEnabled>
|
||||||
</DBSnapshot>"""
|
</DBSnapshot>"""
|
||||||
)
|
)
|
||||||
return template.render(snapshot=self, database=self.database)
|
return template.render(snapshot=self, database=self.database)
|
||||||
|
Loading…
Reference in New Issue
Block a user