diff --git a/plugins/modules/backup_plan.py b/plugins/modules/backup_plan.py index e5f6072c716..e26fe0be720 100644 --- a/plugins/modules/backup_plan.py +++ b/plugins/modules/backup_plan.py @@ -208,6 +208,7 @@ def main(): if advanced_backup_settings: backup_plan_data["AdvancedBackupSettings"] = advanced_backup_settings response = client.create_backup_plan(aws_retry=True, BackupPlan=backup_plan_data) + response["BackupPlanName"] = backup_plan_name ensure_tags( client, module,