Skip to content

Commit b09f721

Browse files
committed
Replacing comments
1 parent 3dcbb42 commit b09f721

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

main.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ---------------------------------------------------------------------------------------------------------------------
1+
#------------------------------------------------------------------------------
22
# CLOUDWATCH EVENT ROLE
3-
# ---------------------------------------------------------------------------------------------------------------------
3+
#------------------------------------------------------------------------------
44
resource "aws_iam_role" "scheduled_task_cw_event_role" {
55
name = "${var.name_preffix}-st-cw-role"
66
assume_role_policy = "${file("${path.module}/files/iam/scheduled_task_cw_event_role_assume_role_policy.json")}"
@@ -19,9 +19,9 @@ resource "aws_iam_role_policy" "scheduled_task_cw_event_role_cloudwatch_policy"
1919
policy = "${data.template_file.scheduled_task_cw_event_role_cloudwatch_policy.rendered}"
2020
}
2121

22-
# ---------------------------------------------------------------------------------------------------------------------
22+
#------------------------------------------------------------------------------
2323
# CLOUDWATCH EVENT RULE
24-
# ---------------------------------------------------------------------------------------------------------------------
24+
#------------------------------------------------------------------------------
2525
resource "aws_cloudwatch_event_rule" "event_rule" {
2626
name = var.event_rule_name
2727
description = var.event_rule_description
@@ -34,9 +34,9 @@ resource "aws_cloudwatch_event_rule" "event_rule" {
3434
}
3535
}
3636

37-
# ---------------------------------------------------------------------------------------------------------------------
37+
#------------------------------------------------------------------------------
3838
# CLOUDWATCH EVENT TARGET
39-
# ---------------------------------------------------------------------------------------------------------------------
39+
#------------------------------------------------------------------------------
4040
resource "aws_cloudwatch_event_target" "ecs_scheduled_task" {
4141
rule = aws_cloudwatch_event_rule.event_rule.name
4242
target_id = var.event_target_target_id

outputs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ---------------------------------------------------------------------------------------------------------------------
1+
#------------------------------------------------------------------------------
22
# CLOUDWATCH EVENT ROLE
3-
# ---------------------------------------------------------------------------------------------------------------------
3+
#------------------------------------------------------------------------------
44
output "scheduled_task_cw_event_role_arn" {
55
description = "The Amazon Resource Name (ARN) specifying the role."
66
value = aws_iam_role.scheduled_task_cw_event_role.arn
@@ -51,9 +51,9 @@ output "aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_role"
5151
value = aws_iam_role_policy.scheduled_task_cw_event_role_cloudwatch_policy.role
5252
}
5353

54-
# ---------------------------------------------------------------------------------------------------------------------
54+
#------------------------------------------------------------------------------
5555
# CLOUDWATCH EVENT RULE
56-
# ---------------------------------------------------------------------------------------------------------------------
56+
#------------------------------------------------------------------------------
5757
output "aws_cloudwatch_event_rule_event_rule_arn" {
5858
description = "The Amazon Resource Name (ARN) of the CloudWatch Event Rule."
5959
value = aws_cloudwatch_event_rule.event_rule.arn

variables.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# ---------------------------------------------------------------------------------------------------------------------
1+
#------------------------------------------------------------------------------
22
# Misc
3-
# ---------------------------------------------------------------------------------------------------------------------
3+
#------------------------------------------------------------------------------
44
variable "name_preffix" {
55
description = "Name preffix for resources on AWS"
66
}
77

8-
# ---------------------------------------------------------------------------------------------------------------------
8+
#------------------------------------------------------------------------------
99
# CLOUDWATCH EVENT RULE
10-
# ---------------------------------------------------------------------------------------------------------------------
10+
#------------------------------------------------------------------------------
1111
variable "event_rule_name" {
1212
description = "The rule's name."
1313
}
@@ -38,9 +38,9 @@ variable "event_rule_is_enabled" {
3838
default = true
3939
}
4040

41-
# ---------------------------------------------------------------------------------------------------------------------
41+
#------------------------------------------------------------------------------
4242
# CLOUDWATCH EVENT TARGET
43-
# ---------------------------------------------------------------------------------------------------------------------
43+
#------------------------------------------------------------------------------
4444
variable "ecs_cluster_arn" {
4545
description = "The ECS Cluster where the scheduled task will run"
4646
}

0 commit comments

Comments
 (0)