Skip to content

Commit 5a20b1d

Browse files
docs: Added ID of aws_vpc_dhcp_options to outputs (#669)
Co-authored-by: Anton Babenko <[email protected]>
1 parent 4950b97 commit 5a20b1d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ No modules.
481481
| <a name="output_default_vpc_id"></a> [default\_vpc\_id](#output\_default\_vpc\_id) | The ID of the Default VPC |
482482
| <a name="output_default_vpc_instance_tenancy"></a> [default\_vpc\_instance\_tenancy](#output\_default\_vpc\_instance\_tenancy) | Tenancy of instances spin up within Default VPC |
483483
| <a name="output_default_vpc_main_route_table_id"></a> [default\_vpc\_main\_route\_table\_id](#output\_default\_vpc\_main\_route\_table\_id) | The ID of the main route table associated with the Default VPC |
484+
| <a name="output_dhcp_options_id"></a> [dhcp\_options\_id](#output\_dhcp\_options\_id) | The ID of the DHCP options |
484485
| <a name="output_egress_only_internet_gateway_id"></a> [egress\_only\_internet\_gateway\_id](#output\_egress\_only\_internet\_gateway\_id) | The ID of the egress only Internet Gateway |
485486
| <a name="output_elasticache_network_acl_arn"></a> [elasticache\_network\_acl\_arn](#output\_elasticache\_network\_acl\_arn) | ARN of the elasticache network ACL |
486487
| <a name="output_elasticache_network_acl_id"></a> [elasticache\_network\_acl\_id](#output\_elasticache\_network\_acl\_id) | ID of the elasticache network ACL |

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,11 @@ output "public_route_table_association_ids" {
333333
value = aws_route_table_association.public.*.id
334334
}
335335

336+
output "dhcp_options_id" {
337+
description = "The ID of the DHCP options"
338+
value = concat(aws_vpc_dhcp_options.this.*.id, [""])[0]
339+
}
340+
336341
output "nat_ids" {
337342
description = "List of allocation ID of Elastic IPs created for AWS NAT Gateway"
338343
value = aws_eip.nat.*.id

0 commit comments

Comments
 (0)