You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/waypoint_action.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@ description: |-
7
7
8
8
# hcp_waypoint_action `Data Source`
9
9
10
-
-> **Note:** HCP Waypoint actions is currently in beta.
11
-
12
10
The Waypoint Action data source retrieves information on a given Action.
13
11
14
12
<!-- schema generated by tfplugindocs -->
@@ -18,21 +16,36 @@ The Waypoint Action data source retrieves information on a given Action.
18
16
19
17
-`id` (String) The ID of the Action.
20
18
-`name` (String) The name of the Action.
21
-
-`project_id` (String) The ID of the HCP project where the Waypoint Action is located.
22
19
23
20
### Read-Only
24
21
25
22
-`description` (String) A description of the Action.
26
23
-`organization_id` (String) The ID of the HCP organization where the Waypoint Action is located.
24
+
-`project_id` (String) The ID of the HCP project where the Waypoint Action is located.
27
25
-`request` (Attributes) The kind of HTTP request this should trigger. (see [below for nested schema](#nestedatt--request))
28
26
29
27
<aid="nestedatt--request"></a>
30
28
### Nested Schema for `request`
31
29
30
+
Optional:
31
+
32
+
-`agent` (Attributes) Agent mode allows users to define the agent to use for the request. (see [below for nested schema](#nestedatt--request--agent))
33
+
32
34
Read-Only:
33
35
34
36
-`custom` (Attributes) Custom mode allows users to define the HTTP method, the request body, etc. (see [below for nested schema](#nestedatt--request--custom))
35
37
38
+
<aid="nestedatt--request--agent"></a>
39
+
### Nested Schema for `request.agent`
40
+
41
+
Read-Only:
42
+
43
+
-`action_run_id` (String) An optional action run id. If specified the agent will interact with the actions subsystem.
44
+
-`body` (String) Arguments to the operation, specified as JSON.
45
+
-`group` (String) The name of the group that the operation is in.
46
+
-`operation_id` (String) The identifying name of the operation in the agent config file.
Copy file name to clipboardExpand all lines: docs/resources/waypoint_action.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@ description: |-
7
7
8
8
# hcp_waypoint_action `Resource`
9
9
10
-
-> **Note:** HCP Waypoint actions is currently in beta.
11
-
12
10
The Waypoint Action resource manages the lifecycle of an Action.
13
11
14
12
<!-- schema generated by tfplugindocs -->
@@ -34,8 +32,23 @@ The Waypoint Action resource manages the lifecycle of an Action.
34
32
35
33
Optional:
36
34
35
+
-`agent` (Attributes) Agent mode allows users to define the agent to use for the request. (see [below for nested schema](#nestedatt--request--agent))
37
36
-`custom` (Attributes) Custom mode allows users to define the HTTP method, the request body, etc. (see [below for nested schema](#nestedatt--request--custom))
38
37
38
+
<aid="nestedatt--request--agent"></a>
39
+
### Nested Schema for `request.agent`
40
+
41
+
Required:
42
+
43
+
-`group` (String) The name of the group that the operation is in.
44
+
-`operation_id` (String) The identifying name of the operation in the agent config file.
45
+
46
+
Optional:
47
+
48
+
-`action_run_id` (String) An optional action run id. If specified the agent will interact with the actions subsystem.
49
+
-`body` (String) Arguments to the operation, specified as JSON.
0 commit comments