terraform-google-modules/terraform-google-vm

How to enter service account value for this instance template

nitin194 opened this issue · 1 comments

Please suggest how to enter the service account name when executing Terraform. It is throwing error

 Error: Variables not allowed
│
│   on <value for var.service_account> line 1:
│   (source code not available)
│
│ Variables may not be used here.
╵
╷
│ Error: No value for required variable
│
│   on variables.tf line 185:
│  185: variable "service_account" {
│
│ The root module input variable "service_account" is not set, and has no default value. Use a -var or -var-file command line argument to provide a value for this variable.

===================


│ Error: Invalid character
│
│   on <value for var.service_account> line 1:
│   (source code not available)
│
│ This character is not used within the language.
╵
╷
│ Error: Extra characters after expression
│
│   on <value for var.service_account> line 1:
│   (source code not available)
│
│ An expression was successfully parsed, but extra characters were found after it.
╵
╷
│ Error: No value for required variable
│
│   on variables.tf line 185:
│  185: variable "service_account" {
│
│ The root module input variable "service_account" is not set, and has no default value. Use a -var or -var-file command line argument to provide a value for this variable.

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days