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(codecommit): use region given in fromRepositoryArn when creating clone urls #10639

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

raykrueger
Copy link
Contributor

@raykrueger raykrueger commented Oct 1, 2020

As a CDK User I expect Repository.fromRepositoryArn to use the region
given when building the repository clone urls.

Prior to this commit, a stack deploy in us-east-1, would return clone
urls for us-east-1 even if given an ARN for us-west-2.

Fixes #10630


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

@mergify
Copy link
Contributor

mergify bot commented Oct 1, 2020

Title does not follow the guidelines of Conventional Commits. Please adjust title before merge.

As a CDK User I expect Repository.fromRepositoryArn to use the region
given when building the repository clone urls.

Prior to this commit, a stack deploy in us-east-1, would return clone
urls for us-east-1 even if given an ARN for us-west-2.

Fixes aws#10630
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @raykrueger !

@mergify
Copy link
Contributor

mergify bot commented Oct 1, 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 934553c into aws:master Oct 1, 2020
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-codecommit] cloneUrls returned from Repository.fromRepositoryArn(...) do not respect region in ARN
3 participants