From: Frank Brehm Date: Fri, 3 Sep 2021 10:18:21 +0000 (+0200) Subject: Fixing lib/cr_tf/terraform/vm.py X-Git-Tag: 1.5.2^2~36 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b79e8b7439fea3106a72b3eef826fd735aa7a268;p=pixelpark%2Fcreate-terraform.git Fixing lib/cr_tf/terraform/vm.py --- diff --git a/lib/cr_tf/terraform/vm.py b/lib/cr_tf/terraform/vm.py index d44fe72..85e9ecf 100644 --- a/lib/cr_tf/terraform/vm.py +++ b/lib/cr_tf/terraform/vm.py @@ -37,7 +37,7 @@ from .disk import TerraformDisk, TerraformDiskDict from .interface import TerraformInterface -__version__ = '1.5.5' +__version__ = '1.5.6' LOG = logging.getLogger(__name__) @@ -94,7 +94,9 @@ class TerraformVm(HandlingObject): default_purpose = "Customer project" default_rootdisk_size = 32.0 - valid_puppet_environments = [PUPPET_ENVIRONMENTS] + valid_puppet_environments = [] + for env in PUPPET_ENVIRONMENTS: + valid_puppet_environments.append(env) max_num_cpus = 64 memory_chunk = 256