diff --git a/.github/docker/application.yml b/.github/docker/application.yml index 33bc581..4d834e3 100644 --- a/.github/docker/application.yml +++ b/.github/docker/application.yml @@ -1,4 +1,8 @@ kestra: + security: + super-admin: + username: root@root.com + password: Root!1234 encryption: secret-key: LWBErwwlb/BQcxWujsm+/scPeO01cTKzvW44GbAWvII= kafka: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c6c06b1..09241c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -108,8 +108,8 @@ jobs: TF_ACC: "1" TF_ACC_TERRAFORM_VERSION: ${{ matrix.terraform }} KESTRA_URL: "http://127.27.27.27:8080" - KESTRA_USERNAME: john@doe.com - KESTRA_PASSWORD: pass + KESTRA_USERNAME: root@root.com + KESTRA_PASSWORD: Root!1234 run: | go test -v -cover ./internal/provider/ diff --git a/internal/provider/resource_app_test.go b/internal/provider/resource_app_test.go index cca4e5e..7be0cd3 100644 --- a/internal/provider/resource_app_test.go +++ b/internal/provider/resource_app_test.go @@ -25,9 +25,9 @@ func TestAccResourceApp(t *testing.T) { func testAccResourceApp(resourceId string) string { return fmt.Sprintf( ` - resource "kestra_flow" "new_flow" { - namespace = "company.team" - flow_id = "get_data" + resource "kestra_flow" "new_flow" { + namespace = "company.team" + flow_id = "get_data" content = <