I want to add Log level Errors to API gateway , bu...
# general
h
I want to add Log level Errors to API gateway , but I can't seem to find how to pass a role or a managed policy to
awsx.apigateway.API
so when I pass the LogGroup ARN to the
stageArgs
it doesn't generates the following error:
Copy code
error: 1 error occurred:
        * updating urn:pulumi:dev::booksloth-api::aws:apigateway:x:API$aws:apigateway/stage:Stage::booksloth-api-dev: 1 error occurred:
        * Updating API Gateway Stage failed: BadRequestException: CloudWatch Logs role ARN must be set in account settings to enable logging
This is what I tried so far: