|
|
# Hints
|
|
|
|
|
|
If you get errors like this
|
|
|
|
|
|
```
|
|
|
Error: module.cloudsql.google_sql_database_instance.cloudsql: 1 error(s) occurred:
|
|
|
* module.cloudsql.google_sql_database_instance.cloudsql: key "default" does not exist in map var.sql_instance_size in:
|
|
|
${var.sql_instance_size[terraform.workspace]}
|
|
|
|
|
|
Error: module.gke.google_container_cluster.primary: 1 error(s) occurred:
|
|
|
* module.gke.google_container_cluster.primary: key "default" does not exist in map var.gke_num_nodes in:
|
|
|
${var.gke_num_nodes[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 a resource cannot be found by Terraform and this even prevents a `terraform refresh` with an error like
|
|
|
|
|
|
```
|
... | ... | |