-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
@aws-cdk/aws-logs: Resource handler returned message: "Invalid request provided: AWS::Logs::ResourcePolicy" #17615
Comments
I'm seeing this as well when creating an ecs LogGroup and trying to deploy it. |
Cannot reproduce this on v1.130.0 |
Upgraded to v1.137.0 (build bfbdf64), same issue. |
Upgraded to v1.139.0, the same issue. |
We just recently getting this same error. It used to run fine, but recently. |
We just recently upgraded to
And the output we see is
This worked find prior to upgrading. We had to upgrade as we were in a very old version of cdk where log retention was still deployed with Node10 runtime. The upgrade solved this problem, but now we run into the problem above |
Duplicate of #17544 |
|
What is the problem?
I am trying to create a custom log group for my CodeBuild project as follows (sample code):
...which produces the following
cdk diff
output:Reproduction Steps
Create Log Group using the code above and associate it with a CodeBuild Project with:
What did you expect to happen?
I expect that Log Group would be created with the parameters I specified.
What actually happened?
When I run
cdk deploy my-pipeline --role-arn some-role-arn
I am getting:CDK CLI Version
1.133.0 (build 2dea31a)
Framework Version
No response
Node.js Version
v14.17.0
OS
MacOS Monterey 12.0.1
Language
Typescript
Language Version
TypeScript 4.5.2
Other information
No response
The text was updated successfully, but these errors were encountered: