You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): handle attributes of AWS::Events::EventBus when hotswapping (#18834)
Without them, customers referencing an `AWS::Events::EventBus` in their StepFunctions StateMachine definition would get this message:
```
Could not perform a hotswap deployment, because the CloudFormation template could not be resolved:
We don't support attributes of the 'AWS::Events::EventBus' resource. This is a CDK limitation.
Please report it at https://github.com/aws/aws-cdk/issues/new/choose
Falling back to doing a full deployment
```
when hotswapping.
Fixes#18831
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
).rejects.toThrow("We don't support the 'UnknownAttribute' attribute of the 'AWS::S3::Bucket' resource. This is a CDK limitation. Please report it at https://github.com/aws/aws-cdk/issues/new/choose");
484
484
});
485
+
486
+
test('knows how to handle attributes of the AWS::Events::EventBus resource',async()=>{
0 commit comments