From 528e0f112549963aa9ebc08e0c0f2bce5be447a1 Mon Sep 17 00:00:00 2001 From: drewmullen Date: Thu, 14 Oct 2021 12:12:43 -0400 Subject: [PATCH] tf fmt & terraform-docs --- README.md | 238 ++++++++++++------ examples/complete-vpc/README.md | 8 +- examples/ipv6/README.md | 2 +- examples/issues/README.md | 6 +- examples/manage-default-vpc/README.md | 2 +- examples/network-acls/README.md | 2 +- examples/outpost/README.md | 4 +- examples/secondary-cidr-blocks/README.md | 2 +- examples/simple-vpc/README.md | 2 +- examples/vpc-flow-logs/README.md | 11 +- examples/vpc-flow-logs/main.tf | 2 +- .../README.md | 2 +- modules/vpc-endpoints/README.md | 2 +- vpc-flow-logs.tf | 3 +- 14 files changed, 184 insertions(+), 102 deletions(-) diff --git a/README.md b/README.md index 53ff1b65b..5332b7ce5 100644 --- a/README.md +++ b/README.md @@ -203,13 +203,13 @@ Full contributing [guidelines are covered here](.github/CONTRIBUTING.md). | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.12.31 | -| [aws](#requirement\_aws) | >= 3.38 | +| [aws](#requirement\_aws) | 0.0.1 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.38 | +| [aws](#provider\_aws) | 0.0.1 | ## Modules @@ -219,83 +219,160 @@ No modules. | Name | Type | |------|------| -| [aws_cloudwatch_log_group.flow_log](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_log_group) | resource | -| [aws_customer_gateway.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/customer_gateway) | resource | -| [aws_db_subnet_group.database](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_subnet_group) | resource | -| [aws_default_network_acl.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/default_network_acl) | resource | -| [aws_default_route_table.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/default_route_table) | resource | -| [aws_default_security_group.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/default_security_group) | resource | -| [aws_default_vpc.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/default_vpc) | resource | -| [aws_egress_only_internet_gateway.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/egress_only_internet_gateway) | resource | -| [aws_eip.nat](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip) | resource | -| [aws_elasticache_subnet_group.elasticache](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_subnet_group) | resource | -| [aws_flow_log.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/flow_log) | resource | -| [aws_iam_policy.vpc_flow_log_cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource | -| [aws_iam_role.vpc_flow_log_cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource | -| [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_internet_gateway.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/internet_gateway) | resource | -| [aws_nat_gateway.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/nat_gateway) | resource | -| [aws_network_acl.database](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl) | resource | -| [aws_network_acl.elasticache](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl) | resource | -| [aws_network_acl.intra](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl) | resource | -| [aws_network_acl.outpost](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl) | resource | -| [aws_network_acl.private](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl) | resource | -| [aws_network_acl.public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl) | resource | -| [aws_network_acl.redshift](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl) | resource | -| [aws_network_acl_rule.database_inbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.database_outbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.elasticache_inbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.elasticache_outbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.intra_inbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.intra_outbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.outpost_inbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.outpost_outbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.private_inbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.private_outbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.public_inbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.public_outbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.redshift_inbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_network_acl_rule.redshift_outbound](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_acl_rule) | resource | -| [aws_redshift_subnet_group.redshift](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/redshift_subnet_group) | resource | -| [aws_route.database_internet_gateway](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | -| [aws_route.database_ipv6_egress](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | -| [aws_route.database_nat_gateway](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | -| [aws_route.private_ipv6_egress](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | -| [aws_route.private_nat_gateway](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | -| [aws_route.public_internet_gateway](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | -| [aws_route.public_internet_gateway_ipv6](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | -| [aws_route_table.database](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table) | resource | -| [aws_route_table.elasticache](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table) | resource | -| [aws_route_table.intra](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table) | resource | -| [aws_route_table.private](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table) | resource | -| [aws_route_table.public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table) | resource | -| [aws_route_table.redshift](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table) | resource | -| [aws_route_table_association.database](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_route_table_association.elasticache](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_route_table_association.intra](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_route_table_association.outpost](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_route_table_association.private](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_route_table_association.public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_route_table_association.redshift](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_route_table_association.redshift_public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) | resource | -| [aws_subnet.database](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource | -| [aws_subnet.elasticache](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource | -| [aws_subnet.intra](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource | -| [aws_subnet.outpost](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource | -| [aws_subnet.private](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource | -| [aws_subnet.public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource | -| [aws_subnet.redshift](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet) | resource | -| [aws_vpc.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc) | resource | -| [aws_vpc_dhcp_options.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_dhcp_options) | resource | -| [aws_vpc_dhcp_options_association.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_dhcp_options_association) | resource | -| [aws_vpc_ipv4_cidr_block_association.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_ipv4_cidr_block_association) | resource | -| [aws_vpn_gateway.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpn_gateway) | resource | -| [aws_vpn_gateway_attachment.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpn_gateway_attachment) | resource | -| [aws_vpn_gateway_route_propagation.intra](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpn_gateway_route_propagation) | resource | -| [aws_vpn_gateway_route_propagation.private](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpn_gateway_route_propagation) | resource | -| [aws_vpn_gateway_route_propagation.public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpn_gateway_route_propagation) | resource | -| [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.vpc_flow_log_cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source | + +| aws_cloudwatch_log_group.flow_log | resource | + +| aws_customer_gateway.this | resource | + +| aws_db_subnet_group.database | resource | + +| aws_default_network_acl.this | resource | + +| aws_default_route_table.default | resource | + +| aws_default_security_group.this | resource | + +| aws_default_vpc.this | resource | + +| aws_egress_only_internet_gateway.this | resource | + +| aws_eip.nat | resource | + +| aws_elasticache_subnet_group.elasticache | resource | + +| aws_flow_log.this | resource | + +| aws_iam_policy.vpc_flow_log_cloudwatch | resource | + +| aws_iam_role.vpc_flow_log_cloudwatch | resource | + +| aws_iam_role_policy_attachment.vpc_flow_log_cloudwatch | resource | + +| aws_internet_gateway.this | resource | + +| aws_nat_gateway.this | resource | + +| aws_network_acl.database | resource | + +| aws_network_acl.elasticache | resource | + +| aws_network_acl.intra | resource | + +| aws_network_acl.outpost | resource | + +| aws_network_acl.private | resource | + +| aws_network_acl.public | resource | + +| aws_network_acl.redshift | resource | + +| aws_network_acl_rule.database_inbound | resource | + +| aws_network_acl_rule.database_outbound | resource | + +| aws_network_acl_rule.elasticache_inbound | resource | + +| aws_network_acl_rule.elasticache_outbound | resource | + +| aws_network_acl_rule.intra_inbound | resource | + +| aws_network_acl_rule.intra_outbound | resource | + +| aws_network_acl_rule.outpost_inbound | resource | + +| aws_network_acl_rule.outpost_outbound | resource | + +| aws_network_acl_rule.private_inbound | resource | + +| aws_network_acl_rule.private_outbound | resource | + +| aws_network_acl_rule.public_inbound | resource | + +| aws_network_acl_rule.public_outbound | resource | + +| aws_network_acl_rule.redshift_inbound | resource | + +| aws_network_acl_rule.redshift_outbound | resource | + +| aws_redshift_subnet_group.redshift | resource | + +| aws_route.database_internet_gateway | resource | + +| aws_route.database_ipv6_egress | resource | + +| aws_route.database_nat_gateway | resource | + +| aws_route.private_ipv6_egress | resource | + +| aws_route.private_nat_gateway | resource | + +| aws_route.public_internet_gateway | resource | + +| aws_route.public_internet_gateway_ipv6 | resource | + +| aws_route_table.database | resource | + +| aws_route_table.elasticache | resource | + +| aws_route_table.intra | resource | + +| aws_route_table.private | resource | + +| aws_route_table.public | resource | + +| aws_route_table.redshift | resource | + +| aws_route_table_association.database | resource | + +| aws_route_table_association.elasticache | resource | + +| aws_route_table_association.intra | resource | + +| aws_route_table_association.outpost | resource | + +| aws_route_table_association.private | resource | + +| aws_route_table_association.public | resource | + +| aws_route_table_association.redshift | resource | + +| aws_route_table_association.redshift_public | resource | + +| aws_subnet.database | resource | + +| aws_subnet.elasticache | resource | + +| aws_subnet.intra | resource | + +| aws_subnet.outpost | resource | + +| aws_subnet.private | resource | + +| aws_subnet.public | resource | + +| aws_subnet.redshift | resource | + +| aws_vpc.this | resource | + +| aws_vpc_dhcp_options.this | resource | + +| aws_vpc_dhcp_options_association.this | resource | + +| aws_vpc_ipv4_cidr_block_association.this | resource | + +| aws_vpn_gateway.this | resource | + +| aws_vpn_gateway_attachment.this | resource | + +| aws_vpn_gateway_route_propagation.intra | resource | + +| aws_vpn_gateway_route_propagation.private | resource | + +| aws_vpn_gateway_route_propagation.public | resource | + +| aws_iam_policy_document.flow_log_cloudwatch_assume_role | data source | + +| aws_iam_policy_document.vpc_flow_log_cloudwatch | data source | ## Inputs @@ -384,8 +461,11 @@ No modules. | [flow\_log\_cloudwatch\_log\_group\_retention\_in\_days](#input\_flow\_log\_cloudwatch\_log\_group\_retention\_in\_days) | Specifies the number of days you want to retain log events in the specified log group for VPC flow logs. | `number` | `null` | no | | [flow\_log\_destination\_arn](#input\_flow\_log\_destination\_arn) | The ARN of the CloudWatch log group or S3 bucket where VPC Flow Logs will be pushed. If this ARN is a S3 bucket the appropriate permissions need to be set on that bucket's policy. When create\_flow\_log\_cloudwatch\_log\_group is set to false this argument must be provided. | `string` | `""` | no | | [flow\_log\_destination\_type](#input\_flow\_log\_destination\_type) | Type of flow log destination. Can be s3 or cloud-watch-logs. | `string` | `"cloud-watch-logs"` | no | +| [flow\_log\_file\_format](#input\_flow\_log\_file\_format) | (Optional) The format for the flow log. Valid values: `plain-text`, `parquet`. | `string` | `"plain-text"` | no | +| [flow\_log\_hive\_compatible\_partitions](#input\_flow\_log\_hive\_compatible\_partitions) | (Optional) Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. | `bool` | `false` | no | | [flow\_log\_log\_format](#input\_flow\_log\_log\_format) | The fields to include in the flow log record, in the order in which they should appear. | `string` | `null` | no | | [flow\_log\_max\_aggregation\_interval](#input\_flow\_log\_max\_aggregation\_interval) | The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: `60` seconds or `600` seconds. | `number` | `600` | no | +| [flow\_log\_per\_hour\_partition](#input\_flow\_log\_per\_hour\_partition) | (Optional) Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. | `bool` | `false` | no | | [flow\_log\_traffic\_type](#input\_flow\_log\_traffic\_type) | The type of traffic to capture. Valid values: ACCEPT, REJECT, ALL. | `string` | `"ALL"` | no | | [igw\_tags](#input\_igw\_tags) | Additional tags for the internet gateway | `map(string)` | `{}` | no | | [instance\_tenancy](#input\_instance\_tenancy) | A tenancy option for instances launched into the VPC | `string` | `"default"` | no | diff --git a/examples/complete-vpc/README.md b/examples/complete-vpc/README.md index 4acc80200..33d0b0f28 100644 --- a/examples/complete-vpc/README.md +++ b/examples/complete-vpc/README.md @@ -28,15 +28,15 @@ Note that this example may create resources which can cost money (AWS Elastic IP | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.28 | +| [aws](#provider\_aws) | 3.62.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../../ | | -| [vpc\_endpoints](#module\_vpc\_endpoints) | ../../modules/vpc-endpoints | | -| [vpc\_endpoints\_nocreate](#module\_vpc\_endpoints\_nocreate) | ../../modules/vpc-endpoints | | +| [vpc](#module\_vpc) | ../../ | n/a | +| [vpc\_endpoints](#module\_vpc\_endpoints) | ../../modules/vpc-endpoints | n/a | +| [vpc\_endpoints\_nocreate](#module\_vpc\_endpoints\_nocreate) | ../../modules/vpc-endpoints | n/a | ## Resources diff --git a/examples/ipv6/README.md b/examples/ipv6/README.md index b7ae18733..b687a8960 100644 --- a/examples/ipv6/README.md +++ b/examples/ipv6/README.md @@ -30,7 +30,7 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../.. | | +| [vpc](#module\_vpc) | ../.. | n/a | ## Resources diff --git a/examples/issues/README.md b/examples/issues/README.md index ff541a3ac..a4880b7b0 100644 --- a/examples/issues/README.md +++ b/examples/issues/README.md @@ -35,9 +35,9 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [vpc\_issue\_108](#module\_vpc\_issue\_108) | ../../ | | -| [vpc\_issue\_44](#module\_vpc\_issue\_44) | ../../ | | -| [vpc\_issue\_46](#module\_vpc\_issue\_46) | ../../ | | +| [vpc\_issue\_108](#module\_vpc\_issue\_108) | ../../ | n/a | +| [vpc\_issue\_44](#module\_vpc\_issue\_44) | ../../ | n/a | +| [vpc\_issue\_46](#module\_vpc\_issue\_46) | ../../ | n/a | ## Resources diff --git a/examples/manage-default-vpc/README.md b/examples/manage-default-vpc/README.md index 2863e276e..6a3a77883 100644 --- a/examples/manage-default-vpc/README.md +++ b/examples/manage-default-vpc/README.md @@ -32,7 +32,7 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../../ | | +| [vpc](#module\_vpc) | ../../ | n/a | ## Resources diff --git a/examples/network-acls/README.md b/examples/network-acls/README.md index 26834dce4..e0f826e85 100644 --- a/examples/network-acls/README.md +++ b/examples/network-acls/README.md @@ -34,7 +34,7 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../../ | | +| [vpc](#module\_vpc) | ../../ | n/a | ## Resources diff --git a/examples/outpost/README.md b/examples/outpost/README.md index 51ce3067a..41433feea 100644 --- a/examples/outpost/README.md +++ b/examples/outpost/README.md @@ -30,13 +30,13 @@ Note that this example may create resources which can cost money (AWS Elastic IP | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.28 | +| [aws](#provider\_aws) | 3.62.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../../ | | +| [vpc](#module\_vpc) | ../../ | n/a | ## Resources diff --git a/examples/secondary-cidr-blocks/README.md b/examples/secondary-cidr-blocks/README.md index 29715df89..1503a13d9 100644 --- a/examples/secondary-cidr-blocks/README.md +++ b/examples/secondary-cidr-blocks/README.md @@ -32,7 +32,7 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../../ | | +| [vpc](#module\_vpc) | ../../ | n/a | ## Resources diff --git a/examples/simple-vpc/README.md b/examples/simple-vpc/README.md index d5f6edde5..1d2f1a4fd 100644 --- a/examples/simple-vpc/README.md +++ b/examples/simple-vpc/README.md @@ -36,7 +36,7 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../../ | | +| [vpc](#module\_vpc) | ../../ | n/a | ## Resources diff --git a/examples/vpc-flow-logs/README.md b/examples/vpc-flow-logs/README.md index 10d782ae5..7fa132802 100644 --- a/examples/vpc-flow-logs/README.md +++ b/examples/vpc-flow-logs/README.md @@ -31,17 +31,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.28 | -| [random](#provider\_random) | >= 2 | +| [aws](#provider\_aws) | 3.62.0 | +| [random](#provider\_random) | 3.1.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [s3\_bucket](#module\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 1.0 | -| [vpc\_with\_flow\_logs\_cloudwatch\_logs](#module\_vpc\_with\_flow\_logs\_cloudwatch\_logs) | ../../ | | -| [vpc\_with\_flow\_logs\_cloudwatch\_logs\_default](#module\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_default) | ../../ | | -| [vpc\_with\_flow\_logs\_s3\_bucket](#module\_vpc\_with\_flow\_logs\_s3\_bucket) | ../../ | | +| [vpc\_with\_flow\_logs\_cloudwatch\_logs](#module\_vpc\_with\_flow\_logs\_cloudwatch\_logs) | ../../ | n/a | +| [vpc\_with\_flow\_logs\_cloudwatch\_logs\_default](#module\_vpc\_with\_flow\_logs\_cloudwatch\_logs\_default) | ../../ | n/a | +| [vpc\_with\_flow\_logs\_s3\_bucket](#module\_vpc\_with\_flow\_logs\_s3\_bucket) | ../../ | n/a | +| [vpc\_with\_flow\_logs\_s3\_bucket\_parquet](#module\_vpc\_with\_flow\_logs\_s3\_bucket\_parquet) | ../../ | n/a | ## Resources diff --git a/examples/vpc-flow-logs/main.tf b/examples/vpc-flow-logs/main.tf index 321ba0064..61562358f 100644 --- a/examples/vpc-flow-logs/main.tf +++ b/examples/vpc-flow-logs/main.tf @@ -43,7 +43,7 @@ module "vpc_with_flow_logs_s3_bucket_parquet" { enable_flow_log = true flow_log_destination_type = "s3" flow_log_destination_arn = module.s3_bucket.this_s3_bucket_arn - flow_log_file_format = "parquet" + flow_log_file_format = "parquet" vpc_flow_log_tags = { Name = "vpc-flow-logs-s3-bucket" diff --git a/examples/vpc-separate-private-route-tables/README.md b/examples/vpc-separate-private-route-tables/README.md index 264e99fac..5a1c6b015 100644 --- a/examples/vpc-separate-private-route-tables/README.md +++ b/examples/vpc-separate-private-route-tables/README.md @@ -32,7 +32,7 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [vpc](#module\_vpc) | ../../ | | +| [vpc](#module\_vpc) | ../../ | n/a | ## Resources diff --git a/modules/vpc-endpoints/README.md b/modules/vpc-endpoints/README.md index 13b15fbdd..6471c60ec 100644 --- a/modules/vpc-endpoints/README.md +++ b/modules/vpc-endpoints/README.md @@ -62,7 +62,7 @@ module "endpoints" { | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.28 | +| [aws](#provider\_aws) | 3.62.0 | ## Modules diff --git a/vpc-flow-logs.tf b/vpc-flow-logs.tf index f3e54e1ac..941d711b6 100644 --- a/vpc-flow-logs.tf +++ b/vpc-flow-logs.tf @@ -23,8 +23,9 @@ resource "aws_flow_log" "this" { traffic_type = var.flow_log_traffic_type vpc_id = local.vpc_id max_aggregation_interval = var.flow_log_max_aggregation_interval + destination_options { - file_format = var.flow_log_file_format + file_format = var.flow_log_file_format flow_log_hive_compatible_partitions = var.flow_log_hive_compatible_partitions flow_log_per_hour_partition = var.flow_log_per_hour_partition }