Commit 0c2db005 authored by Bryant Biggs's avatar Bryant Biggs Committed by GitHub

chore: update documentation and pin `terraform_docs` version to avoid future changes (#619)

parent 997cba40
...@@ -94,7 +94,7 @@ jobs: ...@@ -94,7 +94,7 @@ jobs:
- name: Install pre-commit dependencies - name: Install pre-commit dependencies
run: | run: |
pip install pre-commit pip install pre-commit
curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases/latest | grep -o -E "https://.+?-linux-amd64" | head -n1)" > terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/ curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases/latest | grep -o -E "https://.+?-v0.12.0-linux-amd64" | head -n1)" > terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/
curl -L "$(curl -s https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip && sudo mv tflint /usr/bin/ curl -L "$(curl -s https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip && sudo mv tflint /usr/bin/
- name: Execute pre-commit - name: Execute pre-commit
# Run all pre-commit checks on max version supported # Run all pre-commit checks on max version supported
......
repos: repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform - repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.47.0 rev: v1.48.0
hooks: hooks:
- id: terraform_fmt - id: terraform_fmt
- id: terraform_validate - id: terraform_validate
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -21,51 +21,52 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,51 +21,52 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 3.10 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.10 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | >= 3.10 | | <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.10 |
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
| Name | | Name | Type |
|------| |------|------|
| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | | [aws_iam_policy_document.dynamodb_endpoint_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_security_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/security_group) | | [aws_iam_policy_document.generic_endpoint_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_vpc_endpoint](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc_endpoint) | | [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/security_group) | data source |
| [aws_vpc_endpoint.dynamodb](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc_endpoint) | data source |
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| cgw\_ids | List of IDs of Customer Gateway | | <a name="output_cgw_ids"></a> [cgw\_ids](#output\_cgw\_ids) | List of IDs of Customer Gateway |
| database\_subnets | List of IDs of database subnets | | <a name="output_database_subnets"></a> [database\_subnets](#output\_database\_subnets) | List of IDs of database subnets |
| elasticache\_subnets | List of IDs of elasticache subnets | | <a name="output_elasticache_subnets"></a> [elasticache\_subnets](#output\_elasticache\_subnets) | List of IDs of elasticache subnets |
| intra\_subnets | List of IDs of intra subnets | | <a name="output_intra_subnets"></a> [intra\_subnets](#output\_intra\_subnets) | List of IDs of intra subnets |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| redshift\_subnets | List of IDs of redshift subnets | | <a name="output_redshift_subnets"></a> [redshift\_subnets](#output\_redshift\_subnets) | List of IDs of redshift subnets |
| this\_customer\_gateway | Map of Customer Gateway attributes | | <a name="output_this_customer_gateway"></a> [this\_customer\_gateway](#output\_this\_customer\_gateway) | Map of Customer Gateway attributes |
| vpc\_endpoint\_lambda\_dns\_entry | The DNS entries for the VPC Endpoint for Lambda. | | <a name="output_vpc_endpoint_lambda_dns_entry"></a> [vpc\_endpoint\_lambda\_dns\_entry](#output\_vpc\_endpoint\_lambda\_dns\_entry) | The DNS entries for the VPC Endpoint for Lambda. |
| vpc\_endpoint\_lambda\_id | The ID of VPC endpoint for Lambda | | <a name="output_vpc_endpoint_lambda_id"></a> [vpc\_endpoint\_lambda\_id](#output\_vpc\_endpoint\_lambda\_id) | The ID of VPC endpoint for Lambda |
| vpc\_endpoint\_lambda\_network\_interface\_ids | One or more network interfaces for the VPC Endpoint for Lambda. | | <a name="output_vpc_endpoint_lambda_network_interface_ids"></a> [vpc\_endpoint\_lambda\_network\_interface\_ids](#output\_vpc\_endpoint\_lambda\_network\_interface\_ids) | One or more network interfaces for the VPC Endpoint for Lambda. |
| vpc\_endpoint\_ssm\_dns\_entry | The DNS entries for the VPC Endpoint for SSM. | | <a name="output_vpc_endpoint_ssm_dns_entry"></a> [vpc\_endpoint\_ssm\_dns\_entry](#output\_vpc\_endpoint\_ssm\_dns\_entry) | The DNS entries for the VPC Endpoint for SSM. |
| vpc\_endpoint\_ssm\_id | The ID of VPC endpoint for SSM | | <a name="output_vpc_endpoint_ssm_id"></a> [vpc\_endpoint\_ssm\_id](#output\_vpc\_endpoint\_ssm\_id) | The ID of VPC endpoint for SSM |
| vpc\_endpoint\_ssm\_network\_interface\_ids | One or more network interfaces for the VPC Endpoint for SSM. | | <a name="output_vpc_endpoint_ssm_network_interface_ids"></a> [vpc\_endpoint\_ssm\_network\_interface\_ids](#output\_vpc\_endpoint\_ssm\_network\_interface\_ids) | One or more network interfaces for the VPC Endpoint for SSM. |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -19,36 +19,36 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -19,36 +19,36 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | >= 2.70 | | <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.70 |
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../.. | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../.. | |
## Resources ## Resources
| Name | | Name | Type |
|------| |------|------|
| [aws_availability_zones](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | | [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| ipv6\_association\_id | The association ID for the IPv6 CIDR block | | <a name="output_ipv6_association_id"></a> [ipv6\_association\_id](#output\_ipv6\_association\_id) | The association ID for the IPv6 CIDR block |
| ipv6\_cidr\_block | The IPv6 CIDR block | | <a name="output_ipv6_cidr_block"></a> [ipv6\_cidr\_block](#output\_ipv6\_cidr\_block) | The IPv6 CIDR block |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -23,18 +23,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -23,18 +23,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -42,16 +42,16 @@ No resources. ...@@ -42,16 +42,16 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| database\_subnets | List of IDs of database subnets | | <a name="output_database_subnets"></a> [database\_subnets](#output\_database\_subnets) | List of IDs of database subnets |
| elasticache\_subnets | List of IDs of elasticache subnets | | <a name="output_elasticache_subnets"></a> [elasticache\_subnets](#output\_elasticache\_subnets) | List of IDs of elasticache subnets |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -40,16 +40,16 @@ No resources. ...@@ -40,16 +40,16 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| database\_subnets | List of IDs of database subnets | | <a name="output_database_subnets"></a> [database\_subnets](#output\_database\_subnets) | List of IDs of database subnets |
| elasticache\_subnets | List of IDs of elasticache subnets | | <a name="output_elasticache_subnets"></a> [elasticache\_subnets](#output\_elasticache\_subnets) | List of IDs of elasticache subnets |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -40,16 +40,16 @@ No resources. ...@@ -40,16 +40,16 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| database\_subnets | List of IDs of database subnets | | <a name="output_database_subnets"></a> [database\_subnets](#output\_database\_subnets) | List of IDs of database subnets |
| elasticache\_subnets | List of IDs of elasticache subnets | | <a name="output_elasticache_subnets"></a> [elasticache\_subnets](#output\_elasticache\_subnets) | List of IDs of elasticache subnets |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -21,18 +21,18 @@ Run `terraform destroy` when you don't need these resources. ...@@ -21,18 +21,18 @@ Run `terraform destroy` when you don't need these resources.
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -40,12 +40,12 @@ No resources. ...@@ -40,12 +40,12 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| default\_vpc\_cidr\_block | The CIDR block of the VPC | | <a name="output_default_vpc_cidr_block"></a> [default\_vpc\_cidr\_block](#output\_default\_vpc\_cidr\_block) | The CIDR block of the VPC |
| default\_vpc\_id | The ID of the Default VPC | | <a name="output_default_vpc_id"></a> [default\_vpc\_id](#output\_default\_vpc\_id) | The ID of the Default VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -23,18 +23,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -23,18 +23,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -42,23 +42,23 @@ No resources. ...@@ -42,23 +42,23 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| default\_network\_acl\_id | The ID of the default network ACL | | <a name="output_default_network_acl_id"></a> [default\_network\_acl\_id](#output\_default\_network\_acl\_id) | The ID of the default network ACL |
| elasticache\_network\_acl\_arn | ARN of the elasticache network ACL | | <a name="output_elasticache_network_acl_arn"></a> [elasticache\_network\_acl\_arn](#output\_elasticache\_network\_acl\_arn) | ARN of the elasticache network ACL |
| elasticache\_network\_acl\_id | ID of the elasticache network ACL | | <a name="output_elasticache_network_acl_id"></a> [elasticache\_network\_acl\_id](#output\_elasticache\_network\_acl\_id) | ID of the elasticache network ACL |
| module\_vpc | Module VPC | | <a name="output_module_vpc"></a> [module\_vpc](#output\_module\_vpc) | Module VPC |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_network\_acl\_arn | ARN of the private network ACL | | <a name="output_private_network_acl_arn"></a> [private\_network\_acl\_arn](#output\_private\_network\_acl\_arn) | ARN of the private network ACL |
| private\_network\_acl\_id | ID of the private network ACL | | <a name="output_private_network_acl_id"></a> [private\_network\_acl\_id](#output\_private\_network\_acl\_id) | ID of the private network ACL |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_network\_acl\_arn | ARN of the public network ACL | | <a name="output_public_network_acl_arn"></a> [public\_network\_acl\_arn](#output\_public\_network\_acl\_arn) | ARN of the public network ACL |
| public\_network\_acl\_id | ID of the public network ACL | | <a name="output_public_network_acl_id"></a> [public\_network\_acl\_id](#output\_public\_network\_acl\_id) | ID of the public network ACL |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| vpc\_cidr\_block | The CIDR block of the VPC | | <a name="output_vpc_cidr_block"></a> [vpc\_cidr\_block](#output\_vpc\_cidr\_block) | The CIDR block of the VPC |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -40,16 +40,16 @@ No resources. ...@@ -40,16 +40,16 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| vpc\_cidr\_block | The CIDR block of the VPC | | <a name="output_vpc_cidr_block"></a> [vpc\_cidr\_block](#output\_vpc\_cidr\_block) | The CIDR block of the VPC |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
| vpc\_secondary\_cidr\_blocks | List of secondary CIDR blocks of the VPC | | <a name="output_vpc_secondary_cidr_blocks"></a> [vpc\_secondary\_cidr\_blocks](#output\_vpc\_secondary\_cidr\_blocks) | List of secondary CIDR blocks of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -25,18 +25,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -25,18 +25,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -44,16 +44,16 @@ No resources. ...@@ -44,16 +44,16 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| azs | A list of availability zones spefified as argument to this module | | <a name="output_azs"></a> [azs](#output\_azs) | A list of availability zones spefified as argument to this module |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| vpc\_cidr\_block | The CIDR block of the VPC | | <a name="output_vpc_cidr_block"></a> [vpc\_cidr\_block](#output\_vpc\_cidr\_block) | The CIDR block of the VPC |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -23,54 +23,56 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -23,54 +23,56 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.26 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.26 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
| random | >= 2 | | <a name="requirement_random"></a> [random](#requirement\_random) | >= 2 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | >= 2.70 | | <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.70 |
| random | >= 2 | | <a name="provider_random"></a> [random](#provider\_random) | >= 2 |
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| s3_bucket | terraform-aws-modules/s3-bucket/aws | ~> 1.0 | | <a name="module_s3_bucket"></a> [s3\_bucket](#module\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 1.0 |
| vpc_with_flow_logs_cloudwatch_logs | ../../ | | | <a name="module_vpc_with_flow_logs_cloudwatch_logs"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs](#module\_vpc\_with\_flow\_logs\_cloudwatch\_logs) | ../../ | |
| vpc_with_flow_logs_cloudwatch_logs_default | ../../ | | | <a name="module_vpc_with_flow_logs_cloudwatch_logs_default"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_default](#module\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_default) | ../../ | |
| vpc_with_flow_logs_s3_bucket | ../../ | | | <a name="module_vpc_with_flow_logs_s3_bucket"></a> [vpc\_with\_flow\_logs\_s3\_bucket](#module\_vpc\_with\_flow\_logs\_s3\_bucket) | ../../ | |
## Resources ## Resources
| Name | | Name | Type |
|------| |------|------|
| [aws_cloudwatch_log_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_log_group) | | [aws_cloudwatch_log_group.flow_log](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_log_group) | resource |
| [aws_iam_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | | [aws_iam_policy.vpc_flow_log_cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | | [aws_iam_role.vpc_flow_log_cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
| [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | | [aws_iam_role_policy_attachment.vpc_flow_log_cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | | [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource |
| [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | | [aws_iam_policy_document.flow_log_cloudwatch_assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_iam_policy_document.flow_log_s3](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_iam_policy_document.vpc_flow_log_cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_destination\_arn | The ARN of the destination for VPC Flow Logs | | <a name="output_vpc_flow_logs_s3_bucket_vpc_flow_log_destination_arn"></a> [vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_destination\_arn](#output\_vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_destination\_arn) | The ARN of the destination for VPC Flow Logs |
| vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_destination\_type | The type of the destination for VPC Flow Logs | | <a name="output_vpc_flow_logs_s3_bucket_vpc_flow_log_destination_type"></a> [vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_destination\_type](#output\_vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_destination\_type) | The type of the destination for VPC Flow Logs |
| vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_id | The ID of the Flow Log resource | | <a name="output_vpc_flow_logs_s3_bucket_vpc_flow_log_id"></a> [vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_id](#output\_vpc\_flow\_logs\_s3\_bucket\_vpc\_flow\_log\_id) | The ID of the Flow Log resource |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_cloudwatch\_iam\_role\_arn | The ARN of the IAM role used when pushing logs to Cloudwatch log group | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_default_vpc_flow_log_cloudwatch_iam_role_arn"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_cloudwatch\_iam\_role\_arn](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_cloudwatch\_iam\_role\_arn) | The ARN of the IAM role used when pushing logs to Cloudwatch log group |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_destination\_arn | The ARN of the destination for VPC Flow Logs | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_default_vpc_flow_log_destination_arn"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_destination\_arn](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_destination\_arn) | The ARN of the destination for VPC Flow Logs |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_destination\_type | The type of the destination for VPC Flow Logs | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_default_vpc_flow_log_destination_type"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_destination\_type](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_destination\_type) | The type of the destination for VPC Flow Logs |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_id | The ID of the Flow Log resource | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_default_vpc_flow_log_id"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_id](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_default\_vpc\_flow\_log\_id) | The ID of the Flow Log resource |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_cloudwatch\_iam\_role\_arn | The ARN of the IAM role used when pushing logs to Cloudwatch log group | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_vpc_flow_log_cloudwatch_iam_role_arn"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_cloudwatch\_iam\_role\_arn](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_cloudwatch\_iam\_role\_arn) | The ARN of the IAM role used when pushing logs to Cloudwatch log group |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_destination\_arn | The ARN of the destination for VPC Flow Logs | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_vpc_flow_log_destination_arn"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_destination\_arn](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_destination\_arn) | The ARN of the destination for VPC Flow Logs |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_destination\_type | The type of the destination for VPC Flow Logs | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_vpc_flow_log_destination_type"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_destination\_type](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_destination\_type) | The type of the destination for VPC Flow Logs |
| vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_id | The ID of the Flow Log resource | | <a name="output_vpc_with_flow_logs_cloudwatch_logs_vpc_flow_log_id"></a> [vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_id](#output\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_vpc\_flow\_log\_id) | The ID of the Flow Log resource |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,18 +21,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.21 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.21 |
| aws | >= 2.70 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70 |
## Providers ## Providers
No provider. No providers.
## Modules ## Modules
| Name | Source | Version | | Name | Source | Version |
|------|--------|---------| |------|--------|---------|
| vpc | ../../ | | | <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../ | |
## Resources ## Resources
...@@ -40,17 +40,17 @@ No resources. ...@@ -40,17 +40,17 @@ No resources.
## Inputs ## Inputs
No input. No inputs.
## Outputs ## Outputs
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| database\_subnets | List of IDs of database subnets | | <a name="output_database_subnets"></a> [database\_subnets](#output\_database\_subnets) | List of IDs of database subnets |
| elasticache\_subnets | List of IDs of elasticache subnets | | <a name="output_elasticache_subnets"></a> [elasticache\_subnets](#output\_elasticache\_subnets) | List of IDs of elasticache subnets |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway | | <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets | | <a name="output_private_subnets"></a> [private\_subnets](#output\_private\_subnets) | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets | | <a name="output_public_subnets"></a> [public\_subnets](#output\_public\_subnets) | List of IDs of public subnets |
| redshift\_subnets | List of IDs of elasticache subnets | | <a name="output_redshift_subnets"></a> [redshift\_subnets](#output\_redshift\_subnets) | List of IDs of elasticache subnets |
| vpc\_id | The ID of the VPC | | <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment