Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add input exclude_management_event_sources closes #54 #60

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ resource "aws_cloudtrail" "default" {
dynamic "event_selector" {
for_each = var.event_selector
content {
include_management_events = lookup(event_selector.value, "include_management_events", null)
read_write_type = lookup(event_selector.value, "read_write_type", null)

include_management_events = lookup(event_selector.value, "include_management_events", null)
read_write_type = lookup(event_selector.value, "read_write_type", null)
exclude_management_event_sources = lookup(event_selector.value, "exclude_management_event_sources", null)
dynamic "data_resource" {
for_each = lookup(event_selector.value, "data_resource", [])
content {
Expand Down
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ variable "insight_selector" {

variable "event_selector" {
type = list(object({
include_management_events = bool
read_write_type = string

include_management_events = bool
read_write_type = string
exclude_management_event_sources = list(string)
data_resource = list(object({
type = string
values = list(string)
Expand Down
Loading