Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(events): cannot use tokens as event bus name #10772

Merged
merged 2 commits into from
Oct 7, 2020

Conversation

shivlaks
Copy link
Contributor

@shivlaks shivlaks commented Oct 7, 2020

added a condition to ensure that eventBusName does not contain
an unresolved token before performing validation.

Closes #10467


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

added a condition to ensure that eventBusName does not contain
an unresolved token before performing validation.

Closes #10467
@shivlaks shivlaks requested a review from a team October 7, 2020 20:10
@shivlaks shivlaks self-assigned this Oct 7, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Oct 7, 2020
@mergify
Copy link
Contributor

mergify bot commented Oct 7, 2020

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
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 460570b
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Oct 7, 2020

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).

@mergify mergify bot merged commit 8bee193 into master Oct 7, 2020
@mergify mergify bot deleted the shivlaks/events-event-bus branch October 7, 2020 21:22
mergify bot pushed a commit that referenced this pull request Jun 14, 2022
Addresses #20718 

Adds a check to see if the value is a token before running the validation regex on `eventSourceName`.

Simple fix following a similar fix in #10772

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
daschaa pushed a commit to daschaa/aws-cdk that referenced this pull request Jul 9, 2022
Addresses aws#20718 

Adds a check to see if the value is a token before running the validation regex on `eventSourceName`.

Simple fix following a similar fix in aws#10772

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*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
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[@aws-cdk/aws-events] Unable to use Aws.STACK_NAME as eventBusName when creating EventBus
3 participants