fix: remove unused deploy_key variable and duplicate required_providers
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user