Skip to content

Commit f1b5273

Browse files
authored
fix: Set default value for root_block_device.tags to null (#444)
1 parent a299529 commit f1b5273

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ No modules.
255255
| <a name="input_private_ip"></a> [private\_ip](#input\_private\_ip) | Private IP address to associate with the instance in a VPC | `string` | `null` | no |
256256
| <a name="input_putin_khuylo"></a> [putin\_khuylo](#input\_putin\_khuylo) | Do you agree that Putin doesn't respect Ukrainian sovereignty and territorial integrity? More info: https://en.wikipedia.org/wiki/Putin_khuylo! | `bool` | `true` | no |
257257
| <a name="input_region"></a> [region](#input\_region) | Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration | `string` | `null` | no |
258-
| <a name="input_root_block_device"></a> [root\_block\_device](#input\_root\_block\_device) | Customize details about the root block device of the instance. See Block Devices below for details | <pre>object({<br/> delete_on_termination = optional(bool)<br/> encrypted = optional(bool)<br/> iops = optional(number)<br/> kms_key_id = optional(string)<br/> tags = optional(map(string), {})<br/> throughput = optional(number)<br/> size = optional(number)<br/> type = optional(string)<br/> })</pre> | `null` | no |
258+
| <a name="input_root_block_device"></a> [root\_block\_device](#input\_root\_block\_device) | Customize details about the root block device of the instance. See Block Devices below for details | <pre>object({<br/> delete_on_termination = optional(bool)<br/> encrypted = optional(bool)<br/> iops = optional(number)<br/> kms_key_id = optional(string)<br/> tags = optional(map(string))<br/> throughput = optional(number)<br/> size = optional(number)<br/> type = optional(string)<br/> })</pre> | `null` | no |
259259
| <a name="input_secondary_private_ips"></a> [secondary\_private\_ips](#input\_secondary\_private\_ips) | A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e. referenced in a `network_interface block` | `list(string)` | `null` | no |
260260
| <a name="input_security_group_description"></a> [security\_group\_description](#input\_security\_group\_description) | Description of the security group | `string` | `null` | no |
261261
| <a name="input_security_group_egress_rules"></a> [security\_group\_egress\_rules](#input\_security\_group\_egress\_rules) | Egress rules to add to the security group | <pre>map(object({<br/> cidr_ipv4 = optional(string)<br/> cidr_ipv6 = optional(string)<br/> description = optional(string)<br/> from_port = optional(number)<br/> ip_protocol = optional(string, "tcp")<br/> prefix_list_id = optional(string)<br/> referenced_security_group_id = optional(string)<br/> tags = optional(map(string), {})<br/> to_port = optional(number)<br/> }))</pre> | <pre>{<br/> "ipv4_default": {<br/> "cidr_ipv4": "0.0.0.0/0",<br/> "description": "Allow all IPv4 traffic",<br/> "ip_protocol": "-1"<br/> },<br/> "ipv6_default": {<br/> "cidr_ipv6": "::/0",<br/> "description": "Allow all IPv6 traffic",<br/> "ip_protocol": "-1"<br/> }<br/>}</pre> | no |

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ variable "root_block_device" {
278278
encrypted = optional(bool)
279279
iops = optional(number)
280280
kms_key_id = optional(string)
281-
tags = optional(map(string), {})
281+
tags = optional(map(string))
282282
throughput = optional(number)
283283
size = optional(number)
284284
type = optional(string)

0 commit comments

Comments
 (0)