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(s3-deployment): wrong URL in BucketDeployment.deployedBucket.bucketWebsiteUrl #24055

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Feb 7, 2023

Fixes #23354

Without pass-through of all attribute values, it is currently not possible to automatically force a dependency on the deployment for every attribute.
This change merely sets the bucket's region & account, so that all computed website/domain attributes will now include the correct values. Other attributes, and manually set website/domain attributes are not supported.
Additionally the documentation has been extended to highlight the above issue and provide a workaround.


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

gitpod-io bot commented Feb 7, 2023

@mrgrain mrgrain added the pr/do-not-merge This PR should not be merged at this time. label Feb 7, 2023
@github-actions github-actions bot added bug This issue is a bug. effort/small Small work item – less than a day of effort p1 labels Feb 7, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team February 7, 2023 15:52
@mrgrain mrgrain removed bug This issue is a bug. p1 effort/small Small work item – less than a day of effort pr/do-not-merge This PR should not be merged at this time. labels Feb 7, 2023
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 7, 2023
@mrgrain mrgrain force-pushed the mrgrain/fix/deployed-bucket-wrong-url branch from 3befa4f to a9ceaa0 Compare February 7, 2023 15:54
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

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

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

@mrgrain mrgrain force-pushed the mrgrain/fix/deployed-bucket-wrong-url branch 2 times, most recently from edb79da to 9653f46 Compare February 8, 2023 11:39
@aws-cdk-automation aws-cdk-automation dismissed their stale review February 8, 2023 11:41

✅ Updated pull request passes all PRLinter validations. Dissmissing previous PRLinter review.

@mrgrain mrgrain force-pushed the mrgrain/fix/deployed-bucket-wrong-url branch from 9653f46 to 38c6742 Compare February 8, 2023 11:45
@github-actions github-actions bot added bug This issue is a bug. effort/small Small work item – less than a day of effort p1 labels Feb 8, 2023
@mrgrain mrgrain added effort/medium Medium work item – several days of effort and removed effort/small Small work item – less than a day of effort labels Feb 8, 2023
@rix0rrr rix0rrr added the pr/do-not-merge This PR should not be merged at this time. label Feb 8, 2023
@mrgrain mrgrain removed the pr/do-not-merge This PR should not be merged at this time. label Feb 8, 2023
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 667f8ea
  • 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 Feb 8, 2023

Thank you for contributing! Your pull request will be updated from main 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 ece46db into aws:main Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. contribution/core This is a PR that came from AWS. effort/medium Medium work item – several days of effort p1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws-s3-deployment: Wrong URL in BucketDeployment.deployedBucket.bucketWebsiteUrl
3 participants