Flow
The sym_flow
resource is what you use to provision an Approval Flow with the Sym Terraform Provider.
resource "sym_flow" "this" {
name = "sso_access"
label = "SSO Access"
template = "sym:template:approval:latest"
implementation = "${path.module}/impl.py"
environment_id = data.sym_environment.this.id
params = {
strategy_id = sym_strategy.this.id
prompt_fields_json = jsonencode([{
name = "reason"
type = "string"
required = true
}])
}
}
Attributes
Name | Description | Required |
---|---|---|
| A slug uniquely identifying your | ✔️ |
| A human-readable name for your | ✔️ |
| A fully-qualified | ✔️ |
| A relative path to the Python file with your Handlers implemented. | ✔️ |
| The ID of a Sym Environment. | |
| A set of parameters, as defined by the |
Updated 11 days ago
Did this page help you?