diff --git a/terraform/environments/analytical-platform-compute/helm-charts-actions-runners.tf b/terraform/environments/analytical-platform-compute/helm-charts-actions-runners.tf index bd2fb3abc8f..e37b997235b 100644 --- a/terraform/environments/analytical-platform-compute/helm-charts-actions-runners.tf +++ b/terraform/environments/analytical-platform-compute/helm-charts-actions-runners.tf @@ -75,34 +75,6 @@ resource "helm_release" "actions_runner_mojas_create_a_derived_table" { ] } -resource "helm_release" "actions_runner_mojas_create_a_derived_table_runner_group" { - count = terraform.workspace == "analytical-platform-compute-production" ? 1 : 0 - - /* https://github.com/ministryofjustice/analytical-platform-actions-runner */ - name = "actions-runner-mojas-cadet-prod-group" - repository = "oci://ghcr.io/ministryofjustice/analytical-platform-charts" - version = "2.321.0-1-rc1" - chart = "actions-runner" - namespace = kubernetes_namespace.actions_runners[0].metadata[0].name - values = [ - templatefile( - "${path.module}/src/helm/values/actions-runners/create-a-derived-table/values.yml.tftpl", - { - github_app_application_id = jsondecode(data.aws_secretsmanager_secret_version.actions_runners_token_apc_self_hosted_runners_github_app[0].secret_string)["app_id"] - github_app_installation_id = jsondecode(data.aws_secretsmanager_secret_version.actions_runners_token_apc_self_hosted_runners_github_app[0].secret_string)["installation_id"] - github_organisation = "moj-analytical-services" - github_repository = "create-a-derived-table" - github_runner_labels = "cadet-prod" - eks_role_arn = "arn:aws:iam::${local.environment_management.account_ids["analytical-platform-data-production"]}:role/create-a-derived-table" - } - ) - ] - set { - name = "github.runner.group" - value = "analytical-platform-CADET-prod" - } -} - resource "helm_release" "actions_runner_mojas_create_a_derived_table_non_spot" { count = terraform.workspace == "analytical-platform-compute-production" ? 1 : 0