From dd950589afd491a7b4f51d9bcba2642ded24c19a Mon Sep 17 00:00:00 2001 From: badra001 Date: Wed, 17 Aug 2022 11:42:11 -0400 Subject: [PATCH] update docs --- vpc-interface-endpoint/README.md | 9 +++++---- vpc-interface-endpoint/main.tf | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/vpc-interface-endpoint/README.md b/vpc-interface-endpoint/README.md index d1a3e40..49545db 100644 --- a/vpc-interface-endpoint/README.md +++ b/vpc-interface-endpoint/README.md @@ -43,8 +43,8 @@ data "aws_network_interface" "interfaces" { id = each.key } locals { - "subnet_interface_id_map" = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => k } - "subnet_interface_ip_map" = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => v.private_ip } + subnet_interface_id_map = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => k } + subnet_interface_ip_map = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => v.private_ip } } ``` @@ -78,6 +78,7 @@ No modules. | [aws_vpc_endpoint.interface_endpoint](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_endpoint) | resource | | [aws_arn.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/arn) | data source | | [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source | +| [aws_iam_account_alias.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_account_alias) | data source | | [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source | | [aws_vpc_endpoint_service.interface_endpoint](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc_endpoint_service) | data source | @@ -85,8 +86,8 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [account\_alias](#input\_account\_alias) | AWS Account Alias | `string` | `""` | no | -| [account\_id](#input\_account\_id) | AWS Account ID (default will pull from current user) | `string` | `""` | no | +| [account\_alias](#input\_account\_alias) | AWS Account Alias (default: will pull from current account\_alias) | `string` | `""` | no | +| [account\_id](#input\_account\_id) | AWS Account ID (default: will pull from current user) | `string` | `""` | no | | [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no | | [policy](#input\_policy) | IAM policy to apply to the VPC endpoint | `string` | `null` | no | | [private\_dns\_enabled](#input\_private\_dns\_enabled) | Flag to enble \| disable private DNS (default: true) | `bool` | `true` | no | diff --git a/vpc-interface-endpoint/main.tf b/vpc-interface-endpoint/main.tf index d879540..23f268d 100644 --- a/vpc-interface-endpoint/main.tf +++ b/vpc-interface-endpoint/main.tf @@ -44,8 +44,8 @@ * id = each.key * } * locals { -* "subnet_interface_id_map" = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => k } -* "subnet_interface_ip_map" = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => v.private_ip } +* subnet_interface_id_map = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => k } +* subnet_interface_ip_map = { for k, v in data.aws_network_interface.interfaces : v.subnet_id => v.private_ip } * } * ``` *