diff --git a/cli/internal/cmd/BUILD.bazel b/cli/internal/cmd/BUILD.bazel index 807caeb181..e31feaccf2 100644 --- a/cli/internal/cmd/BUILD.bazel +++ b/cli/internal/cmd/BUILD.bazel @@ -13,7 +13,11 @@ go_library( "configkubernetesversions.go", "configmigrate.go", "create.go", + "iam.go", "iamcreate.go", + "iamcreateaws.go", + "iamcreateazure.go", + "iamcreategcp.go", "iamdestroy.go", "iamupgradeapply.go", "init.go", @@ -88,6 +92,7 @@ go_library( "@com_github_siderolabs_talos_pkg_machinery//config/encoder", "@com_github_spf13_afero//:afero", "@com_github_spf13_cobra//:cobra", + "@com_github_spf13_pflag//:pflag", "@in_gopkg_yaml_v3//:yaml_v3", "@io_k8s_apiextensions_apiserver//pkg/apis/apiextensions/v1:apiextensions", "@io_k8s_apimachinery//pkg/runtime", diff --git a/go.mod b/go.mod index 7fd600238d..a187fbf062 100644 --- a/go.mod +++ b/go.mod @@ -109,6 +109,7 @@ require ( github.com/sigstore/sigstore v1.7.1 github.com/spf13/afero v1.10.0 github.com/spf13/cobra v1.7.0 + github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 github.com/theupdateframework/go-tuf v0.5.2 github.com/tink-crypto/tink-go/v2 v2.0.0 @@ -137,8 +138,6 @@ require ( sigs.k8s.io/yaml v1.3.0 ) -require github.com/google/go-tdx-guest v0.2.2 // indirect - require ( cloud.google.com/go v0.110.2 // indirect cloud.google.com/go/iam v1.1.0 // indirect @@ -234,6 +233,7 @@ require ( github.com/google/go-attestation v0.5.0 // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/google/go-containerregistry v0.15.2 // indirect + github.com/google/go-tdx-guest v0.2.2 // indirect github.com/google/go-tspi v0.3.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/logger v1.1.1 // indirect @@ -306,7 +306,6 @@ require ( github.com/shopspring/decimal v1.3.1 // indirect github.com/sirupsen/logrus v1.9.0 // indirect github.com/spf13/cast v1.5.1 // indirect - github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.5.0 // indirect github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect github.com/transparency-dev/merkle v0.0.2 // indirect