-
Notifications
You must be signed in to change notification settings - Fork 946
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
New serverless pattern: appsync-events-bedrock-cdk #2508
base: main
Are you sure you want to change the base?
New serverless pattern: appsync-events-bedrock-cdk #2508
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not able to deploy, running step 4 from deployement instructions (npm run deploy
) results in an error:
11:01:18 AM | CREATE_FAILED | AWS::AppSync::ApiKey | ApiKey
API key must be valid for a minimum of 1 days. (Service: AWSAppSync; Status Code: 400; Error Code: ApiKeyValidityOutOfBou
ndsException; Request ID: 4c4651cb-809a-4c09-a27c-39f3645fa860; Proxy: null)
The current pattern is broken after 12.12.
ApiKey:
Type: AWS::AppSync::ApiKey
Properties:
ApiId: !GetAtt EventsApi.ApiId
Description: Api Key for Events Api
Expires: 1733989774
As the API_KEY can be only configured for up to 365 days [1] please add creation/update process do the deployment documentation, as otherwise the code will break (requiring users to debug) after 365 days.
[1] https://docs.aws.amazon.com/appsync/latest/devguide/security-authz.html#api-key-authorization
appsync-events-bedrock-cdk/test/appsync-events-bedrock-cdk.test.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
Co-authored-by: Marco <[email protected]>
@marcojahn sorry for the late. I addressed your points and removed the components defined via plain CFN. Now it's CDK-only. |
Issue #, if available:
#2509
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.