Skip to content

[apigateway] race condition between Stage and CfnAccount  #10722

@nija-at

Description

@nija-at

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

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-apigatewayRelated to Amazon API GatewaybugThis issue is a bug.effort/smallSmall work item – less than a day of effortp1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions