From dc9f3cd59547631433f93eff35cdbea310eba228 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Thu, 11 Jun 2026 23:30:23 +1000 Subject: [PATCH] fix: remove unused deploy_key variable and duplicate required_providers --- environments/au/syd1/terragrunt.hcl | 1 - environments/root.hcl | 15 --------------- modules/gitea_instance/variables.tf | 12 ------------ 3 files changed, 28 deletions(-) diff --git a/environments/au/syd1/terragrunt.hcl b/environments/au/syd1/terragrunt.hcl index 4c92627..73a4bdf 100644 --- a/environments/au/syd1/terragrunt.hcl +++ b/environments/au/syd1/terragrunt.hcl @@ -20,6 +20,5 @@ inputs = { organisation = local.config.organisation repository = local.config.repository branch_protection = local.config.branch_protection - deploy_key = local.config.deploy_key team = local.config.team } diff --git a/environments/root.hcl b/environments/root.hcl index 14abeb5..aa28cfd 100644 --- a/environments/root.hcl +++ b/environments/root.hcl @@ -19,21 +19,6 @@ terraform { lock = true ca_file = "/etc/pki/tls/certs/ca-bundle.crt" } - required_version = ">= 1.10" - required_providers { - gitea = { - source = "go-gitea/gitea" - version = "0.7.0" - } - woodpecker = { - source = "Kichiyaki/woodpecker" - version = "0.5.0" - } - consul = { - source = "hashicorp/consul" - version = "2.23.0" - } - } } EOF } diff --git a/modules/gitea_instance/variables.tf b/modules/gitea_instance/variables.tf index fbb4540..a4b0324 100644 --- a/modules/gitea_instance/variables.tf +++ b/modules/gitea_instance/variables.tf @@ -64,18 +64,6 @@ variable "branch_protection" { default = {} } -variable "deploy_key" { - description = "Map of deploy keys to create" - type = map(object({ - repository = string - organisation = string - gitea_url = string - title = string - key = string - read_only = optional(bool, true) - })) - default = {} -} variable "team" { description = "Map of teams to create"