From cbe4926eea7956b9e4ccb443fcf920e4940f7b17 Mon Sep 17 00:00:00 2001 From: William Putra Intan <61998484+williamputraintan@users.noreply.github.com> Date: Fri, 1 Mar 2024 18:38:58 +1100 Subject: [PATCH] with new chatbot arn --- lib/pipeline/orcabus-stateful-pipeline-stack.ts | 4 ++-- lib/pipeline/orcabus-stateless-pipeline-stack.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/pipeline/orcabus-stateful-pipeline-stack.ts b/lib/pipeline/orcabus-stateful-pipeline-stack.ts index 58d2cf12c..e50c9c8b6 100644 --- a/lib/pipeline/orcabus-stateful-pipeline-stack.ts +++ b/lib/pipeline/orcabus-stateful-pipeline-stack.ts @@ -116,9 +116,9 @@ export class StatefulPipelineStack extends cdk.Stack { pipeline.buildPipeline(); // notification for success/failure - const arteriaDevSlackConfigArn = ssm.StringParameter.valueForTypedStringParameterV2( + const arteriaDevSlackConfigArn = ssm.StringParameter.valueForStringParameter( this, - '/data_portal/backend/slack_channel' + '/chatbot_arn/slack/arteria-dev' ); const target = chatbot.SlackChannelConfiguration.fromSlackChannelConfigurationArn( this, diff --git a/lib/pipeline/orcabus-stateless-pipeline-stack.ts b/lib/pipeline/orcabus-stateless-pipeline-stack.ts index 4dbea2766..c74d423ad 100644 --- a/lib/pipeline/orcabus-stateless-pipeline-stack.ts +++ b/lib/pipeline/orcabus-stateless-pipeline-stack.ts @@ -125,9 +125,9 @@ export class StatelessPipelineStack extends cdk.Stack { pipeline.buildPipeline(); // notification for success/failure - const arteriaDevSlackConfigArn = ssm.StringParameter.valueForTypedStringParameterV2( + const arteriaDevSlackConfigArn = ssm.StringParameter.valueForStringParameter( this, - '/data_portal/backend/slack_channel' + '/chatbot_arn/slack/arteria-dev' ); const target = chatbot.SlackChannelConfiguration.fromSlackChannelConfigurationArn( this,