aws appsync create-resolver --region ${var.region} --api-id=${aws_appsync_graphql_api.appsync-test-admins.id} --type-name=Query --field-name=$NAME --kind=PIPELINE --request-mapping-template=\"{} $ctx.stash.put(\"action\", \"$NAME\")\" --response-mapping-template='$util.toJson($ctx.result)' --pipeline-config=\"functions=${local.function_id}\" --profile=${var.profile}"
environment = {
NAME = "TestResolver"
}
I’m able to do this using provisioner “local exec” type, but does this module: aws_appsync_resolver: support the name inside ‘environment’ element? if so, can someone please advise how?