What’s the right way to create VPC for later use i...
# golang
b
What’s the right way to create VPC for later use in eks.NewCLuster?
1
I’ve tried using
Copy code
vpc, err := ec2.NewVpc(ctx, "eksVpc", &ec2.VpcArgs{})
		if err != nil {
			return err
		}
from
Copy code
"<http://github.com/pulumi/pulumi-awsx/sdk/go/awsx/ec2|github.com/pulumi/pulumi-awsx/sdk/go/awsx/ec2>"
but it requires plugin
Copy code
error: no resource plugin 'pulumi-resource-awsx' found in the workspace at version v1.0.0-testplsignore.0 or on your $PATH, install the plugin using `pulumi plugin install resource awsx v1.0.0-testplsignore.0`
which i believe has not been released yet.
Copy code
pulumi plugin install resource awsx v1.0.0-testplsignore.0
[resource plugin awsx-1.0.0-testplsignore.0] installing
warning: Error downloading plugin: 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-awsx-v1.0.0-testplsignore.0-darwin-arm64.tar.gz>
ah, looks like i’ve fixed it by
Copy code
pulumi plugin install resource awsx 1.0.0-beta.10
and
Copy code
go get <http://github.com/pulumi/pulumi-awsx/sdk@v1.0.0-beta.10|github.com/pulumi/pulumi-awsx/sdk@v1.0.0-beta.10>