diff --git a/cli/get_stack_info.go b/cli/get_stack_info.go index b5d0fccca..ef266e771 100644 --- a/cli/get_stack_info.go +++ b/cli/get_stack_info.go @@ -11,7 +11,7 @@ import ( "github.com/coveooss/terragrunt/v2/configstack" "github.com/coveooss/terragrunt/v2/options" - yaml "gopkg.in/yaml.v2" + yaml "gopkg.in/yaml.v3" ) const getStackCommand = "get-stack" diff --git a/config/config_export_variables.go b/config/config_export_variables.go index b62b29df0..315f18d8e 100644 --- a/config/config_export_variables.go +++ b/config/config_export_variables.go @@ -11,7 +11,7 @@ import ( "github.com/coveooss/terragrunt/v2/util" hclwrite "github.com/hashicorp/hcl/v2/hclwrite" "github.com/hashicorp/terraform/configs" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) // ExportVariablesConfig represents a path and format where variables known to Terragrunt should be exported diff --git a/go.mod b/go.mod index ec83fb0eb..e68f2f8d4 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/urfave/cli v1.22.14 github.com/zclconf/go-cty v1.14.2 gopkg.in/matryer/try.v1 v1.0.0-20150601225556-312d2599e12e - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 ) require ( @@ -126,7 +126,7 @@ require ( 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 - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect ) replace (