Allow using no service account in compute-vm (#1692)
* module and tests * align blueprints * tfdoc * remove stale variables * fix blueprint * variable description
This commit is contained in:
committed by
GitHub
parent
96c28e605b
commit
df5daab6cc
@@ -14,20 +14,20 @@ This example shows how to reference existing Managed Infrastructure Groups (MIGs
|
||||
|
||||
```hcl
|
||||
module "instance_template" {
|
||||
source = "./fabric/modules/compute-vm"
|
||||
project_id = var.project_id
|
||||
create_template = true
|
||||
name = "vm-test"
|
||||
service_account_create = true
|
||||
zone = "europe-west1-b"
|
||||
|
||||
source = "./fabric/modules/compute-vm"
|
||||
project_id = var.project_id
|
||||
zone = "europe-west1-b"
|
||||
name = "vm-test"
|
||||
create_template = true
|
||||
service_account = {
|
||||
auto_create = true
|
||||
}
|
||||
network_interfaces = [
|
||||
{
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
}
|
||||
]
|
||||
|
||||
tags = [
|
||||
"http-server"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user