Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin crashes with SIGSEGV when specifying delegate_selectors in azure key vault connector #876

Open
gschultz opened this issue Jan 25, 2024 · 0 comments

Comments

@gschultz
Copy link

gschultz commented Jan 25, 2024

Running latest harness provider 0.30.2.

The harness_platform_connector_azure_key_vault resource is created successfully if I omit the delegate_selectors argument. I am also able to manually create this connector using in the Harness web UI using the same delegate selector tag.

Terraform Version

1.7.1

Affected Resource(s)

  • harness_platform_connector_azure_key_vault

Panic Output

https://gist.github.com/gschultz/fdcbd59f6ee700188a6f19ce482f3f30

Expected Behavior

Azure key vault connector created in Harness.

Actual Behavior

terraform-provider-harness plugin crashed.

Steps to Reproduce

Try to create a harness_platform_connector_azure_key_vault specifying a delegate_selectors argument.

Example:

resource "harness_platform_connector_azure_key_vault" "example" {
  identifier = "identifier"
  name = "name"
  org_id = "org"
  project_id = "project"
  tags = ["tag"]
  delegate_selectors = ["delegate-tag"]

  client_id = azuread_service_principal.harness_vault_connector.client_id
  tenant_id = var.azure_tenant_id
  subscription = var.azure_subscription_id
  secret_key = harness_platform_secret_text.key_vault_client_secret.id
  vault_name = var.azure_vault_name

  depends_on = [azurerm_role_assignment.harness_reader]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant