Update terraform/variables.tf, .gitlab-ci.yml

This commit is contained in:
2022-11-04 22:35:20 +00:00
parent ea73bc6753
commit d354bfa024
2 changed files with 1 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ plan:
stage: plan
variables:
WORKDIR: $CI_PROJECT_DIR/terraform
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars
allow_failure: false
extends: .terraform_plan
only:

View File

@@ -39,18 +39,6 @@ variable "k3master" {
tag = number
ip = list(number)
})
default = {
count = "1"
name = ["master01"]
cores = "2"
memory = "2048"
drive = "20G"
storage = "domains"
template = "CentOS9-Template"
node = "overlord"
tag = "20"
ip = ["121"]
}
}
variable "k3server" {
@@ -67,16 +55,4 @@ variable "k3server" {
tag = number
ip = list(number)
})
default = {
count = "1"
name = ["node01"]
cores = "2"
memory = "4096"
drive = "60G"
storage = "domains"
template = "CentOS9-Template"
node = "overlord"
tag = "20"
ip = ["124"]
}
}