modules/vcenter-folder/variables.tf (47 lines of code) (raw):
/**
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
variable "datacenter" {
type = string
description = "Provide the datacenter name"
}
variable "folder_path" {
type = string
description = "Provide the folders path"
}
variable "folder_type" {
type = string
description = "Provide the folders type"
}
variable "vsphere_folder_object_type" {
type = string
description = "Provide the associable folders object type"
default = "Folder"
}
variable "role_assignments" {
type = map(any)
description = "The map of role assignments to be attached to folder entity"
default = {}
}
variable "tags" {
type = map(any)
description = "The list of tags IDs to attached to folder entity"
default = {}
}
variable "custom_attributes" {
type = map(string)
description = "The map of custom attributes to be attached to folder entity"
default = {}
}