Skip to content

Commit b11f705

Browse files
committed
refactor(modules/cluster): extract hard coded value to locals
1 parent 8d62e1c commit b11f705

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/cluster/main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
locals {
2+
cluster_logging = "NONE"
3+
}
4+
15
resource "aws_ecs_cluster" "this" {
26
name = var.name
37

48
configuration {
59
execute_command_configuration {
6-
logging = "NONE"
10+
logging = local.cluster_logging
711
}
812
}
913

0 commit comments

Comments
 (0)