https://pulumi.com logo
#golang
Title
# golang
g

gifted-city-99717

05/23/2020, 4:41 PM
I think I found a bug:
Copy code
♥ λ go test -v
# <http://github.com/pulumi/pulumi/pkg/v2/resource/stack|github.com/pulumi/pulumi/pkg/v2/resource/stack>
../../../../../../pkg/mod/github.com/pulumi/pulumi/pkg/v2@v2.2.1/resource/stack/deployment.go:405:10: secret.Plaintext undefined (type apitype.SecretV1 has no field or method Plaintext)
FAIL	notifying-sink [build failed]
I can run
pulumi preview
without a problem
Copy code
♥ λ pulumi preview
Previewing update (corelight/dev):
     Type                 Name                          Plan
 +   pulumi:pulumi:Stack  corelight-notifying-sink-dev  create
 +   └─ aws:s3:Bucket     my-bucket                     create

Resources:
    + 2 to create

Permalink: <https://app.pulumi.com/corelight/corelight-notifying-sink/dev/previews/6a73ca35-1d63-46b1-af02-50d6f6302722>
and my go.mod looks like this
Copy code
module notifying-sink

go 1.13

replace <http://github.com/Azure/go-autorest|github.com/Azure/go-autorest> => <http://github.com/Azure/go-autorest|github.com/Azure/go-autorest> v12.4.3+incompatible

require (
    <http://github.com/onsi/ginkgo|github.com/onsi/ginkgo> v1.12.2 // indirect
    <http://github.com/pulumi/pulumi-aws/sdk/v2|github.com/pulumi/pulumi-aws/sdk/v2> v2.0.0
    <http://github.com/pulumi/pulumi/pkg/v2|github.com/pulumi/pulumi/pkg/v2> v2.2.1
    <http://github.com/pulumi/pulumi/sdk/v2|github.com/pulumi/pulumi/sdk/v2> v2.0.0
    <http://github.com/stretchr/testify|github.com/stretchr/testify> v1.5.1
    <http://gopkg.in/airbrake/gobrake.v2|gopkg.in/airbrake/gobrake.v2> v2.0.9 // indirect
    <http://gopkg.in/gemnasium/logrus-airbrake-hook.v2|gopkg.in/gemnasium/logrus-airbrake-hook.v2> v2.1.2 // indirect
)
I am able to run
go build
successfully
Anyone able to give me a sanity check on my previous post? ^
3 Views