diff --git a/internal/service/platform/connector/k8s_rancher_data_source_test.go b/internal/service/platform/connector/k8s_rancher_data_source_test.go index 42c8ac7da..58135546f 100644 --- a/internal/service/platform/connector/k8s_rancher_data_source_test.go +++ b/internal/service/platform/connector/k8s_rancher_data_source_test.go @@ -58,10 +58,9 @@ func testAccDataSourceConnectorRancherBearerToken(name string) string { tags = ["foo:bar"] delegate_selectors = ["harness-delegate"] - + rancher_url = "https://rancher.cluster.example" bearer_token { - rancher_url = "https://rancher.cluster.example" - password_ref = "account.${harness_platform_secret_text.test.id}" + bearer_token_ref = "account.${harness_platform_secret_text.test.id}" } depends_on = [time_sleep.wait_4_seconds]