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

Unable to refresh state that contains harness_platform_db_schema #1093

Open
jtitra opened this issue Oct 16, 2024 · 0 comments
Open

Unable to refresh state that contains harness_platform_db_schema #1093

jtitra opened this issue Oct 16, 2024 · 0 comments

Comments

@jtitra
Copy link

jtitra commented Oct 16, 2024

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

❯ tofu --version
OpenTofu v1.8.3
on darwin_arm64
+ provider registry.opentofu.org/harness/harness v0.34.1

Affected Resource(s)

  • harness_platform_db_schema

Terraform Configuration Files

resource "harness_platform_db_schema" "pet_clinic_tf" {
  identifier = "PetClinic_TF"
  name       = "PetClinic - TF"
  org_id     = "sandbox"
  project_id = "Titra"
  service = ""

  schema_source {
    connector = "account.HCRAccountLevel"
    repo      = "sandbox/Titra/harness-petclinic.git"
    location  = "harness-deploy/postgres/database-changelog.yaml"
  }

  tags = ["owner:Titra", "iacmManaged:true"]
}

Debug Output

https://gist.github.com/jtitra/1325e579c90854b76b6a62a70a1f9eb0

Expected Behavior

successful state refresh

Actual Behavior

error occurs

Steps to Reproduce

  1. tofu apply to create harness_platform_db_schema resource
  2. tofu apply with or without any changes to the resource produces error
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