fivetran / terraform-provider-fivetran

Terraform Provider for Fivetran
https://fivetran.com
Apache License 2.0
40 stars 23 forks source link

pendo connector #286

Closed petero2024 closed 5 months ago

petero2024 commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

When terraform provisioning a pendo connector the following error displayed:

Error: Provider produced inconsistent result after apply │ │ When applying changes to fivetran_connector.pendo, provider "provider[\"registry.terraform.io/fivetran/fivetran\"]" produced an unexpected new value: .config.integration_key: was cty.StringVal("xxxxxxx-xxxxxxxx-xxxxxxxxx.eu"), but
│ now cty.StringVal("**"). │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker.

To Reproduce Provide an example .tf configuration

resource "fivetran_connector" "pendo" { group_id = module.fivetran_destination.fivetran_destination_group_id service = "pendo" run_setup_tests = true

destination_schema { name = "ft_pendo" }

config { integration_key = var.fivetran_connector_pendo_api_key region = var.fivetran_connector_pendo_region sync_mode = "AllAppIds" }

}

my connector is in EU region

Expected behavior A clear and concise description of what you expected to happen.

Provision the connector without error and the Fivetran dashboard to display "Start Initial sync". It displays even with the error, so I could potentially initiate a sync but the error message appears in the code which should be looked at and fixed.

Logs & Output Provide terraform CLI output on plan | apply. If it is possible, please, refer to this guide to enable debug output.

after terraform apply the error above mentioned displayed

Plugin version: Please specify Fivetran Terraform Provider version you are using.

terraform { required_providers { fivetran = { source = "fivetran/fivetran" version = ">= 1.1.20" } } }

Additional context Add any other context about the problem here.