HCL language support for IntelliJ platform based IDEs
Apache License 2.0
244
stars
47
forks
source link
Bug: google_container_node_pool - plugin tries to create workload_metadata_config block inside node_config with node_metadata attribute as being required #394
[x] Ensure you have latest version of plugin installed
[x] Search for possible issue duplicates
Installation details
[x] IDE version
IntelliJ IDEA 2022.1.1 (Ultimate Edition)
Build #IU-221.5591.52, built on May 10, 2022
Runtime version: 11.0.14.1+1-b2043.45 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.48-1-manjaro
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Non-Bundled Plugins:
org.rust.lang (0.4.172.4687-221)
org.jetbrains.plugins.go-template (221.5591.19)
org.intellij.plugins.hcl (221.5591.19)
mobi.hsz.idea.gitignore (4.4.0)
com.intellij.kubernetes (221.5591.58)
Kotlin: 221-1.6.21-release-337-IJ5591.52
Current Desktop: KDE
Prerequisites
Installation details
Kotlin: 221-1.6.21-release-337-IJ5591.52 Current Desktop: KDE
Terraform Configuration Files
Expected Behavior
It should create the block with the
mode
attribute as stated in the documentation and the provider source code: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#nested_workload_metadata_config https://github.com/hashicorp/terraform-provider-google/blob/0baa871ae8f0cadef4feeeff730ee021ae114154/google/node_config.go#L277Actual Behavior
It created the block with a non existent argument that it says is required.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Image: