Skip to content

fix(chatbot): ARN validation in fromSlackChannelConfigurationArn fails for tokenized values#15849

Merged
mergify[bot] merged 2 commits intoaws:masterfrom
jumic:fromSlackChannelConfigurationArn
Aug 2, 2021
Merged

fix(chatbot): ARN validation in fromSlackChannelConfigurationArn fails for tokenized values#15849
mergify[bot] merged 2 commits intoaws:masterfrom
jumic:fromSlackChannelConfigurationArn

Conversation

@jumic
Copy link
Copy Markdown
Contributor

@jumic jumic commented Aug 1, 2021

A SlackChannelConfiguration can be imported using fromSlackChannelConfigurationArn. In this method, the given ARN will be validated. However, the validation failed for tokenized values.
The validation was enhanced. The ARN validation will be only executed if the ARN can be resolved. For unresolved tokens, the validation will be skipped.

Closes #15842.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Aug 1, 2021

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Aug 2, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: fb84ccc
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 440ca35 into aws:master Aug 2, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Aug 2, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Aug 3, 2021
…s for tokenized values (aws#15849)

A SlackChannelConfiguration can be imported using `fromSlackChannelConfigurationArn`. In this method, the given ARN will be validated. However, the validation failed for tokenized values.
The validation was enhanced. The ARN validation will be only executed if the ARN can be resolved. For unresolved tokens, the validation will be skipped.

Closes aws#15842.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
…s for tokenized values (aws#15849)

A SlackChannelConfiguration can be imported using `fromSlackChannelConfigurationArn`. In this method, the given ARN will be validated. However, the validation failed for tokenized values.
The validation was enhanced. The ARN validation will be only executed if the ARN can be resolved. For unresolved tokens, the validation will be skipped.

Closes aws#15842.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
david-doyle-as24 pushed a commit to david-doyle-as24/aws-cdk that referenced this pull request Sep 7, 2021
…s for tokenized values (aws#15849)

A SlackChannelConfiguration can be imported using `fromSlackChannelConfigurationArn`. In this method, the given ARN will be validated. However, the validation failed for tokenized values.
The validation was enhanced. The ARN validation will be only executed if the ARN can be resolved. For unresolved tokens, the validation will be skipped.

Closes aws#15842.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-chatbot): SlackChannelConfiguration.slackChannelConfigurationArn not returning a valid ARN

3 participants