Add support for contexts to compute-vm module (#3406)
This commit is contained in:
committed by
GitHub
parent
5f4c3a0fb2
commit
6045cf6ae2
@@ -122,6 +122,23 @@ variable "confidential_compute" {
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "context" {
|
||||
description = "Context-specific interpolations."
|
||||
type = object({
|
||||
addresses = optional(map(string), {})
|
||||
custom_roles = optional(map(string), {})
|
||||
kms_keys = optional(map(string), {})
|
||||
iam_principals = optional(map(string), {})
|
||||
locations = optional(map(string), {})
|
||||
networks = optional(map(string), {})
|
||||
project_ids = optional(map(string), {})
|
||||
subnets = optional(map(string), {})
|
||||
tag_values = optional(map(string), {})
|
||||
})
|
||||
default = {}
|
||||
nullable = false
|
||||
}
|
||||
|
||||
variable "create_template" {
|
||||
description = "Create instance template instead of instances. Defaults to a global template."
|
||||
type = object({
|
||||
|
||||
Reference in New Issue
Block a user