adamant-guitar-56279
11/22/2022, 9:02 PMError: failed to register new resource ***** [aws-apigateway:index:RestAPI]: 2 UNKNOWN: plugins that can construct components must support secrets
When doing as per example in https://www.pulumi.com/docs/guides/crosswalk/aws/api-gateway/#lambda-request-handling but with a provider eg:
export const openapiAPI = new apigateway.RestAPI(
`api`,
routes: [
{
path: "/",
method: "GET",
eventHandler: helloHandler,
},
],
{ provider }
);
happy-parrot-60128
11/23/2022, 11:55 AMadamant-guitar-56279
11/23/2022, 10:27 PM@pulumi/aws-apigateway
to v1.0.0 and still getting error. For the provider I'm setting region
, assumeRole
and defaultTags
.
I switched over to using new awsx.apigateway.API
and not having issues so not blocked now