Documentation
¶
Overview ¶
Package bicepUtils contains helpers for working with Bicep input files, such as compiling .bicepparam files to ARM JSON parameter files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileBicepParamsToTempFile ¶
CompileBicepParamsToTempFile compiles the given .bicepparam file to an ARM JSON parameters file using `bicep build-params`. The output is written to a freshly-created temp file, so any pre-existing "<name>.parameters.json" next to the source file is left untouched.
The caller is responsible for removing the returned path when no longer needed (typically via defer / t.Cleanup). If an error occurs, the temp file is removed before returning.
func IsBicepParamFile ¶
IsBicepParamFile reports whether the given path refers to a .bicepparam file.
Types ¶
This section is empty.