Connection V2 Pause State: fivetran_connection_v2_pause_state Public Preview
The fivetran_connection_v2_pause_state resource lets you manage the paused state of a fivetran_connection_v2 connection separately from the connection resource itself. You can pause and resume a connection without triggering changes to, or replacement of, the connection's own configuration. For more information about each attribute, see the fivetran_connection_v2_pause_state reference in the Terraform registry.
Example configuration
resource "fivetran_connection_v2_pause_state" "example" { connection_id = "<CONNECTION_ID>" paused = false }
The fivetran_connection_v2 resource always creates connections in a paused state. To start syncing, add this resource and set paused = false.
Notes
- Required fields are uncommented. Optional fields are commented out so that you can enable only the settings that apply to your configuration.
- Values in
<UPPERCASE>are placeholders. Replace them with your own values before you runterraform apply. - Fields marked
# sensitiveare sensitive in the provider schema, so Terraform hides their values in plan and apply output. Terraform still stores these values in the state file. Pass them in through variables instead of hardcoding them, and keep your state in a secure backend. For more information, see the Terraform documentation on sensitive data in state. - Fields marked
# immutablecannot be changed after the resource is created. - The example lists only the fields that you can set. Read-only and deprecated attributes are omitted.
- For more information about every attribute, see the Fivetran provider documentation in the Terraform registry.