{"action":"opened","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/4520","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/4520/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/4520/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/4520/events","html_url":"https://github.com/terraform-providers/terraform-provider-google/issues/4520","id":497044546,"node_id":"MDU6SXNzdWU0OTcwNDQ1NDY=","number":4520,"title":"Empty taint config block when using nvidia.com/gpu key on GKE","user":{"login":"michal0A","id":45076253,"node_id":"MDQ6VXNlcjQ1MDc2MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/45076253?v=4","gravatar_id":"","url":"https://api.github.com/users/michal0A","html_url":"https://github.com/michal0A","followers_url":"https://api.github.com/users/michal0A/followers","following_url":"https://api.github.com/users/michal0A/following{/other_user}","gists_url":"https://api.github.com/users/michal0A/gists{/gist_id}","starred_url":"https://api.github.com/users/michal0A/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal0A/subscriptions","organizations_url":"https://api.github.com/users/michal0A/orgs","repos_url":"https://api.github.com/users/michal0A/repos","events_url":"https://api.github.com/users/michal0A/events{/privacy}","received_events_url":"https://api.github.com/users/michal0A/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-23T11:37:59Z","updated_at":"2019-09-23T11:37:59Z","closed_at":null,"author_association":"NONE","body":"<!--- Please leave this line, it helps our automation: [issue-type:bug-report] --->\r\n<!--- Please keep this note for the community --->\r\n\r\n### Community Note\r\n\r\n* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request\r\n* Please do not leave \"+1\" or \"me too\" comments, they generate extra noise for issue followers and do not help prioritize the request\r\n* If you are interested in working on this issue or have submitted a pull request, please leave a comment\r\n* If an issue is assigned to the \"modular-magician\" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned to \"hashibot\", a community member has claimed the issue already.\r\n\r\n<!--- Thank you for keeping this note for the community --->\r\n\r\n### Terraform Version\r\n\r\nTerraform v0.12.8\r\n+ provider.google v2.15.0\r\n+ provider.google-beta v2.15.0\r\n\r\n### Affected Resource(s)\r\n\r\ngoogle_container_node_pool\r\n\r\n### Terraform Configuration Files\r\n```\r\nresource \"google_container_node_pool\" \"gpu_node_pool\" {\r\n  provider = \"google-beta\"\r\n\r\n  name     = \"gpu_node_pool\"\r\n\r\n  zone   = \"${var.zone}\"\r\n  cluster  = \"${google_container_cluster.cluster.name}\"\r\n\r\n  node_config {\r\n    machine_type     = \"n1-standard-4\"\r\n\r\n    guest_accelerator {\r\n      type  = \"nvidia-tesla-k80\",\r\n      count = 1\r\n    }\r\n\r\n    taint {\r\n      key    = \"nvidia.com/gpu\"\r\n      value  = \"present\"\r\n      effect = \"NO_SCHEDULE\"\r\n    }\r\n  }\r\n}\r\n\r\n```\r\n### Debug Output\r\n```\r\n2019/09/23 12:34:56 [WARN] Provider \"google-beta\" produced an invalid plan for module.research.module.gcp_node_pool.google_container_node_pool.node_pools[2], but we are tolerating it because it is using the legacy plugin SDK.\r\n    The following problems may be the cause of any confusing errors from downstream operations:\r\n      - .management[0].auto_repair: planned value cty.False does not match config value cty.NullVal(cty.Bool)\r\n      - .node_config[0].preemptible: planned value cty.False does not match config value cty.NullVal(cty.Bool)\r\n      - .node_config[0].taint[1].effect: planned value cty.NullVal(cty.String) does not match config value cty.StringVal(\"NO_SCHEDULE\")\r\n      - .node_config[0].taint[1].key: planned value cty.NullVal(cty.String) does not match config value cty.StringVal(\"nvidia.com/gpu\")\r\n      - .node_config[0].taint[1].value: planned value cty.NullVal(cty.String) does not match config value cty.StringVal(\"present\")\r\n```\r\n### Panic Output\r\n\r\n### Expected Behavior\r\n```\r\n+ taint {\r\n     + effect = \"NO_SCHEDULE\"\r\n     + key    = \"nvidia.com/gpu\"\r\n     + value  = \"present\"\r\n}\r\n```\r\n### Actual Behavior\r\n\r\n+ taint {}\r\n\r\n### Steps to Reproduce\r\n\r\nApply the configuration defined above with:\r\n\r\n1. `terraform apply`\r\n\r\n### Important Factoids\r\n\r\n### References\r\n\r\nI believe this one is related:\r\n\r\nhttps://github.com/terraform-providers/terraform-provider-google/issues/2295\r\n\r\n* #0000\r\n"}}
{"actor":{"display_login":"michal0A"}}