mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
5f313a65ad
* command: remove 0.12upgrade and related `configupgrade` library * leave deprecation warning for 0.12upgrade to point users to v0.12
16 lines
345 B
Go
16 lines
345 B
Go
package command
|
|
|
|
import "fmt"
|
|
|
|
type ZeroTwelveUpgradeCommand struct {
|
|
Meta
|
|
}
|
|
|
|
func (c *ZeroTwelveUpgradeCommand) Run(args []string) int {
|
|
c.Ui.Output(fmt.Sprintf(`
|
|
The 0.12upgrade command is deprecated. You must run this command with Terraform
|
|
v0.12 to upgrade your configuration syntax before upgrading to the current
|
|
version.`))
|
|
return 0
|
|
}
|