-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathresource.tf
More file actions
84 lines (81 loc) · 2.56 KB
/
Copy pathresource.tf
File metadata and controls
84 lines (81 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
resource "pingone_davinci_connector_instance" "example-errors" {
environment_id = var.environment_id
connector = {
id = "errorConnector"
}
name = "example-errors"
}
resource "pingone_davinci_flow" "example" {
environment_id = var.environment_id
description = "A simple flow that shows an error message"
name = "simple"
settings = {
csp = "worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';"
intermediate_loading_screen_css = ""
intermediate_loading_screen_html = ""
flow_http_timeout_in_seconds = 300
log_level = 1
use_custom_css = true
}
color = "#FFC8C1"
graph_data = {
elements = {
nodes = [
{
data = {
id = "2pzouq7el7"
node_type = "CONNECTION"
connection_id = pingone_davinci_connector_instance.example-errors.id
connector_id = "errorConnector"
label = "Error Message"
status = "configured"
capability_name = "customErrorMessage"
type = "action"
properties = jsonencode({
"error_message" : {
"value" : "[\n {\n \"children\": [\n {\n \"text\": \"This is an error\"\n }\n ]\n }\n]"
},
"error_description" : {
"value" : "[\n {\n \"children\": [\n {\n \"text\": \"This is an error, really\"\n }\n ]\n }\n]"
}
})
}
position = {
x = 400
y = 400
}
group = "nodes"
removed = false
selected = false
selectable = true
locked = false
grabbable = true
pannable = false
classes = ""
}
]
}
zooming_enabled = true
user_zooming_enabled = true
zoom = 1
min_zoom = 1e-50
max_zoom = 1e+50
panning_enabled = true
user_panning_enabled = true
pan = {
x = 0
y = 0
}
box_selection_enabled = true
renderer = jsonencode({
"name" : "null"
})
}
}
resource "pingone_davinci_flow_deploy" "example" {
environment_id = var.environment_id
flow_id = pingone_davinci_flow.example.id
deploy_trigger_values = {
"trigger" = "initial"
}
}