Skip to content

Commit

Permalink
Merge pull request #20 from port-labs/PORT-2824-terraform-provider-ad…
Browse files Browse the repository at this point in the history
…d-github-workflow-for-action-resource-fix

fix github action docs
  • Loading branch information
talsabagport authored Jan 30, 2023
2 parents 19f5306 + cb84971 commit 16d0640
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/resources/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Port action

- `blueprint_identifier` (String) The identifier of the blueprint
- `identifier` (String) The identifier of the action
- `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))
- `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))
- `title` (String) The display name of the action
- `trigger` (String) The type of the action, one of CREATE, DAY-2, DELETE

Expand All @@ -38,7 +38,7 @@ Port action

Required:

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

Optional:

Expand Down
4 changes: 2 additions & 2 deletions port/resource_port_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ func newActionResource() *schema.Resource {
Type: schema.TypeList,
MinItems: 1,
MaxItems: 1,
Description: "The methods the action is dispatched in, Supports WEBHOOK, KAFKA and GITHUB",
Description: "The methods the action is dispatched in. Supports WEBHOOK, KAFKA and GITHUB",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"type": {
Type: schema.TypeString,
Required: true,
Description: "How to invoke the action using WEBHOOK or KAFKA",
Description: "One of WEBHOOK, KAFKA and GITHUB",
ValidateFunc: validation.StringInSlice([]string{"WEBHOOK", "KAFKA", "GITHUB"}, false),
},
"url": {
Expand Down

0 comments on commit 16d0640

Please sign in to comment.