{"action":"opened","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-signalfx/issues/35","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-signalfx","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-signalfx/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-signalfx/issues/35/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-signalfx/issues/35/events","html_url":"https://github.com/terraform-providers/terraform-provider-signalfx/issues/35","id":472569688,"node_id":"MDU6SXNzdWU0NzI1Njk2ODg=","number":35,"title":"`high_watermark` and `low_watermark` are always being updated during `apply` if their values are not set","user":{"login":"justinskariah","id":511070,"node_id":"MDQ6VXNlcjUxMTA3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/511070?v=4","gravatar_id":"","url":"https://api.github.com/users/justinskariah","html_url":"https://github.com/justinskariah","followers_url":"https://api.github.com/users/justinskariah/followers","following_url":"https://api.github.com/users/justinskariah/following{/other_user}","gists_url":"https://api.github.com/users/justinskariah/gists{/gist_id}","starred_url":"https://api.github.com/users/justinskariah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinskariah/subscriptions","organizations_url":"https://api.github.com/users/justinskariah/orgs","repos_url":"https://api.github.com/users/justinskariah/repos","events_url":"https://api.github.com/users/justinskariah/events{/privacy}","received_events_url":"https://api.github.com/users/justinskariah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-24T22:17:53Z","updated_at":"2019-07-24T22:17:53Z","closed_at":null,"author_association":"NONE","body":"If `high_watermark` and `low_watermark` are not set in `signalfx_time_chart` -> `axis_left`,\r\ndefault handling for `high_watermark` and `low_watermark` causes it to be set for every `apply`.\r\n\r\nSteps to reproduce:\r\n* Create a `signalfx_time_chart` resource with the following `axis_left`\r\n```\r\n  axis_left {\r\n    label = \"%\"\r\n    min_value = 0\r\n    max_value = 110\r\n  }\r\n```\r\n* Run `terraform apply` to create the new chart\r\n* Run `terraform apply` again\r\n* You would see the following changes to `apply`, even though you have not made any changes to `axis_left`\r\n\r\n```\r\n      - axis_left {\r\n          - high_watermark = 179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> null\r\n          - label          = \"%\" -> null\r\n          - low_watermark  = 179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -> null\r\n          - max_value      = 110 -> null\r\n          - min_value      = 0 -> null\r\n        }\r\n      + axis_left {\r\n          + high_watermark = 340282346638528860000000000000000000000\r\n          + label          = \"%\"\r\n          + low_watermark  = -340282346638528860000000000000000000000\r\n          + max_value      = 110\r\n          + min_value      = 0\r\n        }\r\n```\r\n\r\nExpected behaviour\r\n* `terraform apply` should return no changes to apply"}}
{"actor":{"display_login":"justinskariah"}}