Skip to content

Commit cb18865

Browse files
authored
Delete old automation user (#1227)
1 parent 244a6b0 commit cb18865

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

pulumi/__main__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import cloudfront
44
import pulumi
55
import tb_pulumi
6-
import tb_pulumi.ci
76
import tb_pulumi.cloudwatch
87
import tb_pulumi.ec2
98
import tb_pulumi.iam
@@ -103,16 +102,6 @@
103102
name=f'{project.name_prefix}-monitoring', project=project, **monitoring_opts
104103
)
105104

106-
# CI
107-
ci_opts = resources.get('tb:ci:AwsAutomationUser')
108-
if ci_opts:
109-
automaton_opts = ci_opts.get('automaton')
110-
automaton = tb_pulumi.ci.AwsAutomationUser(
111-
name=f'{project.name_prefix}-automaton',
112-
project=project,
113-
**automaton_opts,
114-
)
115-
116105

117106
def __sap_on_apply(resources):
118107
ci_user_name = f'{project.name_prefix}-ci'

pulumi/config.stage.yaml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ resources:
145145
- FARGATE
146146
container_definitions:
147147
backend:
148-
image: 768512802988.dkr.ecr.eu-central-1.amazonaws.com/thunderbird/appointment:435f248011868501cc2a739c039801b04bc13085
148+
image: 768512802988.dkr.ecr.eu-central-1.amazonaws.com/thunderbird/appointment:5201a66e89a9adf761aef44ea2a9453af9213558
149149
portMappings:
150150
- name: backend
151151
containerPort: 5000
@@ -246,25 +246,3 @@ resources:
246246
- thunderbird-services-monitoring@thunderbird.net
247247
config:
248248
alarms: {}
249-
250-
tb:ci:AwsAutomationUser:
251-
automaton:
252-
active_stack: stage
253-
additional_policies:
254-
- arn:aws:iam::768512802988:policy/appointment-stage-frontend-cache-invalidation
255-
- arn:aws:iam::768512802988:policy/appointment-prod-frontend-cache-invalidation
256-
enable_ecr_image_push: True
257-
ecr_repositories:
258-
- thunderbird/appointment
259-
enable_fargate_deployments: True
260-
fargate_clusters:
261-
- appointment-stage-fargate-backend
262-
- appointment-prod-fargate-backend
263-
fargate_task_role_arns:
264-
- arn:aws:iam::768512802988:role/appointment-stage-fargate-backend
265-
- arn:aws:iam::768512802988:role/appointment-prod-fargate-backend
266-
enable_full_s3_access: False
267-
enable_s3_bucket_upload: True
268-
s3_upload_buckets:
269-
- tb-appointment-stage-frontend
270-
- tb-appointment-prod-frontend

0 commit comments

Comments
 (0)