feat: better kubeconfig managment

This commit is contained in:
2025-10-30 17:52:26 -03:00
parent eeb3c1c916
commit 2ae1ffd0c3
6 changed files with 42 additions and 36 deletions

View File

@@ -39,7 +39,12 @@ variable "aws_secret" {
sensitive = true
}
variable "aws_instance_type" {
variable "aws_main_instance_type" {
type = string
default = "t4g.small"
}
variable "aws_worker_instance_type" {
type = string
default = "t4g.micro"
}
@@ -84,7 +89,11 @@ variable "github_token" {
sensitive = true
}
variable "github_repository" {
type = string
default = "infra-hideyoshi.com"
variable "github_repositories" {
type = list(string)
default = [
"frontend-hideyoshi.com",
"backend-hideyoshi.com",
"storage-hideyoshi.com",
]
}