https://pulumi.com logo
Title
b

bright-diamond-93374

03/17/2022, 3:53 PM
Hey all, has anyone had any chance using
stageVariables
to define AWS API Gateway integrations? I have been trying to do something like this:
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:
* error updating API Gateway v2 integration: BadRequestException: Invalid ARN specified in the request
r

rapid-byte-24256

05/15/2022, 1:45 PM
@acoustic-monitor-21868