File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ locals {
4343 disk_labels = merge (ad. disk_labels , local. labels )
4444 auto_delete = ad . auto_delete
4545 boot = ad . boot
46- disk_resource_manager_tags = ad . var . disk_resource_manager_tags
46+ disk_resource_manager_tags = ad . disk_resource_manager_tags
4747 }
4848 ]
4949
Original file line number Diff line number Diff line change @@ -93,14 +93,14 @@ variable "disk_resource_manager_tags" {
9393
9494variable "additional_disks" {
9595 type = list (object ({
96- disk_name = string
97- device_name = string
98- disk_type = string
99- disk_size_gb = number
100- disk_labels = map (string )
101- auto_delete = bool
102- boot = bool
103- disk_resource_manager_tags = map (string )
96+ disk_name = optional ( string )
97+ device_name = optional ( string )
98+ disk_size_gb = optional ( number )
99+ disk_type = optional ( string )
100+ disk_labels = optional ( map (string ) )
101+ auto_delete = optional ( bool )
102+ boot = optional ( bool )
103+ disk_resource_manager_tags = optional ( map (string ) )
104104 }))
105105 description = " List of maps of disks."
106106 default = []
You can’t perform that action at this time.
0 commit comments