Skip to content

Commit 16d0640

Browse files
authored
Merge pull request #20 from port-labs/PORT-2824-terraform-provider-add-github-workflow-for-action-resource-fix
fix github action docs
2 parents 19f5306 + cb84971 commit 16d0640

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/resources/action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Port action
1919

2020
- `blueprint_identifier` (String) The identifier of the blueprint
2121
- `identifier` (String) The identifier of the action
22-
- `invocation_method` (Block List, Min: 1, Max: 1) The methods the action is dispatched in, Supports WEBHOOK, KAFKA and GITHUB (see [below for nested schema](#nestedblock--invocation_method))
22+
- `invocation_method` (Block List, Min: 1, Max: 1) The methods the action is dispatched in. Supports WEBHOOK, KAFKA and GITHUB (see [below for nested schema](#nestedblock--invocation_method))
2323
- `title` (String) The display name of the action
2424
- `trigger` (String) The type of the action, one of CREATE, DAY-2, DELETE
2525

@@ -38,7 +38,7 @@ Port action
3838

3939
Required:
4040

41-
- `type` (String) How to invoke the action using WEBHOOK or KAFKA
41+
- `type` (String) One of WEBHOOK, KAFKA and GITHUB
4242

4343
Optional:
4444

port/resource_port_action.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ func newActionResource() *schema.Resource {
123123
Type: schema.TypeList,
124124
MinItems: 1,
125125
MaxItems: 1,
126-
Description: "The methods the action is dispatched in, Supports WEBHOOK, KAFKA and GITHUB",
126+
Description: "The methods the action is dispatched in. Supports WEBHOOK, KAFKA and GITHUB",
127127
Elem: &schema.Resource{
128128
Schema: map[string]*schema.Schema{
129129
"type": {
130130
Type: schema.TypeString,
131131
Required: true,
132-
Description: "How to invoke the action using WEBHOOK or KAFKA",
132+
Description: "One of WEBHOOK, KAFKA and GITHUB",
133133
ValidateFunc: validation.StringInSlice([]string{"WEBHOOK", "KAFKA", "GITHUB"}, false),
134134
},
135135
"url": {

0 commit comments

Comments
 (0)