@@ -748,7 +748,8 @@ scenario "dr_replication" {
748748 ip_version = matrix. ip_version
749749 integration_host_state = step. set_up_external_integration_target . state
750750 leader_host = step. get_primary_cluster_ips . leader_host
751- ports = global. integration_host_ports
751+ ports = global. ports
752+ ipv4_cidr = step. create_vpc . ipv4_cidr
752753 vault_addr = step. create_primary_cluster . api_addr_localhost
753754 vault_edition = matrix. edition
754755 vault_install_dir = global. vault_install_dir [matrix . artifact_type ]
@@ -1159,6 +1160,7 @@ scenario "dr_replication" {
11591160 vault_root_token = step. create_secondary_cluster . root_token
11601161 verify_pki_certs = false
11611162 verify_aws_engine_creds = false
1163+ verify_ssh_secrets = false
11621164 }
11631165 }
11641166
@@ -1300,6 +1302,39 @@ scenario "dr_replication" {
13001302 vault_root_token = step. create_secondary_cluster . root_token
13011303 verify_pki_certs = false
13021304 verify_aws_engine_creds = false
1305+ verify_ssh_secrets = false
1306+ }
1307+ }
1308+
1309+ # Verification is intentionally disabled for DR clusters because they do not handle client requests.
1310+ # However, we still include this step to future-proof the module, making it easier to enable delete
1311+ # verification later for other secrets engines or use cases where DR verification becomes relevant.
1312+ # For now, the script will short-circuit if verification is disabled. Potential future work will include
1313+ # verifying against the primary cluster.
1314+ step "verify_secrets_engines_delete" {
1315+ description = global. description . verify_secrets_engines_delete
1316+ module = module. vault_verify_secrets_engines_delete
1317+ depends_on = [
1318+ step . verify_secrets_engines_on_primary ,
1319+ step . verify_failover_replicated_data
1320+ ]
1321+
1322+ providers = {
1323+ enos = local.enos_provider[matrix.distro]
1324+ }
1325+
1326+ verifies = [
1327+ quality . vault_api_ssh_role_delete
1328+ ]
1329+
1330+ variables {
1331+ create_state = step. verify_secrets_engines_on_primary . state
1332+ hosts = step. get_secondary_cluster_ips . follower_hosts
1333+ leader_host = step. get_secondary_cluster_ips . leader_host
1334+ vault_addr = step. create_secondary_cluster . api_addr_localhost
1335+ vault_install_dir = global. vault_install_dir [matrix . artifact_type ]
1336+ vault_root_token = step. create_secondary_cluster . root_token
1337+ verify_ssh_secrets = false
13031338 }
13041339 }
13051340
0 commit comments