From 72b3206d88f3d555a65d5fe5f51071763cda5cff Mon Sep 17 00:00:00 2001 From: Jo Giroux Date: Wed, 9 Oct 2024 16:35:38 -0400 Subject: [PATCH] Update dependencies (#714) Also, fix some typos according to cspell Freeze terraform version by using Coveo fork instead of using the official Hashicorp version. This avoid Renovate breaks the build by updating terraform dependencies and fix go get by telling him to use our fork instead of the upstream while discovering new versions. --- .cspell.json | 84 ++++++++++++++++++++++ cli/get_stack_info.go | 2 +- config/config.go | 2 +- config/extension_base_list.go | 2 +- config/generated_approval_config.go | 2 +- config/generated_extra_args.go | 2 +- config/generated_extra_command.go | 2 +- config/generated_hooks.go | 2 +- config/generated_import_files.go | 2 +- config/generated_import_variables.go | 2 +- configstack/module.go | 12 ++-- configstack/running_module.go | 6 +- configstack/stack_plan.go | 2 +- go.mod | 53 +++++++------- go.sum | 104 +++++++++++++-------------- main.go | 2 +- remote/remote_state.go | 2 +- test/integration_bootstrap_test.go | 6 +- test/integration_variables_test.go | 2 +- tgerrors/errors.go | 2 +- 20 files changed, 189 insertions(+), 104 deletions(-) create mode 100644 .cspell.json diff --git a/.cspell.json b/.cspell.json new file mode 100644 index 000000000..abbd8977b --- /dev/null +++ b/.cspell.json @@ -0,0 +1,84 @@ +{ + "ignoreWords": [ + "alecthomas", + "awshelper", + "backends", + "cheekybits", + "codecov", + "configstack", + "coveooss", + "debugf", + "doesnt", + "dont", + "eipalloc", + "envv", + "envvars", + "errwriter", + "exitcode", + "exiter", + "extensioner", + "fatih", + "funcs", + "genny", + "getter's", + "gocty", + "goerrors", + "gohcl", + "gotemplate", + "gruntwork", + "gthcl", + "hacky", + "hclparse", + "hclwrite", + "infof", + "infoln", + "inode", + "jondoe", + "jsonencode", + "kief", + "ldflags", + "logname", + "logrus", + "mapstructure", + "marshallable", + "matryer", + "mgmt", + "mitchellh", + "multilogger", + "mycompany", + "mysql", + "nilf", + "noconfig", + "novendor", + "preboot", + "prepended", + "reutils", + "sirupsen", + "stretchr", + "stscreds", + "subdir", + "subfolder", + "subfolders", + "templatestring", + "terragrunt", + "testmap", + "tfconfig", + "tflang", + "tfpath", + "tfstate", + "tfvars", + "tgerrors", + "tracef", + "undeploy", + "untaint", + "urfave", + "urlhelper", + "vals", + "varfile", + "warningf", + "whitespaces", + "zclconf" + ], + "words": [], + "language": "en,en-US,en-GB" +} \ No newline at end of file diff --git a/cli/get_stack_info.go b/cli/get_stack_info.go index ef266e771..82296d7e6 100644 --- a/cli/get_stack_info.go +++ b/cli/get_stack_info.go @@ -24,7 +24,7 @@ func getStack(terragruntOptions *options.TerragruntOptions) (err error) { modules configstack.SimpleTerraformModules ) - run := app.Flag("run", "Run the full stack to get the result instead of just analysing the dependencies").Short('r').Bool() + run := app.Flag("run", "Run the full stack to get the result instead of just analyzing the dependencies").Short('r').Bool() output := app.Flag("output", "Specify format of the output (hcl, json, yaml)").Short('o').Enum("h", "hcl", "H", "HCL", "j", "json", "J", "JSON", "y", "yml", "yaml", "Y", "YML", "YAML") app.Flag("absolute", "Output absolute path (--abs)").Short('a').BoolVar(&absolute) app.Flag("abs", "").Hidden().BoolVar(&absolute) diff --git a/config/config.go b/config/config.go index fd9ab2c0a..395a0bc41 100644 --- a/config/config.go +++ b/config/config.go @@ -515,7 +515,7 @@ func (conf *TerragruntConfig) loadBootConfigs(terragruntOptions *options.Terragr if bootstrapFile != "" { bootstrapDir := path.Dir(bootstrapFile) if strings.HasPrefix(bootstrapDir, "s3:/") { - // The path.Dir removes the double slash, so s3:// is not longer interpretated correctly + // The path.Dir removes the double slash, so s3:// is not longer interpreted correctly bootstrapDir = strings.Replace(bootstrapDir, "s3:/", "s3://", -1) } diff --git a/config/extension_base_list.go b/config/extension_base_list.go index 6dc809678..fb7570cc4 100644 --- a/config/extension_base_list.go +++ b/config/extension_base_list.go @@ -26,7 +26,7 @@ func (list GenericItemList) baseInit(config *TerragruntConfigFile) { } } -// Merge elements from an imported list to the current list priorising those already existing +// Merge elements from an imported list to the current list prioritizing those already existing func (list *GenericItemList) merge(imported GenericItemList, mode mergeMode, argName string) { if len(imported) == 0 { return diff --git a/config/generated_approval_config.go b/config/generated_approval_config.go index ffd3cc7b1..57ef44efa 100644 --- a/config/generated_approval_config.go +++ b/config/generated_approval_config.go @@ -25,7 +25,7 @@ func (list ApprovalConfigList) baseInit(config *TerragruntConfigFile) { } } -// Merge elements from an imported list to the current list priorising those already existing +// Merge elements from an imported list to the current list prioritizing those already existing func (list *ApprovalConfigList) merge(imported ApprovalConfigList, mode mergeMode, argName string) { if len(imported) == 0 { return diff --git a/config/generated_extra_args.go b/config/generated_extra_args.go index 46aec7b5f..0e1e3215c 100644 --- a/config/generated_extra_args.go +++ b/config/generated_extra_args.go @@ -25,7 +25,7 @@ func (list TerraformExtraArgumentsList) baseInit(config *TerragruntConfigFile) { } } -// Merge elements from an imported list to the current list priorising those already existing +// Merge elements from an imported list to the current list prioritizing those already existing func (list *TerraformExtraArgumentsList) merge(imported TerraformExtraArgumentsList, mode mergeMode, argName string) { if len(imported) == 0 { return diff --git a/config/generated_extra_command.go b/config/generated_extra_command.go index fdc5a4af9..e0be86571 100644 --- a/config/generated_extra_command.go +++ b/config/generated_extra_command.go @@ -25,7 +25,7 @@ func (list ExtraCommandList) baseInit(config *TerragruntConfigFile) { } } -// Merge elements from an imported list to the current list priorising those already existing +// Merge elements from an imported list to the current list prioritizing those already existing func (list *ExtraCommandList) merge(imported ExtraCommandList, mode mergeMode, argName string) { if len(imported) == 0 { return diff --git a/config/generated_hooks.go b/config/generated_hooks.go index 1cf5d4f37..04f52007e 100644 --- a/config/generated_hooks.go +++ b/config/generated_hooks.go @@ -25,7 +25,7 @@ func (list HookList) baseInit(config *TerragruntConfigFile) { } } -// Merge elements from an imported list to the current list priorising those already existing +// Merge elements from an imported list to the current list prioritizing those already existing func (list *HookList) merge(imported HookList, mode mergeMode, argName string) { if len(imported) == 0 { return diff --git a/config/generated_import_files.go b/config/generated_import_files.go index 574224894..0dfba0475 100644 --- a/config/generated_import_files.go +++ b/config/generated_import_files.go @@ -25,7 +25,7 @@ func (list ImportFilesList) baseInit(config *TerragruntConfigFile) { } } -// Merge elements from an imported list to the current list priorising those already existing +// Merge elements from an imported list to the current list prioritizing those already existing func (list *ImportFilesList) merge(imported ImportFilesList, mode mergeMode, argName string) { if len(imported) == 0 { return diff --git a/config/generated_import_variables.go b/config/generated_import_variables.go index 33b4527fa..c2abdb076 100644 --- a/config/generated_import_variables.go +++ b/config/generated_import_variables.go @@ -25,7 +25,7 @@ func (list ImportVariablesList) baseInit(config *TerragruntConfigFile) { } } -// Merge elements from an imported list to the current list priorising those already existing +// Merge elements from an imported list to the current list prioritizing those already existing func (list *ImportVariablesList) merge(imported ImportVariablesList, mode mergeMode, argName string) { if len(imported) == 0 { return diff --git a/configstack/module.go b/configstack/module.go index 12222030e..cfa630cd3 100644 --- a/configstack/module.go +++ b/configstack/module.go @@ -99,12 +99,12 @@ func ResolveTerraformModules(terragruntConfigPaths []string, terragruntOptions * if err != nil { return []*TerraformModule{}, err } - return crosslinkDependencies(mergeMaps(modules, externalDependencies), canonicalTerragruntConfigPaths) + return crossLinkDependencies(mergeMaps(modules, externalDependencies), canonicalTerragruntConfigPaths) } // Go through each of the given Terragrunt configuration files and resolve the module that configuration file represents // into a TerraformModule struct. Note that this method will NOT fill in the Dependencies field of the TerraformModule -// struct (see the crosslinkDependencies method for that). Return a map from module path to TerraformModule struct. +// struct (see the crossLinkDependencies method for that). Return a map from module path to TerraformModule struct. // // resolveExternal is used to exclude modules that don't contain terraform files. This is used to avoid requirements of // adding terragrunt.ignore when a parent folder doesn't have terraform files to deploy by itself. @@ -126,7 +126,7 @@ func resolveModules(canonicalTerragruntConfigPaths []string, terragruntOptions * // Create a TerraformModule struct for the Terraform module specified by the given Terragrunt configuration file path. // Note that this method will NOT fill in the Dependencies field of the TerraformModule struct (see the -// crosslinkDependencies method for that). +// crossLinkDependencies method for that). func resolveTerraformModule(terragruntConfigPath string, terragruntOptions *options.TerragruntOptions) (module *TerraformModule, tfFiles bool, err error) { modulePath, err := util.CanonicalPath(filepath.Dir(terragruntConfigPath), ".") if err != nil { @@ -168,7 +168,7 @@ func resolveTerraformModule(terragruntConfigPath string, terragruntOptions *opti // These external dependencies are outside of the current working directory, which means they may not be part of the // environment the user is trying to apply-all or destroy-all. Therefore, this method also confirms whether the user wants // to actually apply those dependencies or just assume they are already applied. Note that this method will NOT fill in -// the Dependencies field of the TerraformModule struct (see the crosslinkDependencies method for that). +// the Dependencies field of the TerraformModule struct (see the crossLinkDependencies method for that). func resolveExternalDependenciesForModules(canonicalTerragruntConfigPaths []string, moduleMap map[string]*TerraformModule, terragruntOptions *options.TerragruntOptions) (map[string]*TerraformModule, error) { allExternalDependencies := map[string]*TerraformModule{} @@ -218,7 +218,7 @@ func resolveExternalDependenciesForModules(canonicalTerragruntConfigPaths []stri // config (i.e. those dependencies not in the given list of Terragrunt config canonical file paths). These external // dependencies are outside of the current working directory, which means they may not be part of the environment the // user is trying to apply-all or destroy-all. Note that this method will NOT fill in the Dependencies field of the -// TerraformModule struct (see the crosslinkDependencies method for that). +// TerraformModule struct (see the crossLinkDependencies method for that). func resolveExternalDependenciesForModule(module *TerraformModule, canonicalTerragruntConfigPaths []string, terragruntOptions *options.TerragruntOptions) (result map[string]*TerraformModule, err error) { result = make(map[string]*TerraformModule) if module.Config.Dependencies == nil || len(module.Config.Dependencies.Paths) == 0 { @@ -276,7 +276,7 @@ func mergeMaps(modules map[string]*TerraformModule, externalDependencies map[str // Go through each module in the given map and cross-link its dependencies to the other modules in that same map. If // a dependency is referenced that is not in the given map, return an error. -func crosslinkDependencies(moduleMap map[string]*TerraformModule, canonicalTerragruntConfigPaths []string) ([]*TerraformModule, error) { +func crossLinkDependencies(moduleMap map[string]*TerraformModule, canonicalTerragruntConfigPaths []string) ([]*TerraformModule, error) { modules := []*TerraformModule{} for _, module := range moduleMap { diff --git a/configstack/running_module.go b/configstack/running_module.go index da62d229f..9b2778bc6 100644 --- a/configstack/running_module.go +++ b/configstack/running_module.go @@ -70,7 +70,7 @@ const ( // ModuleHandler is a function prototype to inject interaction during the processing. // The function receive the current module, its output and its error in parameter. // Normally, the handler should return the same error as received in parameter, but it is possible to -// alter the normal course of the proccess by changing the error result. +// alter the normal course of the process by changing the error result. type ModuleHandler func(TerraformModule, string, error) (string, error) // Create a new RunningModule struct for the given module. This will initialize all fields to reasonable defaults, @@ -156,7 +156,7 @@ func toRunningModules(modules []*TerraformModule, dependencyOrder dependencyOrde runningModules[module.Path] = newRunningModule(module, &mutex) } - return crossLinkDependencies(runningModules, dependencyOrder) + return crossLinkRunningModulesDependencies(runningModules, dependencyOrder) } // Loop through the map of runningModules and for each module M: @@ -164,7 +164,7 @@ func toRunningModules(modules []*TerraformModule, dependencyOrder dependencyOrde // - If dependencyOrder is NormalOrder, plug in all the modules M depends on into the Dependencies field and all the // modules that depend on M into the NotifyWhenDone field. // - If dependencyOrder is ReverseOrder, do the reverse. -func crossLinkDependencies(modules map[string]*runningModule, dependencyOrder dependencyOrder) (map[string]*runningModule, error) { +func crossLinkRunningModulesDependencies(modules map[string]*runningModule, dependencyOrder dependencyOrder) (map[string]*runningModule, error) { for _, module := range modules { for _, dependency := range module.Module.Dependencies { runningDependency, hasDependency := modules[dependency.Path] diff --git a/configstack/stack_plan.go b/configstack/stack_plan.go index 338fda09b..9288bea46 100644 --- a/configstack/stack_plan.go +++ b/configstack/stack_plan.go @@ -91,7 +91,7 @@ func getResultHandler(detailedExitCode bool, results *[]moduleResult, hasChanges if exitCode, convErr := shell.GetExitCode(err); convErr == nil && detailedExitCode && exitCode == tgerrors.ChangeExitCode { // We do not want to consider ChangeExitCode as an error and not execute the dependants because there is an "error" in the dependencies. // ChangeExitCode is not an error in this case, it is simply a status. We will reintroduce the exit code at the very end to mimic the behaviour - // of the native terrafrom plan -detailed-exitcode to exit with ChangeExitCode if there are changes in any of the module in the stack. + // of the native terraform plan -detailed-exitcode to exit with ChangeExitCode if there are changes in any of the module in the stack. *hasChanges = true err = nil } diff --git a/go.mod b/go.mod index 566b28ecc..582b19bf7 100644 --- a/go.mod +++ b/go.mod @@ -4,22 +4,22 @@ go 1.23 require ( github.com/alecthomas/kingpin/v2 v2.4.0 - github.com/aws/aws-sdk-go-v2 v1.32.1 - github.com/aws/aws-sdk-go-v2/config v1.27.42 - github.com/aws/aws-sdk-go-v2/credentials v1.17.40 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.36.1 - github.com/aws/aws-sdk-go-v2/service/s3 v1.65.1 - github.com/aws/aws-sdk-go-v2/service/ssm v1.55.1 - github.com/aws/aws-sdk-go-v2/service/sts v1.32.1 + github.com/aws/aws-sdk-go-v2 v1.32.2 + github.com/aws/aws-sdk-go-v2/config v1.27.43 + github.com/aws/aws-sdk-go-v2/credentials v1.17.41 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.36.2 + github.com/aws/aws-sdk-go-v2/service/s3 v1.65.2 + github.com/aws/aws-sdk-go-v2/service/ssm v1.55.2 + github.com/aws/aws-sdk-go-v2/service/sts v1.32.2 github.com/cheekybits/genny v1.0.0 - github.com/coveooss/gotemplate/v3 v3.9.1 + github.com/coveooss/gotemplate/v3 v3.9.2 github.com/coveooss/multilogger v0.6.0 github.com/fatih/color v1.17.0 github.com/go-errors/errors v1.5.1 github.com/hashicorp/go-getter v1.7.6 github.com/hashicorp/go-version v1.7.0 github.com/hashicorp/hcl/v2 v2.22.0 - github.com/hashicorp/terraform v0.15.3 // Terraform must be pinned to a specific version to avoid breaking changes + github.com/hashicorp/terraform v1.9.7 github.com/hashicorp/terraform-config-inspect v0.0.0-20240801114854-6714b46f5fe4 github.com/mitchellh/mapstructure v1.5.0 github.com/rs/xid v1.6.0 @@ -33,8 +33,8 @@ require ( require ( cel.dev/expr v0.16.2 // indirect - cloud.google.com/go v0.115.1 // indirect - cloud.google.com/go/auth v0.9.7 // indirect + cloud.google.com/go v0.116.0 // indirect + cloud.google.com/go/auth v0.9.8 // indirect cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect cloud.google.com/go/compute/metadata v0.5.2 // indirect cloud.google.com/go/iam v1.2.1 // indirect @@ -58,18 +58,18 @@ require ( github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/aws/aws-sdk-go v1.55.5 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.6 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.16 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.20 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.20 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.17 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.20 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.21 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.10.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.24.1 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.10.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.24.2 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.2 // indirect github.com/aws/smithy-go v1.22.0 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bmatcuk/doublestar v1.3.4 // indirect @@ -141,12 +141,12 @@ require ( golang.org/x/text v0.19.0 // indirect golang.org/x/time v0.7.0 // indirect google.golang.org/api v0.199.0 // indirect - google.golang.org/genproto v0.0.0-20240930140551-af27646dc61f // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240930140551-af27646dc61f // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240930140551-af27646dc61f // indirect + google.golang.org/genproto v0.0.0-20241007155032-5fefd90f89a9 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect google.golang.org/grpc v1.67.1 // indirect - google.golang.org/grpc/stats/opentelemetry v0.0.0-20241004113128-859602c14c6c // indirect - google.golang.org/protobuf v1.34.2 // indirect + google.golang.org/grpc/stats/opentelemetry v0.0.0-20241009093917-b8ee37db62be // indirect + google.golang.org/protobuf v1.35.1 // indirect gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect gopkg.in/src-d/go-git.v4 v4.13.1 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect @@ -155,4 +155,5 @@ require ( replace ( github.com/hashicorp/go-getter => github.com/coveord/go-getter v1.7.105 github.com/hashicorp/hcl/v2 => github.com/coveord/hcl/v2 v2.8.102 + github.com/hashicorp/terraform => github.com/coveooss/terraform v0.15.3 // Terraform must be pinned to a specific version to avoid breaking changes ) diff --git a/go.sum b/go.sum index 56ed231f3..80b58ab2a 100644 --- a/go.sum +++ b/go.sum @@ -32,8 +32,8 @@ cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w9 cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.115.1 h1:Jo0SM9cQnSkYfp44+v+NQXHpcHqlnRJk2qxh6yvxxxQ= -cloud.google.com/go v0.115.1/go.mod h1:DuujITeaufu3gL68/lOFIirVNJwQeyf5UXyi+Wbgknc= +cloud.google.com/go v0.116.0 h1:B3fRrSDkLRt5qSHWe40ERJvhvnQwdZiHu0bJOpldweE= +cloud.google.com/go v0.116.0/go.mod h1:cEPSRWPzZEswwdr9BxE6ChEn01dWlTaF05LiC2Xs70U= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= @@ -48,8 +48,8 @@ cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjby cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= -cloud.google.com/go/auth v0.9.7 h1:ha65jNwOfI48YmUzNfMaUDfqt5ykuYIUnSartpU1+BA= -cloud.google.com/go/auth v0.9.7/go.mod h1:Xo0n7n66eHyOWWCnitop6870Ilwo3PiZyodVkkH1xWM= +cloud.google.com/go/auth v0.9.8 h1:+CSJ0Gw9iVeSENVCKJoLHhdUykDgXSc4Qn+gu2BRtR8= +cloud.google.com/go/auth v0.9.8/go.mod h1:xxA5AqpDrvS+Gkmo9RqrGGRh6WSNKKOXhY3zNOr38tI= cloud.google.com/go/auth/oauth2adapt v0.2.4 h1:0GWE/FUsXhf6C+jAkWgYm7X9tK8cuEIfy19DBn6B6bY= cloud.google.com/go/auth/oauth2adapt v0.2.4/go.mod h1:jC/jOpwFP6JBxhB3P5Rr0a9HLMC/Pe3eaL4NmdvqPtc= cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= @@ -305,46 +305,46 @@ github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zK github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU= github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= -github.com/aws/aws-sdk-go-v2 v1.32.1 h1:8WuZ43ytA+TV6QEPT/R23mr7pWyI7bSSiEHdt9BS2Pw= -github.com/aws/aws-sdk-go-v2 v1.32.1/go.mod h1:2SK5n0a2karNTv5tbP1SjsX0uhttou00v/HpXKM1ZUo= +github.com/aws/aws-sdk-go-v2 v1.32.2 h1:AkNLZEyYMLnx/Q/mSKkcMqwNFXMAvFto9bNsHqcTduI= +github.com/aws/aws-sdk-go-v2 v1.32.2/go.mod h1:2SK5n0a2karNTv5tbP1SjsX0uhttou00v/HpXKM1ZUo= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.6 h1:pT3hpW0cOHRJx8Y0DfJUEQuqPild8jRGmSFmBgvydr0= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.6/go.mod h1:j/I2++U0xX+cr44QjHay4Cvxj6FUbnxrgmqN3H1jTZA= -github.com/aws/aws-sdk-go-v2/config v1.27.42 h1:Zsy9coUPuOsCWkjTvHpl2/DB9bptXtv7WeNPxvFr87s= -github.com/aws/aws-sdk-go-v2/config v1.27.42/go.mod h1:FGASs+PuJM2EY+8rt8qyQKLPbbX/S5oY+6WzJ/KE7ko= -github.com/aws/aws-sdk-go-v2/credentials v1.17.40 h1:RjnlA7t0p/IamxAM7FUJ5uS13Vszh4sjVGvsx91tGro= -github.com/aws/aws-sdk-go-v2/credentials v1.17.40/go.mod h1:dgpdnSs1Bp/atS6vLlW83h9xZPP+uSPB/27dFSgC1BM= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.16 h1:fwrer1pJeaiia0CcOfWVbZxvj9Adc7rsuaMTwPR0DIA= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.16/go.mod h1:XyEwwp8XI4zMar7MTnJ0Sk7qY/9aN8Hp929XhuX5SF8= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.20 h1:OErdlGnt+hg3tTwGYAlKvFkKVUo/TXkoHcxDxuhYYU8= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.20/go.mod h1:HsPfuL5gs+407ByRXBMgpYoyrV1sgMrzd18yMXQHJpo= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.20 h1:822cE1CYSwY/EZnErlF46pyynuxvf1p+VydHRQW+XNs= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.20/go.mod h1:79/Tn7H7hYC5Gjz6fbnOV4OeBpkao7E8Tv95RO72pMM= +github.com/aws/aws-sdk-go-v2/config v1.27.43 h1:p33fDDihFC390dhhuv8nOmX419wjOSDQRb+USt20RrU= +github.com/aws/aws-sdk-go-v2/config v1.27.43/go.mod h1:pYhbtvg1siOOg8h5an77rXle9tVG8T+BWLWAo7cOukc= +github.com/aws/aws-sdk-go-v2/credentials v1.17.41 h1:7gXo+Axmp+R4Z+AK8YFQO0ZV3L0gizGINCOWxSLY9W8= +github.com/aws/aws-sdk-go-v2/credentials v1.17.41/go.mod h1:u4Eb8d3394YLubphT4jLEwN1rLNq2wFOlT6OuxFwPzU= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.17 h1:TMH3f/SCAWdNtXXVPPu5D6wrr4G5hI1rAxbcocKfC7Q= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.17/go.mod h1:1ZRXLdTpzdJb9fwTMXiLipENRxkGMTn1sfKexGllQCw= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.21 h1:UAsR3xA31QGf79WzpG/ixT9FZvQlh5HY1NRqSHBNOCk= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.21/go.mod h1:JNr43NFf5L9YaG3eKTm7HQzls9J+A9YYcGI5Quh1r2Y= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.21 h1:6jZVETqmYCadGFvrYEQfC5fAQmlo80CeL5psbno6r0s= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.21/go.mod h1:1SR0GbLlnN3QUmYaflZNiH1ql+1qrSiB2vwcJ+4UM60= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 h1:VaRN3TlFdd6KxX1x3ILT5ynH6HvKgqdiXoTxAF4HQcQ= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1/go.mod h1:FbtygfRFze9usAadmnGJNc8KsP346kEe+y2/oyhGAGc= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.20 h1:HO5UCCkLmeWkJZHLvLDfylKv8ca28XLAX3HojZz2shI= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.20/go.mod h1:IO0HUM6Ouk/s7Rx3hiLtFU3mc+9OJFFygjsaxFBhAbk= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.36.1 h1:xIRbdGAUUzYvRDYykaTjrvSLi+BAanRb2Gz8LGVceWc= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.36.1/go.mod h1:IuazCWUcfLkDRJ7iSAQhoT6yX5wO/C8Dqvm5YABlM/4= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.21 h1:7edmS3VOBDhK00b/MwGtGglCm7hhwNYnjJs/PgFdMQE= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.21/go.mod h1:Q9o5h4HoIWG8XfzxqiuK/CGUbepCJ8uTlaE3bAbxytQ= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.36.2 h1:kJqyYcGqhWFmXqjRrtFFD4Oc9FXiskhsll2xnlpe8Do= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.36.2/go.mod h1:+t2Zc5VNOzhaWzpGE+cEYZADsgAAQT5v55AO+fhU+2s= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0 h1:TToQNkvGguu209puTojY/ozlqy2d/SFNcoLIqTFi42g= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0/go.mod h1:0jp+ltwkf+SwG2fm/PKo8t4y8pJSgOCO4D8Lz3k0aHQ= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.1 h1:UeW3Ul28hkKvB3beWImBvO7U62tSmapxaqk8sX9SMCU= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.1/go.mod h1:TER/1DuTxSN6RFQpk3xfD9hK4A1gQ7ainfkwHV3LPtU= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.10.1 h1:uXvof+J/50x8i/mi70hHhoW6HpPTZJXuof0UlxXEW38= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.10.1/go.mod h1:f+z0ptuHfvJZiYnCxEoPkL9IQFzNgpiCoCEzkn1dam0= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.1 h1:5vBMBTakOvtd8aNaicswcrr9qqCYUlasuzyoU6/0g8I= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.1/go.mod h1:WSUbDa5qdg05Q558KXx2Scb+EDvOPXT9gfET0fyrJSk= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.1 h1:T6oOYbNQ+iqdtG1/mTJvMBg/YFyHR8Z8URyG3qK+Anc= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.1/go.mod h1:25CEM6c1e2vyLcr3fPritPsdsoMwNAOc9//M1QAwtDk= -github.com/aws/aws-sdk-go-v2/service/s3 v1.65.1 h1:HQR79P0F0C2YQOaS2Z+90YK9DH22z9D6Neplaj0yuy4= -github.com/aws/aws-sdk-go-v2/service/s3 v1.65.1/go.mod h1:xYVl5BX9Ws7+ZM58b3w0kq36TR1Dgw2OMkjSr6YTWXg= -github.com/aws/aws-sdk-go-v2/service/ssm v1.55.1 h1:HqpHD/vOlIPvVSp9Gy1dSenPXmpWgvcgWrNoVWW3DCg= -github.com/aws/aws-sdk-go-v2/service/ssm v1.55.1/go.mod h1:az8SwCal1RPwT2TBBfLXW4iMEgX0Pkdv4qXNRDQwMmA= -github.com/aws/aws-sdk-go-v2/service/sso v1.24.1 h1:aAIr0WhAgvKrxZtkBqne87Gjmd7/lJVTFkR2l2yuhL8= -github.com/aws/aws-sdk-go-v2/service/sso v1.24.1/go.mod h1:8XhxGMWUfikJuginPQl5SGZ0LSJuNX3TCEQmFWZwHTM= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.1 h1:J6kIsIkgFOaU6aKjigXJoue1XEHtKIIrpSh4vKdmRTs= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.1/go.mod h1:2V2JLP7tXOmUbL3Hd1ojq+774t2KUAEQ35//shoNEL0= -github.com/aws/aws-sdk-go-v2/service/sts v1.32.1 h1:q76Ig4OaJzVJGNUSGO3wjSTBS94g+EhHIbpY9rPvkxs= -github.com/aws/aws-sdk-go-v2/service/sts v1.32.1/go.mod h1:664dajZ7uS7JMUMUG0R5bWbtN97KECNCVdFDdQ6Ipu8= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.2 h1:4FMHqLfk0efmTqhXVRL5xYRqlEBNBiRI7N6w4jsEdd4= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.2/go.mod h1:LWoqeWlK9OZeJxsROW2RqrSPvQHKTpp69r/iDjwsSaw= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.10.2 h1:1G7TTQNPNv5fhCyIQGYk8FOggLgkzKq6c4Y1nOGzAOE= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.10.2/go.mod h1:+ybYGLXoF7bcD7wIcMcklxyABZQmuBf1cHUhvY6FGIo= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.2 h1:s7NA1SOw8q/5c0wr8477yOPp0z+uBaXBnLE0XYb0POA= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.2/go.mod h1:fnjjWyAW/Pj5HYOxl9LJqWtEwS7W2qgcRLWP+uWbss0= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.2 h1:t7iUP9+4wdc5lt3E41huP+GvQZJD38WLsgVp4iOtAjg= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.2/go.mod h1:/niFCtmuQNxqx9v8WAPq5qh7EH25U4BF6tjoyq9bObM= +github.com/aws/aws-sdk-go-v2/service/s3 v1.65.2 h1:yi8m+jepdp6foK14xXLGkYBenxnlcfJ45ka4Pg7fDSQ= +github.com/aws/aws-sdk-go-v2/service/s3 v1.65.2/go.mod h1:cB6oAuus7YXRZhWCc1wIwPywwZ1XwweNp2TVAEGYeB8= +github.com/aws/aws-sdk-go-v2/service/ssm v1.55.2 h1:z6Pq4+jtKlhK4wWJGHRGwMLGjC1HZwAO3KJr/Na0tSU= +github.com/aws/aws-sdk-go-v2/service/ssm v1.55.2/go.mod h1:DSmu/VZzpQlAubWBbAvNpt+S4k/XweglJi4XaDGyvQk= +github.com/aws/aws-sdk-go-v2/service/sso v1.24.2 h1:bSYXVyUzoTHoKalBmwaZxs97HU9DWWI3ehHSAMa7xOk= +github.com/aws/aws-sdk-go-v2/service/sso v1.24.2/go.mod h1:skMqY7JElusiOUjMJMOv1jJsP7YUg7DrhgqZZWuzu1U= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.2 h1:AhmO1fHINP9vFYUE0LHzCWg/LfUWUF+zFPEcY9QXb7o= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.2/go.mod h1:o8aQygT2+MVP0NaV6kbdE1YnnIM8RRVQzoeUH45GOdI= +github.com/aws/aws-sdk-go-v2/service/sts v1.32.2 h1:CiS7i0+FUe+/YY1GvIBLLrR/XNGZ4CtM1Ll0XavNuVo= +github.com/aws/aws-sdk-go-v2/service/sts v1.32.2/go.mod h1:HtaiBI8CjYoNVde8arShXb94UbQQi9L4EMr6D+xGBwo= github.com/aws/smithy-go v1.22.0 h1:uunKnWlcoL3zO7q+gG2Pk53joueEOsnNB28QdMsmiMM= github.com/aws/smithy-go v1.22.0/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc= @@ -390,10 +390,12 @@ github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coveooss/gotemplate/v3 v3.9.1 h1:I2JV3Cii8U7RBR20Nm7VnrQOh+EsVpnQYf5BJ0LCrG8= -github.com/coveooss/gotemplate/v3 v3.9.1/go.mod h1:t2sGQM/hQveOxsdyQ3RE/7dQxizVIHslwSuRmP7kvl8= +github.com/coveooss/gotemplate/v3 v3.9.2 h1:SguDm5qpnoKi64WsazhRkNmSYNkOxfdLk+yyRR7mEYk= +github.com/coveooss/gotemplate/v3 v3.9.2/go.mod h1:XPYXK5tzn53rL/EPlXVyEDWIEUCQ1mPbawkxzEJT6SM= github.com/coveooss/multilogger v0.6.0 h1:wNLakL/3WKMvW6DZhLiHAJP5AdUQEfFFwvmhCC/PA6o= github.com/coveooss/multilogger v0.6.0/go.mod h1:iUFCRlim9stKtB7zH3gDUVgytMiptdULQ25dWsFrBiQ= +github.com/coveooss/terraform v0.15.3 h1:i8VVPBjYhQEPonlgpoSF5ENO7bNR+KRSQxLj9mhNKDM= +github.com/coveooss/terraform v0.15.3/go.mod h1:w4eBEsluZfYumXUTLe834eqHh969AabcLqbj2WAYlM8= github.com/coveord/go-getter v1.7.105 h1:91nEjjk8JpFtXZXHZY92NkP5DPSWUdgd0VT4inhiyMo= github.com/coveord/go-getter v1.7.105/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/coveord/hcl/v2 v2.8.102 h1:4ZvW6D7YPnVV1Q1KHMqLXdN1jpPfo87eb7qvuK3hoCQ= @@ -640,8 +642,6 @@ github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T github.com/hashicorp/jsonapi v0.0.0-20210420151930-edf82c9774bf/go.mod h1:Yog5+CPEM3c99L1CL2CFCYoSzgWm5vTU58idbRUaLik= github.com/hashicorp/memberlist v0.1.0/go.mod h1:ncdBp14cuox2iFOq3kDiquKU6fqsTBc3W6JvZwjxxsE= github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb/go.mod h1:h/Ru6tmZazX7WO/GDmwdpS975F019L4t5ng5IgwbNrE= -github.com/hashicorp/terraform v0.15.3 h1:2QWbTj2xJ/8W1gCyIrd0WAqVF4weKPMYjx8nKjbkQjA= -github.com/hashicorp/terraform v0.15.3/go.mod h1:w4eBEsluZfYumXUTLe834eqHh969AabcLqbj2WAYlM8= github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2/go.mod h1:Z0Nnk4+3Cy89smEbrq+sl1bxc9198gIP4I7wcQF6Kqs= github.com/hashicorp/terraform-config-inspect v0.0.0-20240801114854-6714b46f5fe4 h1:RwY5HBgtBZ997UtKJAO2Rx+94ETyevwWEVXWx1SL5YY= github.com/hashicorp/terraform-config-inspect v0.0.0-20240801114854-6714b46f5fe4/go.mod h1:Gz/z9Hbn+4KSp8A2FBtNszfLSdT2Tn/uAKGuVqqWmDI= @@ -1416,12 +1416,12 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20240930140551-af27646dc61f h1:mCJ6SGikSxVlt9scCayUl2dMq0msUgmBArqRY6umieI= -google.golang.org/genproto v0.0.0-20240930140551-af27646dc61f/go.mod h1:xtVODtPkMQRUZ4kqOTgp6JrXQrPevvfCSdk4mJtHUbM= -google.golang.org/genproto/googleapis/api v0.0.0-20240930140551-af27646dc61f h1:jTm13A2itBi3La6yTGqn8bVSrc3ZZ1r8ENHlIXBfnRA= -google.golang.org/genproto/googleapis/api v0.0.0-20240930140551-af27646dc61f/go.mod h1:CLGoBuH1VHxAUXVPP8FfPwPEVJB6lz3URE5mY2SuayE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240930140551-af27646dc61f h1:cUMEy+8oS78BWIH9OWazBkzbr090Od9tWBNtZHkOhf0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240930140551-af27646dc61f/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/genproto v0.0.0-20241007155032-5fefd90f89a9 h1:nFS3IivktIU5Mk6KQa+v6RKkHUpdQpphqGNLxqNnbEk= +google.golang.org/genproto v0.0.0-20241007155032-5fefd90f89a9/go.mod h1:tEzYTYZxbmVNOu0OAFH9HzdJtLn6h4Aj89zzlBCdHms= +google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9 h1:T6rh4haD3GVYsgEfWExoCZA2o2FmbNyKpTuAxbEFPTg= +google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9/go.mod h1:wp2WsuBYj6j8wUdo3ToZsdxxixbvQNAHqVJrTgi5E5M= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 h1:QCqS/PdaHTSWGvupk2F/ehwHtGc0/GYkT+3GAcR1CCc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -1461,8 +1461,8 @@ google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCD google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/grpc/stats/opentelemetry v0.0.0-20241004113128-859602c14c6c h1:pJuL8NmW9MVLZijtjSba++KjWp4JSUzTqHYInzgdxwA= -google.golang.org/grpc/stats/opentelemetry v0.0.0-20241004113128-859602c14c6c/go.mod h1:xwT0YrcBcgR1ZSSLJtUgCjF5QlvTOhiwA/I9TcYf3Gg= +google.golang.org/grpc/stats/opentelemetry v0.0.0-20241009093917-b8ee37db62be h1:M7jE+Kcq0Dw8L/FEcoCZn/keQs8zBErCbVslHIdOimA= +google.golang.org/grpc/stats/opentelemetry v0.0.0-20241009093917-b8ee37db62be/go.mod h1:xwT0YrcBcgR1ZSSLJtUgCjF5QlvTOhiwA/I9TcYf3Gg= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1478,8 +1478,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= +google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= +google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/main.go b/main.go index e6f2fcbd7..41b7aaf58 100644 --- a/main.go +++ b/main.go @@ -31,7 +31,7 @@ func checkForErrorsAndExit(err error) { logger := multilogger.New("terragrunt") if _, ok := tgerrors.Unwrap(err).(tgerrors.PlanWithChanges); !ok { - // Plan status are not considred as an error + // Plan status are not considered as an error if os.Getenv(options.EnvDebug) != "" { logger.Error(tgerrors.PrintErrorWithStackTrace(err)) } else { diff --git a/remote/remote_state.go b/remote/remote_state.go index 3ca1e7977..b5608e020 100644 --- a/remote/remote_state.go +++ b/remote/remote_state.go @@ -145,7 +145,7 @@ func (remoteState State) ToTerraformInitArgs() []string { return backendConfigArgs } -// ErrBackendMissing indicates that there is no backend configration defined. +// ErrBackendMissing indicates that there is no backend configuration defined. var ErrBackendMissing = fmt.Errorf("the remote_state.backend field cannot be empty") // Return true if the existing config from a .tfstate file is equal to the new config from the user's backend diff --git a/test/integration_bootstrap_test.go b/test/integration_bootstrap_test.go index a5abab7bc..4030ce072 100644 --- a/test/integration_bootstrap_test.go +++ b/test/integration_bootstrap_test.go @@ -36,7 +36,7 @@ func TestTerragruntBootstrap(t *testing.T) { expectedOutput: "my_value my_value2 my_value3", // This is output by the hook }, { - name: "Simple pre-bootstrap with a file prependend with file:// (Testing accepted values)", + name: "Simple pre-bootstrap with a file prepended with file:// (Testing accepted values)", project: "fixture-bootstrap/preboot", preboot: []string{"file://" + absoluteTestPath + "/preboot/variables.json", absoluteTestPath + "/preboot/variables.yml"}, expectedOutput: "my_value my_value2 my_value3", // This is output by the hook @@ -49,13 +49,13 @@ func TestTerragruntBootstrap(t *testing.T) { expectedOutput: "test output", }, { - name: "Test gotemplating in a template file", + name: "Test go templating in a template file", project: "fixture-bootstrap/templating-in-bootstrap", bootstrap: []string{absoluteTestPath + "/_external_dir/templating-in-bootstrap.hcl"}, expectedOutput: "test variable", // This is output by the hook }, { - name: "Test gotemplating with terragrunt functions in a template file", + name: "Test go templating with terragrunt functions in a template file", project: "fixture-bootstrap/terragrunt-function-in-bootstrap", bootstrap: []string{absoluteTestPath + "/_external_dir/terragrunt-function-in-bootstrap.hcl"}, expectedOutput: "default_env_value", // This is output by the hook diff --git a/test/integration_variables_test.go b/test/integration_variables_test.go index 8948a73ca..4c25e6abe 100644 --- a/test/integration_variables_test.go +++ b/test/integration_variables_test.go @@ -120,7 +120,7 @@ func TestTerragruntImportVariables(t *testing.T) { project: "fixture-variables/list_from_inputs", expectedOutput: []string{`example = [{"var1":"value5","var2":"value6"}]`}, }, - // This tests that duplicated structure level can be acceded by skiping one level + // This tests that duplicated structure level can be acceded by skipping one level { project: "fixture-variables/import-duplicated-name", expectedOutput: []string{ diff --git a/tgerrors/errors.go b/tgerrors/errors.go index c840eb8c6..a7677a25a 100644 --- a/tgerrors/errors.go +++ b/tgerrors/errors.go @@ -78,7 +78,7 @@ func Recover(onPanic func(error)) { } } -// Assert raises a panic with the formatted messsage if the test is not true. +// Assert raises a panic with the formatted message if the test is not true. func Assert(test bool, format interface{}, args ...interface{}) { if !test { panic(fmt.Errorf(fmt.Sprint(format), args...))