@@ -116,6 +116,8 @@ resource "aws_ssm_parameter" "webhook" {
116
116
name = var. webhook_ssm_parameter_name
117
117
type = " SecureString"
118
118
value = random_id. webhook . hex
119
+
120
+ tags = local. tags
119
121
}
120
122
121
123
resource "aws_ssm_parameter" "atlantis_github_user_token" {
@@ -124,6 +126,8 @@ resource "aws_ssm_parameter" "atlantis_github_user_token" {
124
126
name = var. atlantis_github_user_token_ssm_parameter_name
125
127
type = " SecureString"
126
128
value = var. atlantis_github_user_token
129
+
130
+ tags = local. tags
127
131
}
128
132
129
133
resource "aws_ssm_parameter" "atlantis_gitlab_user_token" {
@@ -132,6 +136,8 @@ resource "aws_ssm_parameter" "atlantis_gitlab_user_token" {
132
136
name = var. atlantis_gitlab_user_token_ssm_parameter_name
133
137
type = " SecureString"
134
138
value = var. atlantis_gitlab_user_token
139
+
140
+ tags = local. tags
135
141
}
136
142
137
143
resource "aws_ssm_parameter" "atlantis_bitbucket_user_token" {
@@ -140,6 +146,8 @@ resource "aws_ssm_parameter" "atlantis_bitbucket_user_token" {
140
146
name = var. atlantis_bitbucket_user_token_ssm_parameter_name
141
147
type = " SecureString"
142
148
value = var. atlantis_bitbucket_user_token
149
+
150
+ tags = local. tags
143
151
}
144
152
145
153
# ##################
@@ -328,6 +336,8 @@ module "ecs" {
328
336
version = " v2.0.0"
329
337
330
338
name = var. name
339
+
340
+ tags = local. tags
331
341
}
332
342
333
343
data "aws_iam_policy_document" "ecs_tasks" {
@@ -348,6 +358,8 @@ data "aws_iam_policy_document" "ecs_tasks" {
348
358
resource "aws_iam_role" "ecs_task_execution" {
349
359
name = " ${ var . name } -ecs_task_execution"
350
360
assume_role_policy = data. aws_iam_policy_document . ecs_tasks . json
361
+
362
+ tags = local. tags
351
363
}
352
364
353
365
resource "aws_iam_role_policy_attachment" "ecs_task_execution" {
@@ -490,6 +502,8 @@ resource "aws_ecs_task_definition" "atlantis" {
490
502
memory = var. ecs_task_memory
491
503
492
504
container_definitions = local. container_definitions
505
+
506
+ tags = local. tags
493
507
}
494
508
495
509
data "aws_ecs_task_definition" "atlantis" {
@@ -532,4 +546,3 @@ resource "aws_cloudwatch_log_group" "atlantis" {
532
546
533
547
tags = local. tags
534
548
}
535
-
0 commit comments