# Detach the six original PAYMENT_DATA_SEARCH cortex search service
# resources from this state without running their revert SQL. The live
# services stay in place, now managed by cortex_search_services/{qa,prod}/.
# Blocks stay permanently as a defensive net if these addresses ever
# re-appear in state, otherwise Terraform would default-destroy and fire
# revert.

# QA
removed {
  from = snowflake_execute.payment_data_search_qa
  lifecycle {
    destroy = false
  }
}

removed {
  from = snowflake_execute.payment_data_search_qa_recent_first_profile
  lifecycle {
    destroy = false
  }
}

# UAT
removed {
  from = snowflake_execute.payment_data_search_uat
  lifecycle {
    destroy = false
  }
}

removed {
  from = snowflake_execute.payment_data_search_uat_recent_first_profile
  lifecycle {
    destroy = false
  }
}

# PROD
removed {
  from = snowflake_execute.payment_data_search_prod
  lifecycle {
    destroy = false
  }
}

removed {
  from = snowflake_execute.payment_data_search_prod_recent_first_profile
  lifecycle {
    destroy = false
  }
}
