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

Problem with colors and signalfx_list_chart #279

Open
doctornkz opened this issue Jan 5, 2021 · 1 comment
Open

Problem with colors and signalfx_list_chart #279

doctornkz opened this issue Jan 5, 2021 · 1 comment
Labels

Comments

@doctornkz
Copy link

I am trying to apply that terraform state:

resource "signalfx_list_chart" "sfx-XXX" {
  name             = "# of Pods by Phase"
  description      = ""
  program_text     = <<EOF

<SKIPPED>

EOF
  disable_sampling = false
  unit_prefix      = "Metric"
  color_by         = "Dimension"
  max_delay        = 0
  refresh_interval = 0
  viz_options {
    color        = "blue"
    value_suffix = "pods"
    display_name = "Unknown"
    label        = "E"
  }
  viz_options {
    display_name = "Pending"
    label        = "A"
    color        = "dark_yellow"
    value_suffix = "pods"
  }
 
 AND SO ON

and I am getting the error:

Error: dark_yellow not allowed; must be either azure,brown,pink,violet,gray,aquamarine,orange,emerald,green,iris,blue,navy,yellow,magenta,purple,lilac

  on sfx_test.tf line 140, in resource "signalfx_list_chart" "sfx-XXX":
 140: resource "signalfx_list_chart" "sfx-XXX" {

and I confused because in documentation I have this: https://registry.terraform.io/providers/splunk-terraform/signalfx/latest/docs/resources/list_chart#color

color - (Optional) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.

as you see dark_yellow is there.

What do you think?

@doctornkz
Copy link
Author

Up?

@atoulme atoulme added the bug label May 4, 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