We explicitly provide permission to this integrationApiArn to invoke the STAC API but I don't see why we need it - @jjfrench is this related to some of the old cross-account logic?
|
stacApiLambda.stacApiLambdaFunction.addPermission("ApiGatewayInvoke", { |
|
principal: new iam.ServicePrincipal("apigateway.amazonaws.com"), |
|
sourceArn: stacApiConfig.integrationApiArn, |
|
}); |
We explicitly provide permission to this
integrationApiArnto invoke the STAC API but I don't see why we need it - @jjfrench is this related to some of the old cross-account logic?maap-eoapi/cdk/PgStacInfra.ts
Lines 100 to 103 in 6b1c2e5