Skip to content

Commit f7f888e

Browse files
Update using_gke_with_terraform.html.markdown (#13961) (#22808)
[upstream:35d7a23379d9338dc208c5bcf91b945459c90b58] Signed-off-by: Modular Magician <[email protected]>
1 parent 4f4be73 commit f7f888e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/13961.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:note
2+
Fixes a typo in the docs
3+
```

website/docs/guides/using_gke_with_terraform.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ provider "kubernetes" {
5959
)
6060
}
6161
```
62-
Although the above can result in authentication errors, over time, as the token recorded in the google_client_cofig data resource is short lived (thus it expires) and it's stored in state. Fortunately, the [kubernetes provider can accept valid credentials from an exec-based plugin](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs#exec-plugins) to fetch a new token before each Terraform operation (so long as you have the [gke-cloud-auth-plugin for kubectl installed](https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke)), like so:
62+
Although the above can result in authentication errors, over time, as the token recorded in the google_client_config data resource is short lived (thus it expires) and it's stored in state. Fortunately, the [kubernetes provider can accept valid credentials from an exec-based plugin](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs#exec-plugins) to fetch a new token before each Terraform operation (so long as you have the [gke-cloud-auth-plugin for kubectl installed](https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke)), like so:
6363

6464
```hcl
6565
# Retrieve an access token as the Terraform runner

0 commit comments

Comments
 (0)