Update terraform/variables.tf, .gitlab-ci.yml
This commit is contained in:
@@ -12,7 +12,7 @@ plan:
|
|||||||
stage: plan
|
stage: plan
|
||||||
variables:
|
variables:
|
||||||
WORKDIR: $CI_PROJECT_DIR/terraform
|
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
|
allow_failure: false
|
||||||
extends: .terraform_plan
|
extends: .terraform_plan
|
||||||
only:
|
only:
|
||||||
|
|||||||
@@ -39,18 +39,6 @@ variable "k3master" {
|
|||||||
tag = number
|
tag = number
|
||||||
ip = list(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" {
|
variable "k3server" {
|
||||||
@@ -67,16 +55,4 @@ variable "k3server" {
|
|||||||
tag = number
|
tag = number
|
||||||
ip = list(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"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user