Slack notification configuration deployment error
Closed this issue · 2 comments
hnishar commented
Since v13.0.0 the following line of code seem to assume that the SlackChannelConfiguration
resource will be local to the pipeline stack, which breaks the CDK app if SlackChannelConfiguration
is deployed in a different stack
public bind(options: PipelineNotificationBindOptions): void {
const targets: starnotifs.CfnNotificationRule.TargetProperty[] = this.props.channels.map(c => {
return {
- targetAddress: c.slackChannelConfigurationArn,
+ targetAddress: Stack.of(options.pipeline).resolve(c.slackChannelConfigurationArn),
targetType: 'AWSChatbotSlack',
};
});
github-actions commented
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
github-actions commented
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.