Skip to content

Commit 66a34c1

Browse files
committed
add resource dependency
1 parent fc2d777 commit 66a34c1

File tree

4 files changed

+4
-141
lines changed

4 files changed

+4
-141
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ example/
1818
crash.log
1919
crash.*.log
2020

21+
# report
22+
tests/test-report*
23+
2124
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
2225
# password, private keys, and other secrets. These should not be part of version
2326
# control as they are data points which are potentially sensitive and subject

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ resource "aws_appautoscaling_target" "this" {
412412
var.target_tracking_configuration.capacity.min_capacity,
413413
var.step_scaling_configuration.capacity.min_capacity
414414
)
415-
resource_id = format("service/%s/%s", var.ecs_cluster_name, local.name)
415+
resource_id = format("service/%s/%s", var.ecs_cluster_name, aws_ecs_service.this.name)
416416
scalable_dimension = "ecs:service:DesiredCount"
417417
service_namespace = "ecs"
418418
}

tests/test-report.html

Lines changed: 0 additions & 107 deletions
This file was deleted.

tests/test-report.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)