2018-06-21 04:27:14 +02:00
|
|
|
package command
|
|
|
|
|
2020-03-19 13:01:16 +01:00
|
|
|
import "fmt"
|
2018-06-21 04:27:14 +02:00
|
|
|
|
|
|
|
type ZeroTwelveUpgradeCommand struct {
|
|
|
|
Meta
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *ZeroTwelveUpgradeCommand) Run(args []string) int {
|
2020-03-19 13:01:16 +01:00
|
|
|
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.`))
|
2018-06-21 04:27:14 +02:00
|
|
|
return 0
|
|
|
|
}
|