diff --git a/infra/workspaces/modules/workspace/main.tf b/infra/workspaces/modules/workspace/main.tf index 3d60652..13a5229 100644 --- a/infra/workspaces/modules/workspace/main.tf +++ b/infra/workspaces/modules/workspace/main.tf @@ -16,4 +16,26 @@ resource "prefect_work_pool" "default" { name = var.work_pool_name workspace_id = prefect_workspace.workspace.id type = var.work_pool_type -} \ No newline at end of file +} + +variable "workspace_name" { + type = string + description = "Name of the Prefect workspace" +} + +variable "workspace_handle" { + type = string + description = "Handle (slug) for the Prefect workspace" +} + +variable "work_pool_name" { + type = string + description = "Name of the default work pool" + default = "my-work-pool" +} + +variable "work_pool_type" { + type = string + description = "Type of the work pool" + default = "docker" +} diff --git a/infra/workspaces/modules/workspace/variables.tf b/infra/workspaces/modules/workspace/variables.tf deleted file mode 100644 index 27c7f61..0000000 --- a/infra/workspaces/modules/workspace/variables.tf +++ /dev/null @@ -1,21 +0,0 @@ -variable "workspace_name" { - type = string - description = "Name of the Prefect workspace" -} - -variable "workspace_handle" { - type = string - description = "Handle (slug) for the Prefect workspace" -} - -variable "work_pool_name" { - type = string - description = "Name of the default work pool" - default = "my-work-pool" -} - -variable "work_pool_type" { - type = string - description = "Type of the work pool" - default = "docker" -} \ No newline at end of file