Hey all, has anyone had any chance using `stageVar...
# general
b
Hey all, has anyone had any chance using
stageVariables
to define AWS API Gateway integrations? I have been trying to do something like this:
Copy code
new Aws.ApiGatewayV2.Integration("lambda", new Aws.ApiGatewayV2.IntegrationArgs
{
    ApiId = "...",
    IntegrationMethod = "POST",
    IntegrationType = "AWS_PROXY",
    IntegrationUri = "${stageVariables.apiFunc}",
    PayloadFormatVersion = "2.0",
});
but pulumi is complaining the
IntegrationUri
is not a proper ARN
What's weird is that I get an error only half of the time, but anyway the error looks like this:
Copy code
* error updating API Gateway v2 integration: BadRequestException: Invalid ARN specified in the request
r
@acoustic-monitor-21868