https://pulumi.com logo
#aws
Title
m

magnificent-article-52926

07/25/2023, 5:58 AM
Hi all! I am currently trying to use AWS Appsync Merged APIs with Pulumi (TypeScript). My current approach is: 1. Create a new GraphQL API with
@pulumi/aws
2. Create a new SourceApiAssociation with
@pulumi/aws-native
However, deployment fails with the following error
Copy code
operation CREATE failed with "InvalidRequest": Invalid request provided: Invalid API type, expected api to be type MERGED for api : [...] (Service: AppSync, Status Code: 400, Request ID: [...])
I can't find a way to change the GraphQL API type. Is it not supported yet? If yes, what's the best way to create merged APIs at the moment?