Skip to content

Commit

Permalink
run make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielm-codefresh committed Sep 9, 2024
1 parent c9ba155 commit 341f8c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions codefresh/resource_abac_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The type of resources the ABAC rules applies to. Possible values:
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringInSlice([]string{
"gitopsApplications, promotionFlows, products, environments",
"gitopsApplications", "promotionFlows", "products", "environments",
}, false),
},
"teams": {
Expand Down Expand Up @@ -70,9 +70,9 @@ Action to be allowed. Possible values:
* TERMINATE_SYNC
* VIEW_POD_LOGS
* APP_ROLLBACK
* "TRIGGER_PROMOTION"
* "RETRY_RELEASE"
* "PROMOTE_TO"
* TRIGGER_PROMOTION
* RETRY_RELEASE
* PROMOTE_TO
`,
Type: schema.TypeSet,
Required: true,
Expand Down
6 changes: 6 additions & 0 deletions docs/resources/abac_rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ resource "codefresh_abac_rules" "app_rule" {
* TERMINATE_SYNC
* VIEW_POD_LOGS
* APP_ROLLBACK
* TRIGGER_PROMOTION
* RETRY_RELEASE
* PROMOTE_TO
- `entity_type` (String) The type of resources the ABAC rules applies to. Possible values:
* gitopsApplications
* promotionFlows
* products
* environments
- `teams` (Set of String) The IDs of the teams the ABAC rules apply to.

### Optional
Expand Down

0 comments on commit 341f8c0

Please sign in to comment.