Skip to content

Error using talosSecrets #98

@itpick

Description

@itpick
Diagnostics:
  pulumi:pulumi:Stack (talos-aws-pulumi-talos-us-east-1):
    # github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:49:6: SecretsType redeclared in this block
        ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3190:6: other declaration of SecretsType
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:69:75: cannot use &resource (value of type *SecretsType) as pulumi.Resource value in argument to ctx.RegisterResource: *SecretsType does not implement pulumi.Resource (missing method URN)
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:117:6: SecretsTypeArgs redeclared in this block
        ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3209:6: other declaration of SecretsTypeArgs
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:122:24: method SecretsTypeArgs.ElementType already declared at ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3216:24
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:126:6: SecretsTypeInput redeclared in this block
        ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3201:6: other declaration of SecretsTypeInput
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:195:6: SecretsTypeOutput redeclared in this block
        ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3270:6: other declaration of SecretsTypeOutput
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:197:26: method SecretsTypeOutput.ElementType already declared at ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3272:26
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:201:28: method SecretsTypeOutput.ToSecretsTypeOutput already declared at ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3276:28
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:205:28: method SecretsTypeOutput.ToSecretsTypeOutputWithContext already declared at ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/pulumiTypes.go:3280:28
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/init.go:29:7: cannot use &SecretsType{} (value of type *SecretsType) as pulumi.Resource value in assignment: *SecretsType does not implement pulumi.Resource (missing method URN)
    ../../../../go/pkg/mod/github.com/pulumiverse/pulumi-talos/sdk@v0.2.0/go/talos/machine/secrets.go:69:75: too many errors

    error: error in compiling Go: unable to run `go build`: exit status 1
something is broken with v0.2.0.  And chance we will see an update that fixes the talos secrets?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions