Skip to content

Commit

Permalink
run tf fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhu Manchineella authored and Prabhu Manchineella committed Dec 13, 2023
1 parent aa75c14 commit ec50168
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions terraform/operations-account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,12 @@ resource "aws_cloudwatch_event_rule" "ecs_task_state_change" {
description = "Triggers on ECS task state changes from RUNNING to STOPPED for ${local.app_name}-cluster"

event_pattern = jsonencode({
source: ["aws.ecs"],
"detail-type": ["ECS Task State Change"],
detail: {
clusterArn: [aws_ecs_cluster.billing_reports_ecs_cluster.arn],
lastStatus: ["STOPPED"],
desiredStatus: ["STOPPED"]
source : ["aws.ecs"],
"detail-type" : ["ECS Task State Change"],
detail : {
clusterArn : [aws_ecs_cluster.billing_reports_ecs_cluster.arn],
lastStatus : ["STOPPED"],
desiredStatus : ["STOPPED"]
}
})
}
Expand Down Expand Up @@ -341,7 +341,7 @@ resource "aws_ecs_task_definition" "billing_reports_ecs_task" {
task_role_arn = aws_iam_role.ecs_task_role.arn
runtime_platform {
operating_system_family = "LINUX"
# cpu_architecture = "ARM64" // Used when testing deployment from Local ARM64 based device
# cpu_architecture = "ARM64" // Used when testing deployment from Local ARM64 based device
}
container_definitions = jsonencode([{
name = "${local.app_name}-ecs-container-${data.aws_caller_identity.current.account_id}-${data.aws_region.current.name}"
Expand Down

0 comments on commit ec50168

Please sign in to comment.