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

Bug: Unable to apply input set after importing to state #933

Open
NoahCallaway opened this issue Feb 29, 2024 · 0 comments
Open

Bug: Unable to apply input set after importing to state #933

NoahCallaway opened this issue Feb 29, 2024 · 0 comments

Comments

@NoahCallaway
Copy link

Terraform Version

Terraform v1.7.4
on linux_amd64
+ provider registry.terraform.io/harness/harness v0.30.4

Affected Resource(s)

  • harness_platform_input_set

Terraform Configuration Files

resource "harness_platform_input_set" "input_set" {
  org_id     = var.org_id
  project_id = var.project_id

  pipeline_id = var.pipeline_identifier

  for_each = var.input_sets

  identifier      = each.value.identifier
  name            = each.value.name

  import_from_git = true
  
  git_import_info {
    branch_name   = var.branch_name
    file_path     = each.value.file_path
    connector_ref = var.github_connector_ref
    repo_name     = var.repo_name
  }
  input_set_import_request {
    input_set_name = each.value.name
  }

  depends_on = [harness_platform_pipeline.pipeline]
}

Debug Output

Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.

Happy to share in a Harness support ticket.

Panic Output

image

Expected Behavior

Resource should update

Actual Behavior

Terraform provider Errored.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. import resource terraform import module.remote_pipelines[\"dev_to_prod_eks\"].harness_platform_input_set.input_set[\"inputset_dev_to_prod_eks\"] <redacted>/<redacted>/Dev_to_Prod_EKS/inputset_dev_to_prod_eks
  2. run terraform apply
  3. provider error recieved
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