Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyOutputsMapping ¶
func ApplyOutputsMapping(values map[string]any, secrets map[string]any, outputsMap map[string]string, secretOutputsMap map[string]string) (map[string]any, map[string]any)
ApplyOutputsMapping renames a direct module's outputs onto resource property names.
Keys in outputsMap and secretOutputsMap are resource property names; values are module output names.
- outputsMap entries route a module output to a value or a secret depending on how the module itself classified it (a secure Bicep output / sensitive Terraform output lands in secrets, otherwise values).
- secretOutputsMap entries always route the referenced module output to secrets, regardless of how the module classified it. This lets a recipe pack force an output (for example an AVM module's `primaryConnectionString`, which the module declares as a plain string) to be treated as a secret.
When both maps are empty, the original values and secrets are returned unchanged (nil maps are normalized to empty maps so callers always receive non-nil maps).
func ShallowMergeParameters ¶
ShallowMergeParameters merges two parameter maps with top-level key precedence from override. Nested objects are replaced entirely, not deep-merged (per the direct module support design).
Types ¶
type RecipeDeploymentStatus ¶
type RecipeDeploymentStatus string
const ( // ExecutionError represents a failure status during recipe execution. ExecutionError RecipeDeploymentStatus = "executionError" // RecipeSetupError represents a failure that happens before a recipe or output resources are deployed. RecipeSetupError RecipeDeploymentStatus = "setupError" // Success represents a successful recipe execution. Success RecipeDeploymentStatus = "success" )
Click to show internal directories.
Click to hide internal directories.