@@ -38,22 +38,11 @@ class PocketClient extends TerraformStack {
38
38
39
39
this . createPocketAlbApplication ( {
40
40
secretsManagerKmsAlias : this . getSecretsManagerKmsAlias ( ) ,
41
- snsTopic : this . getCodeDeploySnsTopic ( ) ,
42
41
region,
43
42
caller
44
43
} )
45
44
}
46
45
47
- /**
48
- * Get the sns topic for code deploy
49
- * @private
50
- */
51
- private getCodeDeploySnsTopic ( ) {
52
- return new dataAwsSnsTopic . DataAwsSnsTopic ( this , 'frontend_notifications' , {
53
- name : `Frontend-${ config . environment } -ChatBot`
54
- } )
55
- }
56
-
57
46
/**
58
47
* Get secrets manager kms alias
59
48
* @private
@@ -68,9 +57,8 @@ class PocketClient extends TerraformStack {
68
57
region : dataAwsRegion . DataAwsRegion
69
58
caller : dataAwsCallerIdentity . DataAwsCallerIdentity
70
59
secretsManagerKmsAlias : dataAwsKmsAlias . DataAwsKmsAlias
71
- snsTopic : dataAwsSnsTopic . DataAwsSnsTopic
72
60
} ) : PocketALBApplication {
73
- const { region, caller, secretsManagerKmsAlias, snsTopic } = dependencies
61
+ const { region, caller, secretsManagerKmsAlias } = dependencies
74
62
75
63
return new PocketALBApplication ( this , 'application' , {
76
64
prefix : config . prefix ,
@@ -148,8 +136,7 @@ class PocketClient extends TerraformStack {
148
136
notifyOnFailed : true ,
149
137
notifyOnStarted : false ,
150
138
notifyOnSucceeded : false
151
- } ,
152
- snsNotificationTopicArn : snsTopic . arn
139
+ }
153
140
} ,
154
141
exposedContainer : {
155
142
name : 'app' ,
0 commit comments