Skip to content

Commit

Permalink
fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
64ne committed Dec 29, 2020
1 parent cb768ab commit 45bc98e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions audit.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ module "kms_key_audit" {
}

module "security_hub_audit" {
source = "./modules/security_hub"
providers = { aws = aws.audit }
account_id = data.aws_caller_identity.current.account_id
sns_security_subscription = var.sns_security_subscription
source = "./modules/security_hub"
providers = { aws = aws.audit }
account_id = data.aws_caller_identity.current.account_id
sns_security_subscription = var.sns_security_subscription

member_accounts = {
for id, email in local.aws_account_emails : id => email if id != var.control_tower_account_ids.audit
Expand Down
4 changes: 2 additions & 2 deletions modules/security_hub/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ variable "region" {

variable "sns_security_subscription" {
type = list(object({
sns_endpoint = string
sns_endpoint_protocol = string
sns_endpoint = string
sns_endpoint_protocol = string
}))
default = null
description = "Aggregated security SNS topic subscription options"
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ variable "monitor_iam_access" {

variable "sns_security_subscription" {
type = list(object({
sns_endpoint = string
sns_endpoint_protocol = string
sns_endpoint = string
sns_endpoint_protocol = string
}))
default = null
description = "Aggregated security SNS topic subscription options"
Expand Down

0 comments on commit 45bc98e

Please sign in to comment.