Skip to content

Commit 9e917ae

Browse files
committed
fix config for globally
1 parent e49da55 commit 9e917ae

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed

main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ module "config" {
7070
managedby = var.managedby
7171
enabled = var.enabled && var.config_enabled
7272
only_config_enabled = var.only_config_enabled
73-
s3_key_prefix = var.s3_key_prefix
7473
config_role_arn = var.config_role_arn
7574
config_s3_bucket_name = var.config_s3_bucket_name
7675
target_config_bucket = var.target_config_bucket

modules/config/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ resource "aws_config_delivery_channel" "bucket" {
277277

278278
name = format("%s-delivery-channel", module.labels.id)
279279
s3_bucket_name = var.config_s3_bucket_name
280-
s3_key_prefix = var.s3_key_prefix
281280
sns_topic_arn = module.sns.topic-arn
282281

283282
snapshot_delivery_properties {

modules/config/variables.tf

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,12 +1624,6 @@ variable "only_config_enabled" {
16241624

16251625
variable "config_role_arn" {
16261626
type = string
1627-
default = ""
1628-
description = "config role arn"
1629-
}
1630-
1631-
variable "s3_key_prefix" {
1632-
type = string
1633-
default = "AWSLogs/442186832995/Config"
1634-
description = "s3 key prefix"
1627+
default = "config role arn"
1628+
description = "enable when need only config without alerts"
16351629
}

variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,9 +1829,3 @@ variable "config_role_arn" {
18291829
default = ""
18301830
description = "config role arn"
18311831
}
1832-
1833-
variable "s3_key_prefix" {
1834-
type = string
1835-
default = "AWSLogs/442186832995/Config"
1836-
description = "s3 key prefix"
1837-
}

0 commit comments

Comments
 (0)