https://pulumi.com logo
Title
p

powerful-motherboard-62748

11/19/2022, 8:56 AM
given
import * as awsApigateway from '@pulumi/aws-apigateway';
i have a
awsApigateway.RestAPI
setup and works with
eventHandler: new aws.lambda.Function(...)
👍 i introduced a
aws.lambda.Alias
and accompanying
aws.lambda.Permission
👌 how do i update my
apigateway
to send events to my alias instead of
$LATEST
?
it seems like for Pulumi to change from a working
apigateway -> lambda
to
apigateway -> lambda:version
i have to rip out the existing
awsApigateway.RestAPI
definition and use the entirely different
aws.apigateway.Integration
🤦‍♂️