-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[chatbot] L2 should know log group is always created in us-east-1 #10220
Comments
The only way for us to add this information is to build an L2 construct. If we have an L2 construct, it should know about this kind of behavior. If we don't have an L2 construct, then we don't have a place to put any kind of knowledge/behavior like that. There are no other ways for us to build "guard rails" like that. There's no point in this being a generic "frameworky" ticket. Unless I'm misunderstanding, we should treat this as bug reports against individual services with weird behaviors (such as Chatbot). Redirecting. |
I do agree that this requires L2 constructs and that it's through L2 constructs that the right object representations for cross-region log groups and metrics should be created (metrics already support that, log groups there's no such representation) and then the Global services L2 constructs should use an expose them. If you ask me more concretely about what I hope to see
Having said that, I think it's wrong to classify this issue as If you have to classify this as anything that's not general I'd say it's for both [logs][cloudwatch] as a 1st step
|
Moving this to @aws-cdk/aws-cloudwatch upon further inspection. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
❓ General Issue
There are global AWS services that publish metrics/logs to
us-east-1
regardless of the region of the stack where they are being deployed e.g. Chatbot. Unfortunately, I don't have an aggregate list for all such services.For customers deploying stacks in non
us-east-1
region, this poses challenges to configure resources (e.g. log groups, set retention periods) and/or create resources e.g. alarms via CDK/CloudFormation.There're currently 2 features which ease these pains
I think there are multiple layers to this story
addStream
which are likely to generate wrong resourcesAlarm
, a wrong resource will be generated which drops the region and creates an alarm that is useless and deceiving the customer into a false sense of safety.The Question
I think the minimum should be to build guardrails for resources like log groups/alarms that represent cross-region resources such that if they get used to create dependent resources, errors should be thrown to inform the user that this is not supported.
Environment
The text was updated successfully, but these errors were encountered: