Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Jun 7, 2024
1 parent 4f0ed27 commit b50804d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions plugins/modules/backup_vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,19 +207,6 @@ def get_vault_facts(module, client, vault_name):
resource = resp.get("BackupVaultArn")
resp["tags"] = get_backup_resource_tags(module, client, resource)

# Check for non-existent values and populate with None
optional_vals = set(
[
"S3KeyPrefix",
"SnsTopicName",
"SnsTopicARN",
"CloudWatchLogsLogGroupArn",
"CloudWatchLogsRoleArn",
"KmsKeyId",
]
)
for v in optional_vals - set(resp.keys()):
resp[v] = None
return resp

else:
Expand Down

0 comments on commit b50804d

Please sign in to comment.