Skip to content

Conversation

alvazjor
Copy link
Contributor

Issue # (if applicable)

Closes #.

Reason for this change

When using Prompts and PromptVariants in bedrock, you can define the default variant your prompt will use, but if you dont add it to the variants array too, it will fail at deployment time.

Description of changes

Added a validation that checks the correct conditions at synth time, so you don't waste time and leave a stack with a bad deployment

Describe any new or updated permissions being added

NA

Description of how you validated changes

Unit tests. We don't create integ tests for validations (synth time) as they wont add any additional value

Checklist


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

@aws-cdk-automation aws-cdk-automation requested a review from a team August 29, 2025 16:29
@github-actions github-actions bot added the p2 label Aug 29, 2025
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 29, 2025
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.

(This review is outdated)

@alvazjor alvazjor added the pr-linter/exempt-integ-test The PR linter will not require integ test changes label Aug 29, 2025
@aws-cdk-automation aws-cdk-automation dismissed their stale review August 29, 2025 16:33

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

@alvazjor alvazjor added pr/needs-maintainer-review This PR needs a review from a Core Team Member p1 and removed pr/needs-maintainer-review This PR needs a review from a Core Team Member p1 labels Sep 2, 2025
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Sep 2, 2025
@alvazjor alvazjor added p1 and removed pr/needs-maintainer-review This PR needs a review from a Core Team Member p1 labels Sep 2, 2025
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Sep 2, 2025
@kumsmrit kumsmrit self-assigned this Sep 4, 2025
Copy link
Contributor

mergify bot commented Sep 9, 2025

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

Copy link
Contributor

mergify bot commented Sep 9, 2025

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 cbd271e into main Sep 9, 2025
19 checks passed
@mergify mergify bot deleted the alvazjor/bedrock-alpha-fix branch September 9, 2025 13:51
Copy link
Contributor

github-actions bot commented Sep 9, 2025

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contribution/core This is a PR that came from AWS. p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member pr-linter/exempt-integ-test The PR linter will not require integ test changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants