Hi there, I am trying to create an Appsync resolve...
# aws
s
Hi there, I am trying to create an Appsync resolver with no data source, just to send back the version number of the backend. According to AWS, resolvers can have None as datasource. According to Pulumi doc, data_source is an optional parameter of
aws.appsync.Resolver
. But when I’m creating a resolver with no data source with Pulumi, like :
Copy code
resolver_get_version = aws.appsync.Resolver(
    "my-resolver",
    api_id=graphql_api.id,
    field="getVersion",
    type="Query",
    request_template="""
    """,
    response_template="""
    $util.toJson("1.0.0")
    """,
)
I get
* error creating AppSync Resolver: BadRequestException: Data source name not specified.
Any idea?