continueops_provider_connection (Data Source)
Looks up a live provider connection (Settings → Providers) by id, or by provider_type and display_name, for example to check that the connection a runbook relies on exists and has passed its last test. Never exposes the secret. Works on any member's API key and needs no migration.
Example Usage
data "continueops_provider_connection" "cmdb" {
provider_type = "servicenow"
display_name = "CMDB"
}
output "cmdb_last_test" {
value = data.continueops_provider_connection.cmdb.health
}Schema
Optional
display_name(String) The connection's name, matched ignoring case.id(String) Connection id. Set this, or bothprovider_typeanddisplay_name.provider_type(String) The system, e.g.jira.
Read-Only
config(Map of String) The non-secret settings.has_secret(Boolean) Whether a credential is stored.health(String)untested,okorfailing.is_enabled(Boolean) Whether the connection is used at all.last_success_at(String) When a test last succeeded; null if never.last_test_at(String) When it was last tested; null if never.last_test_message(String) What the latest test said.runner_deployment_ids(Set of String) Runners it is pinned to; empty is any of this tenant's.runner_use(Boolean) Self-hosted runners may use it.use_for_discovery(Boolean) Used for asset discovery.use_for_import(Boolean) Used for importing material.
