|
|
# Hints
|
|
|
# Errors and how to resolve them
|
|
|
|
|
|
If you get an error like
|
|
|
```
|
... | ... | @@ -8,6 +8,19 @@ ${var.sql_instance_size[terraform.workspace]} |
|
|
you are still in the default workspace. Change to dev by `terraform workspace select dev` or create it `terraform workspace new dev` if you didn't yet.
|
|
|
|
|
|
***
|
|
|
|
|
|
If you get an error like
|
|
|
```
|
|
|
oauth2: cannot fetch token: 400 Bad Request
|
|
|
Response: {
|
|
|
"error" : "invalid_grant",
|
|
|
"error_description" : "Bad Request"
|
|
|
}
|
|
|
```
|
|
|
your authentication with Google for the application-default has expired. You need to revoke it by `gcloud auth application-default revoke` and login again `gcloud auth application-default login`
|
|
|
|
|
|
***
|
|
|
|
|
|
If you get an error like
|
|
|
```
|
|
|
kubernetes_secret.credentials: Get https://35.198.136.56/api/v1/namespaces/default/secrets/hackmd-credentials: x509: certificate signed by unknown authority
|
... | ... | |