Skip to content

Commit

Permalink
fix: test now need a permission
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Oct 24, 2024
1 parent d633cc6 commit 2ad3148
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/provider/resource_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,18 @@ func testAccResourceGroup(name, description, namespace string) string {
`
resource "kestra_role" "new" {
name = "my group role"
permissions {
type = "FLOW"
permissions = ["READ", "UPDATE"]
}
}
resource "kestra_role" "new2" {
name = "my group role 2"
permissions {
type = "FLOW"
permissions = ["READ", "UPDATE"]
}
}
resource "kestra_group" "new" {
Expand Down
4 changes: 4 additions & 0 deletions internal/provider/resource_service_account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ func testAccResourceServiceAccount(name, group string) string {
`
resource "kestra_role" "new" {
name = "my user role"
permissions {
type = "FLOW"
permissions = ["READ", "UPDATE"]
}
}
resource "kestra_group" "group1" {
Expand Down
4 changes: 4 additions & 0 deletions internal/provider/resource_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ func testAccResourceUser(name, email, groups string) string {
`
resource "kestra_role" "new" {
name = "my user role"
permissions {
type = "FLOW"
permissions = ["READ", "UPDATE"]
}
}
resource "kestra_group" "group1" {
Expand Down

0 comments on commit 2ad3148

Please sign in to comment.