Busabase
Busabase 是一个开源(MIT)数据库与 AI 智能体工作空间——将数据、文档、技能和应用集成于一体。您可以本地运行、在网络内自托管或使用 Busabase Cloud,从而开启新时代。
AI 翻译
Terraform Provider for Fivetran
翻译准备中
正在加载完整 README。
查看完整 README ↗The terraform-provider-fivetran is the official Terraform provider for managing Fivetran resources as infrastructure as code. Use it to provision and manage destinations, connections, users, teams, roles, and other Fivetran resources through version-controlled Terraform configurations.
We strongly encourage you to get acquainted with the Fivetran REST API documentation before using our Terraform provider.
See our CHANGELOG for information about the latest bug fixes, updates, and features added to the provider.
Create a Terraform configuration:
terraform {
required_version = ">= 1.0"
required_providers {
fivetran = {
source = "fivetran/fivetran"
version = "~> 1.9"
}
}
}
provider "fivetran" {}
resource "fivetran_group" "example" {
name = "terraform-example"
}
Set your credentials as environment variables:
export FIVETRAN_APIKEY="your-api-key"
export FIVETRAN_APISECRET="your-api-secret"
Initialize Terraform and preview the configuration:
terraform init
terraform plan
Never commit API credentials to .tf files or version control. The provider requires the API key and API secret as separate values; do not use a Base64-encoded API key as either value. For authentication options and API-key types, see our Getting Started Guide.
Fivetran connection settings are service-specific. You can use the legacy fivetran_connector resource or the Connection_v2 Configuration Page to generate the required HCL for a connection service.
The fivetran_connection_v2 resource uses metadata-driven config and auth objects and validates their fields during planning. Keep these behaviors in mind:
destination_schema_names is required.config and auth fields depend on the selected service.auth; follow the generated configuration for the service.fivetran_connection_v2_pause_state.fivetran_connection_v2 and fivetran_connection_v2_pause_state are in alpha and are subject to change at any moment.See the fivetran_connection_v2 reference for the full resource schema and current alpha limitations.
terraform apply.For release-specific changes and known fixes, review the changelog before upgrading.
unexpected new value: .config.field: was cty.StringVal("value"), but now null
Or
unexpected new value: .config.field: inconsistent values for sensitive attribute
Check that the field causing the problem is actually applicable to the service specified in the resourcefivetran_connector_schema_config in Terraform may result in a Table with name [TABLE_NAME] not found in source schema [SCHEMA_NAME] error. This occurs because the SAP ERP for HANA connector initially starts with no schema preloaded, and a schema discovery process must complete successfully before tables can be configured. Even setting validation_level = "NONE" in Terraform does not resolve this underlying backend requirement. As a workaround, it is recommended to create the fivetran_connector resource without the fivetran_connector_schema_config resource first. Allow the connector to be created and initiate its schema discovery. After the connector is established and the schema has been discovered (which may require a manual refresh in the Fivetran UI or an API call), then manage table selections and schema configurations directly within the Fivetran UI.For feedback, feature requests, or bug reports, contact Fivetran through the Support Portal.
External contributions are not currently accepted. See CONTRIBUTING.md for the current contribution policy.
This project is licensed under the Apache License 2.0.