Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-vpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-vpc
Commits
7bfc001c
Unverified
Commit
7bfc001c
authored
Oct 15, 2021
by
Kamil Aliev
Committed by
GitHub
Oct 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Enabled destination_options only for VPC Flow Logs on S3 (#703)
parent
a93c2330
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
vpc-flow-logs.tf
vpc-flow-logs.tf
+8
-4
No files found.
vpc-flow-logs.tf
View file @
7bfc001c
...
@@ -24,10 +24,14 @@ resource "aws_flow_log" "this" {
...
@@ -24,10 +24,14 @@ resource "aws_flow_log" "this" {
vpc_id
=
local
.
vpc_id
vpc_id
=
local
.
vpc_id
max_aggregation_interval
=
var
.
flow_log_max_aggregation_interval
max_aggregation_interval
=
var
.
flow_log_max_aggregation_interval
destination_options
{
dynamic
"destination_options"
{
file_format
=
var
.
flow_log_file_format
for_each
=
var
.
flow_log_destination_type
==
"s3"
?
[
true
]
:
[]
hive_compatible_partitions
=
var
.
flow_log_hive_compatible_partitions
per_hour_partition
=
var
.
flow_log_per_hour_partition
content
{
file_format
=
var
.
flow_log_file_format
hive_compatible_partitions
=
var
.
flow_log_hive_compatible_partitions
per_hour_partition
=
var
.
flow_log_per_hour_partition
}
}
}
tags
=
merge
(
var
.
tags
,
var
.
vpc_flow_log_tags
)
tags
=
merge
(
var
.
tags
,
var
.
vpc_flow_log_tags
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment