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

guardrails: Incorrect SensitiveInformationPolicyConfig MASK action #706

Closed
1 task done
rinaudjaws opened this issue Sep 23, 2024 · 0 comments · Fixed by #707
Closed
1 task done

guardrails: Incorrect SensitiveInformationPolicyConfig MASK action #706

rinaudjaws opened this issue Sep 23, 2024 · 0 comments · Fixed by #707
Labels
backlog bug Something isn't working

Comments

@rinaudjaws
Copy link
Contributor

Describe the bug

PiiEntityConfig uses ANONYMIZE action, not MASK as defined here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html

Expected Behavior

Deployment succeeds for anonymize guardrails

Current Behavior

ERROR:
9:47:41 AM | UPDATE_FAILED | AWS::Bedrock::Guardrail | bedrockGuardrailsMyGuardrail22 A62F29 Properties validation failed for resource bedrockGuardrailsMyGuardrail22A62F29 with message: [#/SensitiveInformationPolicyConfig/PiiEntitiesConfig/0/Action: MASK is not a valid enum value]

Reproduction Steps

Example from README, change to MASK

Possible Solution

See pull request

Additional Information/Context

No response

CDK CLI Version

2.154.1

Framework Version

No response

Node.js Version

v20.17.0

OS

M1

Language

Typescript

Language Version

No response

Region experiencing the issue

all

Code modification

No, using latest version.

Other information

No response

Service quota

  • I have reviewed the service quotas for this construct
@rinaudjaws rinaudjaws added bug Something isn't working needs-triage This issue or PR still needs to be triaged. labels Sep 23, 2024
@krokoko krokoko added backlog and removed needs-triage This issue or PR still needs to be triaged. labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants