You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the following error when trying to use this project to create a DCOS cluster on GCP :
terraform apply -var-file desired_cluster_profile.tfvars
[...]
google_compute_network.default: 1 error(s) occurred:
* google_compute_network.default: Error creating network: googleapi: Error 400: Invalid value for field 'resource.name': 'guillaume.dupin-tfa0be-dcos-network'. Must be a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)', invalid
[...]
It is because GCP resources are named with the username (returned by the script "whoami.sh") but if this name contains a dot ("."), it is not a valid character in a GCP resource.
Maybe a fix would be to remove dots (and any forbidden character) from the whoami result to avoid such error.
The text was updated successfully, but these errors were encountered:
I had the following error when trying to use this project to create a DCOS cluster on GCP :
It is because GCP resources are named with the username (returned by the script "whoami.sh") but if this name contains a dot ("."), it is not a valid character in a GCP resource.
Maybe a fix would be to remove dots (and any forbidden character) from the whoami result to avoid such error.
The text was updated successfully, but these errors were encountered: