pulumi / pulumi-aws-apigateway

Apache License 2.0
11 stars 5 forks source link

Resource type in provider not consistent with the schema #21

Closed pawelprazak closed 2 years ago

pawelprazak commented 2 years ago

What happened?

https://github.com/pulumi/pulumi-java/issues/594

Steps to reproduce

https://github.com/pulumi/pulumi-java/issues/594

Expected Behavior

Urn consistent between sdk and provider.

Actual Behavior

https://github.com/pulumi/pulumi-java/issues/594

Versions used

$ pulumi about
CLI          
Version      3.32.1
Go Version   go1.17.9
Go Compiler  gc

Plugins
NAME            VERSION
aws             5.4.0
aws-apigateway  0.0.7
awsx            1.0.0-beta.1
java            unknown

Host     
OS       darwin
Version  11.5.2
Arch     x86_64
...

Additional context

https://github.com/pulumi/pulumi-aws-apigateway/blob/main/provider/cmd/pulumi-resource-aws-apigateway/restAPI.ts#L136 defines type as apigateway:index:RestAPI and schema https://github.com/pulumi/pulumi-aws-apigateway/blob/main/schema.yaml#L345 as aws-apigateway:index:RestAPI

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

pawelprazak commented 2 years ago

Looks like a typo #22