cosmetics
This commit is contained in:
parent
492dbfa3af
commit
e5420fb516
@ -51,4 +51,4 @@ output "vms" {
|
||||
} if resource.type == "Cloud.vSphere.Machine"
|
||||
}
|
||||
])
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ resource "vra_deployment" "deployments" {
|
||||
}
|
||||
name = each.value.name
|
||||
description = each.value.description
|
||||
|
||||
|
||||
catalog_item_id = data.vra_catalog_item.catalog[each.value.catalog_item_name].id
|
||||
catalog_item_version = data.vra_catalog_item.catalog[each.value.catalog_item_name].versions.*.id[0]
|
||||
project_id = data.vra_project.projects[each.value.project_name].id
|
||||
|
@ -37,13 +37,13 @@ variable "update_timeout" {
|
||||
variable "deployments" {
|
||||
description = "Definition of what the user need to deploy"
|
||||
type = map(object({
|
||||
name = string
|
||||
description = string
|
||||
enabled = bool
|
||||
|
||||
catalog_item_name = string
|
||||
project_name = string
|
||||
name = string
|
||||
description = string
|
||||
enabled = bool
|
||||
|
||||
inputs = map(string)
|
||||
catalog_item_name = string
|
||||
project_name = string
|
||||
|
||||
inputs = map(string)
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
@ -80,4 +80,4 @@ ARG1=${@:$OPTIND:1}
|
||||
export TF_VAR_vra_url="${service_url}"
|
||||
export TF_VAR_vra_username="${username}"
|
||||
export TF_VAR_vra_refresh_token="${refresh_token}"
|
||||
tofu ${ARG1} -no-color
|
||||
tofu ${ARG1} -no-color
|
||||
|
Loading…
Reference in New Issue
Block a user