Skip to content

Commit 7e71ca1

Browse files
authored
fix: Add tags to aws_appautoscaling_target resourses missed in previous PR (#66)
Follow-up to #65
1 parent e61cbb5 commit 7e71ca1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ resource "aws_appautoscaling_target" "write_target" {
6868
resource_id = "table/${var.dynamodb_table_name}"
6969
scalable_dimension = "dynamodb:table:WriteCapacityUnits"
7070
service_namespace = "dynamodb"
71+
72+
tags = module.this.tags
7173
}
7274

7375
resource "aws_appautoscaling_target" "write_target_index" {
@@ -77,6 +79,8 @@ resource "aws_appautoscaling_target" "write_target_index" {
7779
resource_id = "table/${var.dynamodb_table_name}/index/${each.key}"
7880
scalable_dimension = "dynamodb:index:WriteCapacityUnits"
7981
service_namespace = "dynamodb"
82+
83+
tags = module.this.tags
8084
}
8185

8286
resource "aws_appautoscaling_policy" "write_policy" {

0 commit comments

Comments
 (0)