Hei :smile: Is there anyone using Pulumi go with t...
# golang
r
Hei 😄 Is there anyone using Pulumi go with the AWS wafv2 (github.com/pulumi/pulumi-aws/sdk/v5/go/aws/wafv2) package? I am struggling to get the code compile when i include the wafv2 package. First i noticed that it got stuck on pulumi preview, i narrowed it down the the wafv2 package. Found out that it is getting stuck in the go build step. Anyone experiencing the same, something that I could have missed? This seems to be the last command running:
Copy code
<http://github.com/pulumi/pulumi-aws/sdk/v5@v5.41.0/go/aws/wafv2/webAclLoggingConfiguration.go|github.com/pulumi/pulumi-aws/sdk/v5@v5.41.0/go/aws/wafv2/webAclLoggingConfiguration.go>
Here is an example code:
Copy code
package main

import (
	"<http://github.com/pulumi/pulumi-aws/sdk/v5/go/aws/wafv2|github.com/pulumi/pulumi-aws/sdk/v5/go/aws/wafv2>"
	"<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi|github.com/pulumi/pulumi/sdk/v3/go/pulumi>"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error) {
		temp := wafv2.IpSetArgs{}
		fmt.println(temp)

		return nil
	}
}
b
I'm using golang / AWS, not specifically using WAF yet but am curious to know what's happening here - clicking on https://pkg.go.dev/github.com/pulumi/pulumi-aws/sdk/v5@v5.41.0/go/aws/wafv2 times out
r
I havn’t had much time looking into it, but yea that times out for me to 🤔
a
Still times out for me.
You might be able to read the docs by going to source.
Should have some comments.
image.png
r
The docs is okay for me, usually use the pulumi website or the github repository. Still struggling with getting the code to compile, when I include that package. Have also been trying a few of the example snippets, but with no luck. Not seeing the same issue with the other Pulumi aws packages. The api gateway package is working for example (github.com/pulumi/pulumi-aws/sdk/v5/go/aws/apigatewayv2)