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

Empty Summary: Provider bug with harness_platform_feature_flag #853

Open
Chr1stian opened this issue Jan 11, 2024 · 2 comments
Open

Empty Summary: Provider bug with harness_platform_feature_flag #853

Chr1stian opened this issue Jan 11, 2024 · 2 comments

Comments

@Chr1stian
Copy link

Chr1stian commented Jan 11, 2024

Terraform Version

Using Terraform version 1.1.1

Affected Resource(s)

  • harness_platform_feature_flag

Terraform Configuration Files

// Boolean Feature Flag
resource "harness_platform_feature_flag" "pricingservice_enableKafkaImplementation" {
  org_id     = var.harness_org_id
  project_id = var.harness_project_id

  kind       = "boolean"
  name       = "pricingservice_enableKafkaImplementation"
  identifier = "pricingservice_enableKafkaImplementation"
  permanent  = false

  default_on_variation  = "Enabled"
  default_off_variation = "Disabled"

  depends_on = [harness_platform_ff_api_key.harness_ff_apikey]

  environment {
    identifier = var.harness_ff_env_id
  }

  variation {
    identifier  = "Enabled"
    name        = "Enabled"
    description = "The feature is enabled"
    value       = "true"
  }

  variation {
    identifier  = "Disabled"
    name        = "Disabled"
    description = "The feature is disabled"
    value       = "false"
  }
}

Debug Output

https://gist.github.com/Chr1stian/4007a608fb42b67c208bdfd00e666907

Expected Behavior

No Error should be thrown

Actual Behavior

An error was thrown, but the resources got created

Steps to Reproduce

  1. terraform apply

Important Factoids

Just the fact that we run Terraform v 1.1.0 and can´t easily change it because of delegate constraints

References

Couldn´t fint any

@ribeirophillipe
Copy link
Contributor

@Chr1stian I will take over this issue to fix it

@Chr1stian
Copy link
Author

Great @ribeirophillipe , let me know if I can help or provide more information

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

2 participants