gruntwork-io/cloud-nuke

cloud-nuke v0.30.0 fails to compile

Closed this issue ยท 2 comments

Hello ๐Ÿ‘‹ . I'm a maintainer for the Homebrew project. While packaging v0.30.0 of cloud-nuke we are encountering a build failure:

# github.com/gruntwork-io/cloud-nuke/aws
aws/elasticache.go:275:27: configObj.ElasticacheParameterGroup undefined (type "github.com/gruntwork-io/cloud-nuke/config".Config has no field or method ElasticacheParameterGroup)
aws/elasticache.go:276:13: configObj.ElasticacheParameterGroup undefined (type "github.com/gruntwork-io/cloud-nuke/config".Config has no field or method ElasticacheParameterGroup)
aws/elasticache.go:341:13: configObj.ElasticacheSubnetGroup undefined (type "github.com/gruntwork-io/cloud-nuke/config".Config has no field or method ElasticacheSubnetGroup)
aws/elasticache.go:342:13: configObj.ElasticacheSubnetGroup undefined (type "github.com/gruntwork-io/cloud-nuke/config".Config has no field or method ElasticacheSubnetGroup)

We are running go build -trimpath -o=/opt/homebrew/Cellar/cloud-nuke/0.30.0/bin/cloud-nuke -ldflags=-s -w -X main.VERSION=v0.30.0 to build.

Relates to Homebrew/homebrew-core#130103

Hi @p-linnane ,
thanks for flagging this, I updated 0.30.0 tag on fixed commit

Confirming that the issue is fixed now. Thanks!