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

Default values for appoptics_dashboard_chart are not handled #56

Open
poleszcz opened this issue Sep 28, 2022 · 0 comments
Open

Default values for appoptics_dashboard_chart are not handled #56

poleszcz opened this issue Sep 28, 2022 · 0 comments

Comments

@poleszcz
Copy link
Contributor

poleszcz commented Sep 28, 2022

If chart is defined with only required values:

resource "appoptics_dashboard_chart" "example_chart2" {
  space_id   = appoptics_dashboard.example_dashboard.id
  name       = "Example Chart2"
}

then next terraform plan after creation reveals that in fact chart has more attributes already defined - what is not in line with terraform definition.

  # appoptics_dashboard_chart.example_chart2 must be replaced
-/+ resource "appoptics_dashboard_chart" "example_chart2" {
      ~ id            = "30588061" -> (known after apply)
      - max           = 0 -> null
      - min           = 0 -> null
        name          = "Example Chart2"
      - related_space = 0 -> null
      - type          = "line" -> null # forces replacement
        # (1 unchanged attribute hidden)
    }
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