sparse-intern-71089
06/03/2023, 1:16 AMminiature-musician-31262
06/05/2023, 9:17 PMclassic
namespace to continue using the previous behavior? For example, this might work for you:
import * as awsx from "@pulumi/awsx";
const api = new awsx.classic.apigateway.API("api", {
routes: [
{
path: "/route",
method: "GET",
eventHandler: someCallbackOrLambdaFunction,
},
]
});
salmon-thailand-93496
06/06/2023, 12:23 AMsalmon-thailand-93496
06/06/2023, 12:24 AMsalmon-thailand-93496
06/06/2023, 12:24 AMminiature-musician-31262
06/06/2023, 12:36 AMsalmon-thailand-93496
06/06/2023, 12:41 AMsalmon-thailand-93496
06/06/2023, 12:41 AMminiature-musician-31262
06/06/2023, 12:41 AMminiature-musician-31262
06/06/2023, 12:42 AMapigateway.RestAPI
as well. Lemme doublecheck.miniature-musician-31262
06/06/2023, 12:46 AMawsx.classic
and use apigateway.RestAPI
. Seems fine. 🙂salmon-thailand-93496
06/06/2023, 2:17 AMsalmon-thailand-93496
06/06/2023, 2:42 AMsalmon-thailand-93496
06/06/2023, 2:42 AMsalmon-thailand-93496
06/06/2023, 2:42 AMglamorous-wolf-31414
06/09/2023, 5:38 PMDockerfile:1
--------------------
1 | >>> FROM public.ecr.aws/lambda/nodejs:18
2 |
3 | # Assumes your function is named "app.js", and there is a package.json file in the app directory
--------------------
ERROR: failed to solve: public.ecr.aws/lambda/nodejs:18: pulling from host public.ecr.aws failed with status code [manifests 18]: 403 Forbidden
glamorous-wolf-31414
06/09/2023, 5:38 PMglamorous-wolf-31414
06/09/2023, 6:19 PMaws:apigateway:RestApi (api):
error: 1 error occurred:
* creating urn:pulumi:mimic-pul-cont::container-with-api-gateway::aws-apigateway:index:RestAPI$aws:apigateway/restApi:RestApi::api: 1 error occurred:
* error creating API Gateway specification: BadRequestException: Errors found during import:
Unable to put integration on 'GET' for resource at path '/route': Invalid ARN specified in the request
Thanks.