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

signalfx_single_value_chart missing support for max and min values when secondary_visualization is Radial or Linear #296

Closed
RomeroGaliza opened this issue Mar 30, 2021 · 1 comment
Labels

Comments

@RomeroGaliza
Copy link

When trying to create a signalfx_single_value_chart with the following attributes:

resource "signalfx_single_value_chart" "generic_gauge_chart" {

  name         = var.chart_name
  description  = var.chart_description
  program_text = var.chart_program_text

  unit_prefix      = "Metric"
  color_by         = "Scale"
  refresh_interval = 1

  secondary_visualization = "Radial"

  color_scale {
    color = "green"
    lt    = 10
  }

  color_scale {
    color = "yellow"
    gte   = 10
    lte   = 60
  }

  color_scale {
    color = "red"
    gt    = 60
  }

}

I get the following error:

Error: Unexpected status code: 400: {
  "code" : 400,
  "message" : "Open ended range not allowed"
}

  on main.tf line 1, in resource "signalfx_single_value_chart" "generic_gauge_chart":
   1: resource "signalfx_single_value_chart" "generic_gauge_chart" {

I noticed this case is not covered by your test (https://github.com/splunk-terraform/terraform-provider-signalfx/blob/c6041ba5f36e51f22b68b63c96650a91d06a9f5c/signalfx/resource_signalfx_single_value_chart_test.go) in version 6.7.3.

@atoulme atoulme added the bug label May 10, 2024
@atoulme
Copy link
Contributor

atoulme commented Oct 16, 2024

Closing this issue as unplanned. If this issue is still relevant, please reopen the issue.

@atoulme atoulme closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants