Add support for GKE Workload Identity. This would involve a new field/configuration block on google_container_cluster to enable the workload identity feature, as well as updating the list of allowed values in the workload_metadata_config block which is part of node_config.
resource "google_container_cluster" "my-cluster" {
...
enable_workload_identity = "true"
...
}
resource "google_container_node_pool" "my-node-pool" {
...
node_config{
workload_metadata_config {
node_metadata = "GKE_METADATA_SERVER"
}
}
...
https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
I'm looking to add this.
@jeremyje big thanks for the quick work on this! Looking forward to the 2.8.1 release of the google provider :D
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
Most helpful comment
I'm looking to add this.