Исправление ошибки при terraform init
This commit is contained in:
@@ -1,13 +1,3 @@
|
||||
locals {
|
||||
# Load environment variables if .env file exists
|
||||
env_vars = fileexists("${path.module}/.env") ? {
|
||||
for line in [
|
||||
for line in split("\n", file("${path.module}/.env"))
|
||||
: line if length(regexall("^[A-Za-z][A-Za-z0-9_]*=.*$", line)) > 0
|
||||
] : split("=", line)[0] => join("=", slice(split("=", line), 1, length(split("=", line))))
|
||||
} : {}
|
||||
}
|
||||
|
||||
module "k3s_cluster" {
|
||||
source = "../../modules/k3s-install"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user