How to ensure ApiGateway CloudWatch logging Role no matter what other Stacks do? #22713
Unanswered
VaidotasSm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to - #10878 - [ApiGateway] RestApi updates account level role used for ApiGateway CloudWatch logging #10878
It has lots of information and is supposedly fixed already, but neither on that issue nor in documentation I could find hints of what is proper setup for following:
Is this the best that can be done?
role already exists in stack
.CloudWatch log role ARN
- which does not sound as a good thing. Althoughrole.applyRemovalPolicy(cdk.RemovalPolicy.RETAIN)
seems to make it work in the end. But doesn't look as solid solution.Beta Was this translation helpful? Give feedback.
All reactions