You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the source for 6.66.2 of @pulumi/aws, there is no id property on a RestApi resource. Looks like it's now restApiResource.api.id. Which is kind of confusing, since it's not at the top level like many other resources.
The text was updated successfully, but these errors were encountered:
I'm sorry I don't quite see what you're saying. All pulumi-aws resources do have an id property that's returned by the provider. The RestApi resource also has a rootResourceId that's returned from ApiGgateway
I don't however see any api output on that resource. I wonder if you might be using https://www.pulumi.com/registry/packages/aws-apigateway/api-docs/restapi/ instead? That's a component resource that assists with creating the underlying AWS resources. It doesn't have an id field because an id of the component resource is not meaningful, but it returns an instance of a pulumi-aws RestApi resource in it's api field (which as discussed above, does have an id field).
File: themes/default/content//registry/packages/aws/api-docs/apigateway/restapi
Per the source for 6.66.2 of @pulumi/aws, there is no
id
property on a RestApi resource. Looks like it's nowrestApiResource.api.id
. Which is kind of confusing, since it's not at the top level like many other resources.The text was updated successfully, but these errors were encountered: