pulumi / pulumi-aws-apigateway

Apache License 2.0
11 stars 5 forks source link

Go SDK does not compile #51

Closed lukehoban closed 2 years ago

lukehoban commented 2 years ago

What happened?

The Go SDK cannot be used - it fails to compile with:

# github.com/pulumi/pulumi-aws-apigateway/sdk/go/apigateway
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws-apigateway/sdk@v0.0.7/go/apigateway/restAPI.go:92:11: undefined: RouteArgs

Steps to reproduce

Run any program which tries to reference v0.0.7 or later of this package in Go, such as the Go example in the examples folder.

Expected Behavior

It compiles.

Actual Behavior

It doesn't compile.

Versions used

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

lukehoban commented 2 years ago

This was broken by the changes in https://github.com/pulumi/pulumi-aws-apigateway/commit/0dad4f9342a1e4f823bfbafcee9d254a9d039b46#diff-2a40442b8af6a6d09227e933b4ef86132782123c989e0909c2223785c6c27619 as part of https://github.com/pulumi/pulumi-aws-apigateway/pull/20.

stack72 commented 2 years ago

@AaronFriel as discussed

AaronFriel commented 2 years ago

I've bisected the change to a commit in this PR: https://github.com/pulumi/pulumi/pull/7943