modular-magician user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned to hashibot, a community member has claimed the issue already.Status: Downloaded newer image for hashicorp/terraform:0.13.3
docker.io/hashicorp/terraform:0.13.3
Initializing the backend...
Successfully configured the backend "gcs"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Finding hashicorp/google versions matching ">= 3.3.*"...
- Installing hashicorp/google v3.42.0...
- Installed hashicorp/google v3.42.0 (signed by HashiCorp)
Terraform has been successfully initialized!
google_service_accountdata "google_service_account" "compute_default" {
account_id = "1234567890-compute" # this is line 14 (see below)
}
Already have image: hashicorp/terraform:0.13.3
Error: "account_id" ("1234567890-compute") doesn't match regexp "^[a-z](?:[-a-z0-9]{4,28}[a-z0-9])$"
on main.tf line 14, in data "google_service_account" "compute_default":
14: account_id = "1234567890-compute"
the data source returns the data for this (generated by default by GCP) service account
See error above
terraform applyUsing https://www.terraform.io/docs/providers/google/d/compute_default_service_account.html instead worked.
I will move this to enhancement bucket for google_service_account data source. It will get triaged and worked on if team decides to take off the validation.