-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
124 lines (107 loc) · 3.14 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#____________________________________________________________
#
# UCS Chassis Profile Variables Section.
#____________________________________________________________
variable "action" {
default = "No-op"
description = <<-EOT
Action to Perform on the Chassis Profile Assignment. Options are:
* Deploy
* No-op
* Unassign
EOT
type = string
}
variable "description" {
default = ""
description = "Description for the Profile."
type = string
}
variable "moids" {
default = false
description = "Flag to Determine if pools and policies should be data sources or if they already defined as a moid."
type = bool
}
variable "name" {
default = "default"
description = "Name for the Profile."
type = string
}
variable "organization" {
default = "default"
description = "Intersight Organization Name to Apply Policy to. https://intersight.com/an/settings/organizations/."
type = string
}
variable "policies" {
default = {}
description = "Map for Moid based Policy Sources."
type = any
}
variable "policy_bucket" {
default = []
description = "List of Policies to Assign to the Profile."
type = list(object(
{
name = string
object_type = string
policy = optional(string)
}
))
}
variable "pools" {
default = {}
description = "Map for Moid based Pool Sources."
type = any
}
variable "resource_pool" {
default = ""
description = "Name of the Server Resource Pool to assign to the Policy."
type = string
}
variable "serial_number" {
default = ""
description = "Serial Number of the Chassis to Assign."
type = string
}
variable "server_template" {
default = ""
description = "The Name of the Server Template to Assign to the Server."
type = string
}
variable "static_uuid_address" {
default = ""
description = "The UUID address for the server must include UUID prefix xxxxxxxx-xxxx-xxxx along with the UUID suffix of format xxxx-xxxxxxxxxxxx. Joined with a '='"
type = string
}
variable "tags" {
default = []
description = "List of Tag Attributes to Assign to the Policy."
type = list(map(string))
}
variable "target_platform" {
default = "FIAttached"
description = <<-EOT
The platform for which the chassis profile is applicable. It can either be a chassis that is operating in standalone mode or which is attached to a Fabric Interconnect managed by Intersight.
* FIAttached - Chassis which are connected to a Fabric Interconnect that is managed by Intersight.
EOT
type = string
}
variable "type" {
default = "instance"
description = <<-EOT
Defines the type of the profile. Accepted values are:
* instance
* template
EOT
type = string
}
variable "uuid_pool" {
default = ""
description = "Name of a UUID Pool to Assign to the Policy."
type = string
}
variable "wait_for_completion" {
default = false
description = "This model object can trigger workflows. Use this option to wait for all running workflows to reach a complete state."
type = bool
}