Documentation
¶
Overview ¶
Package convert provides functionality to convert legacy policies from terraform-azurerm-caf-enterprise-scale to the new ALZ Library format.
Index ¶
Constants ¶
View Source
const (
// RequiredArgCount is the number of required arguments for convert commands.
RequiredArgCount = 2
)
Variables ¶
View Source
var ConvertBaseCmd = cobra.Command{ Use: "convert", Short: "Converts policy definitions or policy set definitions (depending on child command) " + "from the source directory and writes them to the destination directory.", Long: `Processes policy definitions or policy set definitions (depending on child command) ` + `from the source directory and writes them to the destination directory. Required child arguments are the child command, and the source and destination directories.`, Run: func(cmd *cobra.Command, _ []string) { cmd.PrintErrf("%s process command: missing required child command\n", cmd.ErrPrefix()) cmd.Usage() os.Exit(1) }, }
ConvertBaseCmd represents the base process command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.