Closed stgrace closed 3 years ago
Host templating is too static
Have more options in the stackl-core code to template hosts. Or have all the code removed if functionality can be achieved using OPA's rego
One solution could be to loop over the opa_outputs and template all those variables, push them back in provisioning_parameters?
opa_outputs
provisioning_parameters
See https://github.com/stacklio/stackl/blob/master/stackl/core/core/models/items/stack_instance_service_model.py#L36
Description of feature
Host templating is too static
Purpose of this new feature
Have more options in the stackl-core code to template hosts. Or have all the code removed if functionality can be achieved using OPA's rego
One solution could be to loop over the
opa_outputs
and template all those variables, push them back inprovisioning_parameters
?Additional information
See https://github.com/stacklio/stackl/blob/master/stackl/core/core/models/items/stack_instance_service_model.py#L36