fix: remove unused deploy_key variable and duplicate required_providers
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful

This commit is contained in:
2026-06-11 23:30:23 +10:00
parent 883faee35c
commit dc9f3cd595
3 changed files with 0 additions and 28 deletions
-1
View File
@@ -20,6 +20,5 @@ inputs = {
organisation = local.config.organisation organisation = local.config.organisation
repository = local.config.repository repository = local.config.repository
branch_protection = local.config.branch_protection branch_protection = local.config.branch_protection
deploy_key = local.config.deploy_key
team = local.config.team team = local.config.team
} }
-15
View File
@@ -19,21 +19,6 @@ terraform {
lock = true lock = true
ca_file = "/etc/pki/tls/certs/ca-bundle.crt" 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 EOF
} }
-12
View File
@@ -64,18 +64,6 @@ variable "branch_protection" {
default = {} 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" { variable "team" {
description = "Map of teams to create" description = "Map of teams to create"