You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check parameters that should only specified with state=restore
477
476
ifself.state=="backup"and (
478
477
self.backup_id
479
-
orself.backup_location
480
478
orself.skip_atlas_indexes
481
479
orself.skip_atlas_metadata
482
480
orself.skip_ranger_audits
483
481
orself.skip_ranger_hms_metadata
484
482
orself.skip_validation
485
483
):
486
484
self.module.fail_json(
487
-
msg="Unable to use 'state=backup' with args 'backup_id', 'backup_location', 'skip_atlas_indexes', 'skip_atlas_metadata', 'skip_ranger_audits', 'skip_ranger_hms_metadata' or 'skip_validation'",
485
+
msg="Unable to use 'state=backup' with args 'backup_id', 'skip_atlas_indexes', 'skip_atlas_metadata', 'skip_ranger_audits', 'skip_ranger_hms_metadata' or 'skip_validation'",
486
+
)
487
+
488
+
# Validate that backup_location requires backup_id only when state=restore
0 commit comments