Missing `aws-native:events:EventBus`?
Closed this issue ยท 4 comments
Hello!
- Vote on this issue by adding a ๐ reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Looks like EventBus is missing support? When I create a CDK Event Bus in my stack, i get the following Resources in my plan
cdk:construct:Events StockBot/StockBot/StockBot/Events create
cdk:construct:EventBus StockBot/StockBot/StockBot/Events/Bus
aws-native:events:EventBus StockBotEventsBusDDBA22DF
EventBus
is the only aws-native Resource I see and I haven't instantiated any aws-native EventBus. All of the other Services seem to have mapped correctly.
This deployment then fails with this error:
Diagnostics:
aws-native:events:EventBus (StockBotEventsBusDDBA22DF):
error: Resource type aws-native:events:EventBus not found
Affected area/feature
Pulumi SDK and Pulumi CDK for AWS Event Bus.
Ran into this before @sam-goodwin . I believe this is because cloud control api doesn't support eventbus: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/supported-resources.html
Right, aws-native doesn't cover everything, and in particular is missing resources not supported by Cloud Control.
I am told there's an escape hatch -- https://github.com/pulumi/pulumi-cdk#remapcloudcontrolresource -- which lets you map to resources from the AWS "Classic" provider, instead.
I've left a comment here which is applicable to this issue:
Closing this since aws-native:events:EventBus is available in the latest version of @pulumi/aws-native (v0.107.0)