diff --git a/README.md b/README.md index 6e2f31375..2d0414fc5 100644 --- a/README.md +++ b/README.md @@ -481,6 +481,7 @@ No modules. | [default\_vpc\_id](#output\_default\_vpc\_id) | The ID of the Default VPC | | [default\_vpc\_instance\_tenancy](#output\_default\_vpc\_instance\_tenancy) | Tenancy of instances spin up within Default VPC | | [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 | +| [dhcp\_options\_id](#output\_dhcp\_options\_id) | The ID of the DHCP options | | [egress\_only\_internet\_gateway\_id](#output\_egress\_only\_internet\_gateway\_id) | The ID of the egress only Internet Gateway | | [elasticache\_network\_acl\_arn](#output\_elasticache\_network\_acl\_arn) | ARN of the elasticache network ACL | | [elasticache\_network\_acl\_id](#output\_elasticache\_network\_acl\_id) | ID of the elasticache network ACL | diff --git a/outputs.tf b/outputs.tf index aa9866039..099932c5c 100644 --- a/outputs.tf +++ b/outputs.tf @@ -333,6 +333,11 @@ output "public_route_table_association_ids" { value = aws_route_table_association.public.*.id } +output "dhcp_options_id" { + description = "The ID of the DHCP options" + value = concat(aws_vpc_dhcp_options.this.*.id, [""])[0] +} + output "nat_ids" { description = "List of allocation ID of Elastic IPs created for AWS NAT Gateway" value = aws_eip.nat.*.id