pulumi / pulumi-aws-apigateway

Apache License 2.0
13 stars 5 forks source link

Go: `importBasePath` is wrong #64

Closed iwahbe closed 1 year ago

iwahbe commented 1 year ago

What happened?

The importBasePath in the schema is wrong.

https://github.com/pulumi/pulumi-aws-apigateway/blob/d8a5e8d6264c51d0b979628e6b6d641bd1f0f97c/schema.yaml#L444

It should be github.com/pulumi/pulumi-aws-apigateway/sdk/go/apigateway.

In the examples for the repo, we see the correct import path used:

https://github.com/pulumi/pulumi-aws-apigateway/blob/d8a5e8d6264c51d0b979628e6b6d641bd1f0f97c/examples/simple-go/main.go#L4

Steps to reproduce

Generate any code against the library.

Expected Behavior

importBasePath lines up with package structure.

Actual Behavior

importBasePath does not line up with package structure.

Output of pulumi about

No response

Additional context

No response

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).