-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[apigateway] race condition between Stage and CfnAccount #10722
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-apigatewayRelated to Amazon API GatewayRelated to Amazon API GatewaybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1
Description
Originally reported by @jcrugzz @ #10377
Stages in RestApi can be configured to have logs enabled.
These logs are sent to CloudWatch Logs using the IAM role
configured in AWS::ApiGateway::Account (via CfnAccount
construct). When this IAM role is not configured on the
account, stage creation will fail.
Since there is no implicit dependency between the Stage
construct and CfnAccount construct, CloudFormation may
deploy this in the wrong order and fail the deployment.
This is 🐛 Bug Report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-apigatewayRelated to Amazon API GatewayRelated to Amazon API GatewaybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1