diff --git a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf index 85d7ee858..2576ca00c 100644 --- a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf +++ b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf @@ -13,6 +13,68 @@ resource "aws_route53_record" "etcds" { records = [aws_instance.controllers[count.index].private_ip] } +# IAM Policy +resource "aws_iam_instance_profile" "csi-driver" { + count = var.enable_csi ? 1 : 0 + role = join("", aws_iam_role.csi-driver.*.name) +} + +resource "aws_iam_role_policy" "csi-driver" { + count = var.enable_csi ? 1 : 0 + role = join("", aws_iam_role.csi-driver.*.id) + + policy = <<-EOF + { + "Version": "2012-10-17", + "Statement": [ + { + "Action": [ + "ec2:AttachVolume", + "ec2:CreateSnapshot", + "ec2:CreateTags", + "ec2:CreateVolume", + "ec2:DeleteSnapshot", + "ec2:DeleteTags", + "ec2:DeleteVolume", + "ec2:DescribeAvailabilityZones", + "ec2:DescribeInstances", + "ec2:DescribeSnapshots", + "ec2:DescribeTags", + "ec2:DescribeVolumes", + "ec2:DescribeVolumesModifications", + "ec2:DetachVolume", + "ec2:ModifyVolume" + ], + "Effect": "Allow", + "Resource": "*" + } + ] + } + EOF +} + +resource "aws_iam_role" "csi-driver" { + count = var.enable_csi ? 1 : 0 + path = "/" + tags = var.tags + + assume_role_policy = <<-EOF + { + "Version": "2012-10-17", + "Statement": [ + { + "Action": "sts:AssumeRole", + "Principal": { + "Service": "ec2.amazonaws.com" + }, + "Effect": "Allow", + "Sid": "" + } + ] + } + EOF +} + # Controller instances resource "aws_instance" "controllers" { count = var.controller_count @@ -23,8 +85,9 @@ resource "aws_instance" "controllers" { instance_type = var.controller_type - ami = local.ami_id - user_data = data.ct_config.controller-ignitions[count.index].rendered + ami = local.ami_id + user_data = data.ct_config.controller-ignitions[count.index].rendered + iam_instance_profile = join("", aws_iam_instance_profile.csi-driver.*.name) # storage root_block_device { diff --git a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf index 4c320f279..556c0e6af 100644 --- a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf +++ b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf @@ -92,6 +92,12 @@ variable "tags" { description = "Optional details to tag on AWS resources" } +variable "enable_csi" { + type = bool + default = false + description = "Set up IAM role needed for dynamic volumes provisioning to work on AWS" +} + # configuration variable "ssh_keys" { diff --git a/docs/configuration-reference/platforms/aws.md b/docs/configuration-reference/platforms/aws.md index cf1e9b5a0..877a00b4a 100644 --- a/docs/configuration-reference/platforms/aws.md +++ b/docs/configuration-reference/platforms/aws.md @@ -91,6 +91,8 @@ cluster "aws" { dns_zone_id = route53_zone_id + enable_csi = true + expose_nodeports = false ssh_pubkeys = var.ssh_public_keys @@ -202,6 +204,7 @@ worker_pool "my-worker-pool" { | `oidc.client_id` | A client id that all tokens must be issued for. | "gangway" | false | | `oidc.username_claim` | JWT claim to use as the user name. | "email" | false | | `oidc.groups_claim` | JWT claim to use as the user’s group. | "groups" | false | +| `enable_csi` | Set up IAM role needed for dynamic volumes provisioning to work on AWS | false | false | | `expose_nodeports` | Expose node ports `30000-32767` in the security group, if set to `true`. | false | false | | `ssh_pubkeys` | List of SSH public keys for user `core`. Each element must be specified in a valid OpenSSH public key format, as defined in RFC 4253 Section 6.6, e.g. "ssh-rsa AAAAB3N...". | - | true | | `controller_count` | Number of controller nodes. | 1 | false | diff --git a/pkg/assets/generated_assets.go b/pkg/assets/generated_assets.go index 5e2e6854d..6eb2ac73a 100644 --- a/pkg/assets/generated_assets.go +++ b/pkg/assets/generated_assets.go @@ -3292,9 +3292,9 @@ var vfsgenAssets = func() http.FileSystem { "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf": &vfsgen۰CompressedFileInfo{ name: "controllers.tf", modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), - uncompressedSize: 2408, + uncompressedSize: 3874, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x56\x5d\x6b\x23\x37\x14\x7d\x9f\x5f\x71\x99\x38\x34\x29\xce\xc4\x69\x5a\x28\x0b\x7e\x28\xbb\x2f\x0b\x65\x29\xf4\xad\x4b\x10\x8a\x74\x6d\xdf\x8d\x46\x12\x92\xc6\x89\xd7\xf8\xbf\x17\x7d\xcc\x78\xc6\x76\x96\xcd\x4b\xec\xab\xa3\x33\x47\xe7\x1e\xdd\xf1\x15\x7c\x22\x2f\x1c\x06\x84\x4f\x5f\xfe\x05\x87\xc2\x38\xe9\x61\x65\x1c\x20\x17\x1b\x10\x46\x07\x67\x94\x42\xf7\x8b\x07\xeb\x68\xcb\x03\xc2\xe7\x7f\xb6\xbf\x67\x48\x10\x12\x3a\xcf\xd7\x58\x39\xf4\xa6\x73\x02\xa1\xe6\xaf\x9e\x39\xd3\x05\xfc\xe3\x91\x65\xbe\x1a\xea\x88\xf4\x35\xec\x2b\x00\x61\x3a\x1d\x60\x09\x5b\xee\x9a\x23\x3d\x4b\xe5\xaa\x02\xb8\x4a\x4a\xfe\x33\x1a\xe1\x75\x83\x0e\x8b\x28\xf0\x1b\xd3\x29\x09\xcf\x08\xc2\x21\x0f\x28\x2b\x80\xef\x46\x23\x23\x59\xd8\xa4\xf6\xac\x54\x22\x91\xe6\x2d\xc2\x32\x0a\x6d\x79\xb8\xa9\xaf\xfd\x5d\x54\x71\x2d\x9b\x6b\xdf\xd4\xf3\xfc\x7c\xd5\xf9\x80\x8e\x45\xe8\x3c\x2b\x6b\x48\x4b\x7c\x9b\x4f\x08\x6f\x2b\x80\xb0\xb3\x91\xad\xfe\xab\x8e\x5f\x82\x02\x58\xc2\xe3\x62\x91\x15\x4f\x9c\xe1\x52\x3a\xf4\x7e\x70\xa8\x82\xc1\xd7\x25\x7c\x8d\xf6\x90\xf6\x81\x6b\x81\xa3\xf3\xfb\xaf\xa3\xa7\x3f\x35\x85\x90\x91\x7d\xaa\x0e\x55\x75\x05\x1f\x07\x24\xf4\xbb\xfd\x89\xe9\x7d\xbd\x86\x7a\xc4\xfb\x73\xa6\x07\xbe\x8e\xea\x5a\x74\x6b\xbc\x89\xa0\x58\x98\xa7\xad\x00\x5f\xb2\x91\xf5\x6c\x7f\xea\xd9\xe1\xee\x48\x76\x37\xdb\x8f\x8e\x70\x88\x36\x1d\x6e\x23\x77\xaf\x8b\x15\x0b\x4f\x34\xc4\x6a\x84\xf1\x96\x20\xff\x2d\x41\x19\xc1\x55\xc3\x5b\x8a\xad\x04\xe8\x3c\x3a\x26\x79\xe0\xb0\x84\xf8\xaf\x11\x81\x09\xa3\x57\xb4\x1e\x11\xdd\xd1\x5a\x53\x20\xa3\x4f\xac\x74\xa8\x25\x3a\x94\xb9\x53\x3e\x18\x17\xf3\x0a\xe0\x8c\x09\xec\x59\x19\xf1\xc2\x24\x6e\x49\x60\x39\xed\xd6\xa8\xae\x9d\x88\x95\xe4\x5f\xb2\xcc\xd1\xba\xa7\xef\x93\xf5\xf8\x3d\xad\x93\xb1\x1e\x86\x93\x0c\xeb\xb1\x9c\xd6\x51\x0b\xb7\xb3\x01\x65\x5a\x0f\xae\x8b\xdb\x0e\x59\x9d\xc6\xf0\x6a\xdc\x4b\x74\xc3\x7b\x23\x28\x46\xc0\x76\xcf\x8a\x04\x23\xcb\xfa\x60\x0d\xbb\x7c\xf7\xac\x31\xc4\x0b\x70\xfe\xb7\x84\x98\x89\x8c\x68\x32\xc7\xd4\x97\xe4\xec\xd6\x0a\xe6\x51\x74\x8e\xc2\x8e\xad\x9d\xe9\x2c\x23\xe9\x7b\x86\x14\xd6\xe9\xf2\xc8\xf0\x86\xe4\x53\x94\xad\x68\x85\x62\x27\x54\x6f\x20\xad\xb5\x71\xc8\xc4\x86\xeb\x35\xa6\xcc\x57\x99\x90\xb7\x34\x2f\x1f\x87\x8e\xe6\xc2\x53\xb2\xe0\x34\xe8\x9f\x4b\x43\x21\xf7\xda\x57\x29\x02\xf5\xd0\xfc\x49\xd0\x8f\xed\x1f\x27\x7e\xd2\x87\xb3\xe0\x43\x9a\x6f\xd8\xe3\x4a\xb8\x02\xb6\x56\x45\xe7\x57\xa4\xc6\x57\xf4\xae\xc8\x78\x27\x5e\x00\xd6\x61\x08\x3b\x66\x1d\xa5\xbb\xb6\xe2\xca\xa7\x2e\x69\xb2\x16\x83\x7f\x47\x89\x12\xac\x47\x9c\x39\x10\x3f\x72\xd2\xe8\xe0\x6f\xd2\xdd\xdb\x89\x11\x13\xa1\x53\x33\x0a\xf0\x27\x2f\x7f\xe1\x89\x9a\x49\xe1\x4d\x3d\xdb\x5b\x1e\x36\x4d\x6b\x64\xa7\xf0\x70\x2f\xd4\xfd\xa8\xeb\x3b\xde\xaa\x26\xb4\x56\xd5\xe9\x76\x6f\xb9\x8b\x3d\xce\xad\xbf\x82\x8f\x5c\x6b\x13\x62\x7f\x21\x66\x82\x04\x48\xb4\xd1\x22\x2d\x08\x3d\xe4\x66\xf6\xb3\x09\x8c\x83\xb0\x41\x72\xe3\x97\x4f\xbe\x24\x41\xc8\x34\x61\x92\x65\xe9\xf5\x71\x3e\x5e\x0a\x4c\x9a\x96\x93\x7e\x6f\x40\x9d\x6f\x6d\x32\xac\x1f\xee\x85\xea\x2a\x91\x2d\x96\x9b\x10\xac\xff\x70\x7f\x5f\x58\xd2\xfe\x45\x83\x6f\xbc\xb5\x29\x0d\xed\x3c\x56\x1e\x2e\xe2\x1e\x26\xb8\xa6\x69\x8e\x22\x29\x86\x93\x2b\x56\xe0\xe9\x58\xdf\x0c\xe9\x9b\x7a\x5e\xcf\x2f\xe5\x2e\xbd\x31\x9b\x5f\x87\x7c\xdd\x26\x2e\xef\x37\xec\x05\x77\xfe\xec\xb2\x7f\xf3\x46\xa3\x16\x46\xe6\xf1\xdd\xe3\xf2\xae\xde\x91\x78\x64\x8f\x2e\x0e\x3b\x46\x16\x96\x20\x48\xba\x8d\xf1\x21\xef\x29\x2b\xb1\x38\x87\x87\xc5\xc9\xde\xe4\x32\xf3\xdd\x6a\x45\x6f\x43\x8e\x2f\x2d\xf6\x77\xf9\x72\x48\xcf\x7e\x09\xfc\xe8\x7a\x8e\x92\x99\x33\x30\xdb\xe7\x1e\x0e\xf6\xcf\x66\xfb\x0b\xfd\xee\x61\xcd\x6c\xb6\x1f\xfa\xfc\xe1\xb7\xc7\x3f\x17\xf5\x59\x66\x13\xf2\x68\xe4\x28\x29\x93\xf3\x97\x5f\x13\xa7\x01\x4b\x98\xfe\x11\xe3\x99\x5f\x4a\xc5\x8c\xff\x03\x00\x00\xff\xff\x8f\x90\x2b\xb6\x68\x09\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\xdf\x6f\xdb\x36\x10\x7e\xf7\x5f\x71\x60\x5c\x2c\x29\x6c\xc5\x4e\x37\x6c\x30\x6a\x0c\x46\xdb\x01\x01\xd6\xae\x68\x87\x3e\x2c\x08\x04\x9a\x3a\xdb\xd7\x50\xa4\x40\x52\x4e\x5c\xc3\xff\xfb\x40\x52\x92\x25\xff\xc8\x8a\x61\xeb\x4b\x1d\xde\xc7\x8f\xc7\xbb\xef\xee\xa8\x0b\x78\x4b\x56\x18\x74\x08\x6f\x3f\x7c\x06\x83\x42\x9b\xcc\xc2\x42\x1b\x40\x2e\x56\x20\xb4\x72\x46\x4b\x89\xe6\x07\x0b\x85\xa1\x35\x77\x08\xb7\x1f\xd7\x3f\x46\x88\x13\x19\x94\x96\x2f\xb1\x67\xd0\xea\xd2\x08\x04\xc6\x1f\x6d\x6a\x74\xe9\xf0\xa7\x57\x69\xe4\x63\xc0\x3c\xd2\x32\xd8\xf6\x00\x84\x2e\x95\x83\x29\xac\xb9\x49\xf6\xf4\x69\x58\xee\xf5\x00\x2e\x82\x27\x7f\x69\x85\xf0\xb8\x42\x83\x95\x53\x60\x57\xba\x94\x19\xcc\x11\x84\x41\xee\x30\xeb\x01\x7c\xd3\x0a\x53\xca\x2a\xb6\x4c\xd9\xb4\x5a\xf1\x44\x8a\xe7\x08\x53\xef\x68\xce\xdd\x25\x7b\x61\x87\xde\x8b\x17\x59\xf2\xc2\x26\x6c\x10\xcf\x97\xa5\x75\x68\x52\x0f\x1d\x44\xcf\x12\x52\x19\x3e\x0d\x3a\x84\x57\x3d\x00\xb7\x29\x3c\x1b\x9b\x31\xff\x87\x93\x00\x53\x78\x35\x1a\x45\x8f\x3b\x91\xe1\x59\x66\xd0\xda\x26\x42\x3d\x68\xe2\x3a\x85\x3b\x1f\x1e\x52\xd6\x71\x25\xb0\x75\x7f\x7b\xd7\x3a\xfd\x3e\xa9\x08\x53\x2a\xee\x7b\xbb\x5e\xef\x02\x6e\x67\xef\xe1\xa3\x96\x24\x36\x07\xa1\x26\x9e\x37\x7c\x69\x61\xf4\x82\x24\x32\x60\xc2\xd2\x30\x33\xb4\x46\x73\x1c\x75\x54\x7c\x2e\x31\x15\x96\xe0\x57\x18\xc3\x04\x46\xde\x45\x2d\xd1\xdf\xe9\xab\x26\x75\xc9\xd8\x00\x6a\x72\x6f\x48\xf6\x74\xc9\xcb\xc4\x47\xeb\xca\xbb\x75\xec\x89\x07\xa7\x45\xf0\xf3\x7f\x76\x82\xb2\x2b\x1f\xfb\x78\x16\x4c\xe1\xf5\xeb\xe1\xbb\x3f\x7e\xeb\x41\x38\x08\x80\x7d\x41\x63\x49\x2b\x36\x01\x76\x33\x1a\xdf\x0c\xc7\xa3\xe1\xf8\x67\x36\x88\xc6\xcf\x8e\x3b\xcc\x51\x39\x36\x81\xbb\xb0\x54\xef\x0b\xe6\x99\x70\x71\xeb\x5d\xb3\x06\xc0\x50\xdc\x4c\x66\xce\x71\xb1\xfa\xa2\x65\x99\x63\x45\xd6\xb2\xbe\x09\xc2\xfc\xac\x78\x61\x57\xda\x9d\xb3\xff\xc9\x97\xf6\x9c\xed\x1c\xf3\x5b\x94\xf8\x1c\x73\xb4\x9f\x66\x8e\xb6\xf3\xcc\x56\x18\x9a\xe3\x6c\xcd\x49\xf2\x39\x49\x72\x1b\x5f\x7c\x27\x89\x22\xf4\xb6\x92\xdb\x33\x90\xda\xd3\x67\x20\xe7\x9c\x8d\xd6\xe8\xee\x3f\x03\xde\xeb\x8c\x16\x24\xb8\x4f\xd8\x49\xf4\x73\xf9\x0a\x9b\x37\x95\xb5\x31\xde\xef\x71\xec\xdd\x62\x81\xc2\xab\x84\xcd\xa4\xd4\x8f\x2d\x0a\xf6\xa9\x12\xbf\x37\xbe\xac\x77\xef\xc2\xff\xf7\xbd\xf8\xcb\x0b\xf2\x6c\x99\xfc\x9b\xfa\x28\xb8\x5b\xf9\xfa\x60\xd7\xa1\x0b\xf1\xa5\x85\x0a\xee\x7f\xfb\x7a\xe0\xd6\x96\x39\xb6\xeb\xf0\xbf\xa8\x8d\x76\x75\x40\xa7\x42\x98\x75\x76\x32\x0b\x87\x7e\xf2\x97\x1a\x74\x71\x1f\x0d\x29\x41\x05\x97\x6c\x72\x40\x11\x8e\x42\xb3\xa6\x18\x41\x14\x37\x09\xcf\xf9\x37\xad\xf8\xa3\x4d\x84\xce\x59\x07\xbd\x3b\xe0\x3d\x9f\x97\x48\x4c\x99\xb7\xed\x39\x4e\xe6\xe5\x02\xde\x34\xfd\x17\xea\x1e\x6a\x0f\xd3\x55\xad\xfb\x74\xed\xbb\xf5\xf7\x8d\xb2\x90\xa0\x29\xe4\x68\x96\x78\x59\x67\x69\x50\x05\xe2\x43\x1c\x4f\xac\xbf\x3d\x9c\x44\xbb\xe1\x9e\x6c\xd8\xdf\xb6\x06\xc3\xce\xdf\x68\x17\x1a\x5f\xd3\xf3\xab\xc1\x74\xe0\x83\x5f\x0d\x7a\xc8\x09\x8e\xfe\x4d\x41\x6a\xc1\x65\xc2\x73\xf2\xb3\x12\xa0\xb4\x68\xd2\x8c\x3b\xde\x45\xf9\x95\x44\xb8\x54\x68\xb5\xa0\x65\x8b\x7e\x48\x4b\x45\xa1\xe4\xba\x63\xcb\xa0\xca\xd0\x84\xd1\x7c\x6a\x2e\x9d\xea\xec\x87\x98\x53\xa3\x26\xcc\x58\xeb\xb4\xf1\x2f\x0d\x3f\x25\xb4\x4b\xe7\x52\x8b\x87\x34\x43\x2f\xa0\x2a\xa2\xeb\x50\xc8\xed\x80\x64\x64\x1f\x62\x28\x5a\x76\x4b\xdf\x3a\x76\xff\x77\xb0\x93\x2e\xec\xfe\xf2\x8d\xdd\x2f\x07\x3b\x2a\x61\x36\x85\xc3\x2c\xd8\x9d\x29\x31\xe8\x29\x78\xa7\xd0\x3d\x6a\xf3\x10\x2b\x50\x0b\xf2\xc3\xbb\x28\xe7\x92\x44\x4a\x45\x5a\x3f\x09\x9a\x5d\xb6\x9c\x2b\x74\xfe\xe9\x72\x2a\x3b\x3e\x36\x11\x91\x44\x8e\x6e\x94\x43\xca\xd6\x85\x48\x2d\x8a\xd2\x90\xdb\xa4\x4b\xa3\xcb\x22\xa5\xcc\xd6\x0c\xe1\x99\xd1\x35\xb7\xd2\x97\x50\x76\xef\xdd\x96\xb4\x40\xb1\x11\xb2\x0e\x20\x2d\x95\x36\x98\x8a\x15\x57\x4b\x0c\xaf\x95\xaa\x80\x78\x4e\x75\x85\x35\x52\x19\xb4\x4a\xea\xb0\x98\x6e\x2b\x79\x40\x54\x8e\xed\x05\x6d\xb1\x46\x4a\x9d\x62\xda\x8b\xa9\x5d\x55\x9d\x3c\x1c\x15\x17\x84\x97\x29\xd6\xb8\x4a\xaa\x0e\xf3\x42\xfa\xc8\x47\x21\xed\x4f\xa8\xdc\x38\x2b\xd6\xc2\xa0\x73\x9b\xb4\x30\x14\xea\x79\xc1\xa5\x0d\x59\x52\x54\x14\xe8\xec\x19\x4f\xa4\x48\x6b\xc4\x51\x04\xfc\x4f\x4e\x0a\x0d\xfc\x4e\xaa\x7c\x3a\x08\x44\xc7\xd1\x6e\x30\x2a\xe0\x77\x36\x98\x8a\xc7\xfb\x4c\x12\x2f\x59\x7f\xeb\x47\x44\x92\xeb\xac\x94\xb8\xbb\x16\xf2\xba\x95\xf5\x0d\xcf\x65\xe2\xf2\x42\xb2\x50\x52\x6b\x6e\x7c\x8e\x63\xea\x2f\xe0\x0d\x57\x4a\x3b\x9f\x5f\xf0\x9a\x20\x01\x19\x16\x3e\x44\x4a\x10\x5a\x88\xc9\xac\xfb\x1f\x68\x03\x6e\x85\x64\xda\x9f\x0d\xb1\x48\x9c\xc8\x42\x17\x0b\x21\x0b\x0f\xff\xe3\x16\x56\xc1\x32\x9d\x73\x52\xe7\x9a\xe0\xf1\xd6\x24\xc2\xea\x67\x79\x45\x75\x11\xc8\x46\xd3\x95\x73\x85\x9d\x5c\x5f\x57\x2c\x61\xff\x28\xc1\x27\x9e\x17\x41\x0d\xf9\xc0\xaf\x8c\x4f\xe2\xc6\x1d\x5c\x92\x24\x7b\x27\xc9\x8b\x93\xcb\xb4\x82\xc3\xfe\x7d\x3a\x60\x83\x53\xba\x0b\xdf\x3a\xc9\xcb\x46\x5f\x57\x81\xcb\xda\x55\xfa\x80\x1b\x7b\x54\xec\x5f\xad\x56\xa8\x84\xce\xe2\x88\xa8\x71\x71\x57\x1d\x11\x7f\x65\x1b\xa7\x65\x4a\x05\x4c\x41\x50\x66\x56\xda\xba\xb8\xa7\xb2\xf8\xc5\x01\x8c\x47\x07\x7b\x43\x94\x53\x5b\x2e\x16\xf4\xd4\xe8\xf8\x94\xb1\xae\xe5\xd3\x22\x3d\xfa\x86\x7b\xae\x3c\x5b\xca\x8c\x1a\xe8\x6f\x63\x0e\x9b\xf0\xf7\xfb\xdb\x13\xf9\xae\x61\x49\xbf\xbf\x6d\xf2\x3c\xb9\x79\xf5\xcb\x88\x1d\x69\x36\x20\xf7\x81\x6c\x29\xa5\x73\xff\xea\x3b\xf0\x50\x60\x01\x53\x1f\xd1\xee\xf9\xd5\x52\x15\x8c\xbf\x03\x00\x00\xff\xff\x4e\x7e\x52\x0d\x22\x0f\x00\x00"), }, "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/dns.tf": &vfsgen۰CompressedFileInfo{ name: "dns.tf", @@ -3348,9 +3348,9 @@ var vfsgenAssets = func() http.FileSystem { "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf": &vfsgen۰CompressedFileInfo{ name: "variables.tf", modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), - uncompressedSize: 4295, + uncompressedSize: 4454, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x57\xdd\x6f\xdb\x38\x12\x7f\xf7\x5f\x31\x70\x1f\xea\x00\xae\xce\x76\x7a\xfd\x00\xb6\x0f\x8e\xd3\xdb\xcd\x6d\xf3\x71\x75\xb3\x01\xf6\x70\x10\x68\x72\x24\x11\xa1\x48\x1d\x87\xb4\xe3\x1e\xf6\x7f\x3f\x90\x52\x1c\xd9\x92\xef\x92\x6e\xfb\x10\x25\xe4\xcc\xfc\xe6\x83\xbf\x99\x59\x33\x2b\xd9\x4a\x21\x0c\xb9\xf2\xe4\xd0\xa6\x9a\x95\x38\x84\xff\x0c\x00\xdc\xb6\x42\x68\xfe\x7d\x02\x72\x56\xea\x7c\x00\x20\x90\xb8\x95\x95\x93\x46\xc3\x27\x18\xde\x6a\xf9\x6f\x8f\xd0\x88\x43\x10\x87\x51\x65\xb1\x42\x2d\x50\x80\x33\x20\x34\xa5\xdf\x8d\xc6\x93\xe1\xe0\x8f\xc1\xe0\x15\xcc\xef\x96\x83\xc1\x93\xe1\xc7\xe3\x97\x18\x9d\xdf\x2d\xe1\xab\xf1\x0e\xff\x7a\x0a\xe7\x57\x4b\xf8\xdd\x68\x84\x11\x26\x79\x02\x6c\x43\x09\x3e\xb0\xb2\x52\x98\x70\x53\xd6\x46\xbb\xd6\x52\x29\xfe\xb4\xc1\x8b\xf3\xc6\xe6\xef\xa7\x37\xf3\xf9\xd9\xd9\xe2\x6f\xf3\x5f\x3f\x2f\x26\x87\x26\xf1\xa1\x32\x84\xa9\x36\x02\x2b\x63\x1d\xf5\xd9\x5d\x19\xa3\xa2\xd5\x8c\x79\xe5\x9a\x3f\x66\x4c\x11\x76\xb1\x7c\x8e\xfa\x20\xe8\x83\xa8\x10\x4e\x27\x93\xc9\xe4\xcd\xe9\xec\xfd\xbb\xf7\x20\x35\xb8\x02\x81\x90\x7b\x2b\xdd\x16\x72\x6b\x7c\xd5\x44\x5e\x6a\x72\x4c\x73\xa4\x36\x3c\x6e\xb4\xb3\x46\x29\xb4\x29\x37\x5e\xbb\x3e\x78\xda\x97\x2b\xb4\x1d\x80\xd3\x2e\xb8\xab\x78\x13\x4c\x06\x4f\x7a\x09\x46\x32\xc1\x04\x4a\x16\x4a\x84\x0e\xe3\xd3\x02\x10\xac\xb6\xec\xb7\xf2\xf1\x0a\xee\x0a\xd4\x20\x8c\xd4\x79\x74\xd0\x57\xb9\x65\x02\xa9\x65\xaa\x52\x4c\x23\x18\x0d\xee\x34\xa1\x92\x29\xb5\x73\xb8\x56\xb7\x29\x50\x47\x55\x05\x5b\x07\x35\x21\x87\x24\x75\xae\x70\x5f\x43\x88\xec\xf8\x49\x49\xc1\x08\xb4\x71\x80\xda\xf8\xbc\x80\x12\x4b\x63\xb7\x30\x9a\xfd\x7c\x76\x12\xb5\x39\x03\xd6\x6b\x28\x8d\x45\x70\x05\xd3\x51\xef\xce\xb2\xc9\xe0\xde\xaf\xf0\x0d\xab\x24\xa1\x5d\xa3\x0d\x19\xaa\x98\x65\x4a\xa1\x1a\x03\x19\xd8\x20\x68\xac\x9f\x8a\x8f\xf9\x7e\x05\x0c\x56\x32\xcf\xe3\xdd\x5a\x4d\x02\x77\xd2\x15\xf0\xcb\x7c\x0f\x69\x0b\x24\x15\xc6\x2b\x01\x2b\x84\x4c\xc6\x83\x22\x82\xcd\x8c\x8d\x0a\x2b\x6b\x84\xe7\x31\x49\x84\xce\x57\x34\x06\xe9\x5e\x13\x58\xe4\xa6\x2c\x77\x4f\xd5\xd3\x13\x72\x82\x4d\x30\x19\xdd\xfa\x3a\xbf\x1c\x83\x33\x51\x55\x2e\xd7\x08\x95\x42\xed\xb6\xc1\x39\x4f\x31\x8b\x4d\x54\x32\x63\x01\x1d\x17\xc0\xb4\x38\xf0\x3b\xe9\x94\xcf\xd0\x9d\x26\x25\x0a\xe9\xcb\x61\x4f\x95\x2f\x66\x07\xe9\x0b\xba\x5b\x45\x75\x50\x45\x86\x9e\x43\x5d\x7b\xe6\x33\xc5\x1c\x67\xb6\xc7\xf8\x55\x60\x31\x93\xc1\x75\x85\x96\xb9\x50\x2b\xcb\x2d\x39\x2c\x61\xc4\x8d\x45\x43\x60\x2c\x34\xd2\x87\xd5\x6c\x28\xe5\x05\xd3\x1a\xd5\x4b\xa0\x90\x0b\xd2\x3d\x48\xe6\x97\x17\xd0\xe8\x8b\x01\x08\xa5\x7f\xbd\x84\x51\x2d\x30\x86\x15\x3a\x36\x06\xa6\xaa\x82\x8d\x01\x45\x8e\x3d\x78\xd6\x68\x49\x1a\xfd\x12\x3c\xdc\x5b\x8b\xda\xf5\x00\xfa\xad\x56\x16\xa2\xf3\x88\xa5\xb9\x1c\x82\xa2\x7d\x89\x56\x72\x68\x4c\x02\x79\x5e\x00\x23\x98\xcd\xde\x4d\x93\x8f\x1f\x93\x0e\x39\x0a\x49\xf7\x29\xc9\xef\xbd\x89\x3b\x42\x3b\x6f\x27\x5d\x58\x4b\xf9\x1d\x1f\x31\x7d\x3e\x5b\xc2\xda\x28\x5f\x86\x62\x86\x9f\xcf\xfa\x4c\x1e\x30\xcd\xff\x0d\x48\x5e\xcd\x7a\x82\xf1\x2d\xc8\x76\xad\xd6\x5d\x21\xd4\xae\x60\x56\x8c\x21\xaf\x66\x63\x90\x66\xda\xeb\xbc\x34\x55\x6f\x4b\x38\xe2\x7c\x8f\xef\x17\xd7\x37\xcb\xa3\x28\xa6\x93\x4e\xcc\xdb\x8c\xaf\x78\x4a\x5a\x56\x15\xf6\xf7\x25\x25\xc9\x8d\xea\x98\x9c\x74\x0d\x2f\x76\x8a\x20\x7c\x32\xa9\xd1\xc2\x17\xa9\xfd\x43\xf8\x3d\x93\x39\xec\x74\x77\xfc\xf8\xe7\xbf\xf6\x41\x39\x96\xd3\x1e\xf5\x97\xac\x6a\x09\x7d\x8a\x47\x00\xc3\x4b\xa6\x59\x8e\xe2\x6c\x3b\x0c\x08\xbe\x98\x7b\x53\x1a\x27\xd7\xf1\xed\x00\x0c\x17\x16\x99\xdb\x1d\xdf\x6a\xaa\x90\xcb\x4c\xa2\x08\xe7\x7f\x74\x5d\xb8\x8e\x5f\x4c\x81\x40\xc7\xa4\xa2\xc0\x82\x8e\x85\xde\x10\xe6\x14\xb0\x48\xc6\x5b\x8e\xd4\x74\x50\x1e\xdd\xf2\x81\x14\x8c\x6e\xc3\x27\x2a\xd2\x7b\xdc\xfe\x40\x10\x97\xcb\x5f\xa0\xf2\x2b\x25\x39\x04\x05\xf1\x95\x7b\x42\x0b\xaf\x03\xd7\xbc\x3e\xc8\x1d\x23\x42\x97\x0a\x69\x6b\x43\x07\xba\x6e\x98\x2b\x82\x07\x0c\x84\xb4\xc8\x5d\xa0\xe4\x4d\x81\x16\x21\x47\x1d\xa8\x0c\x05\x44\x0d\xd4\x6a\x18\x95\x62\x1c\x45\xa0\xb6\x98\x42\x0a\xb3\x83\x45\x17\xfa\xf4\x91\xd7\xb1\x87\x48\xa3\xdb\x18\x7b\x9f\x96\xce\xf7\x62\x5a\x5c\x5d\x80\xd4\x0e\x6d\xc6\x38\xc2\xe5\xb7\xdb\x04\x6e\x09\xe1\xc3\xc7\x0f\x53\x90\xa1\x7f\x04\x7a\x7d\x6a\x3a\xc1\x60\xd3\x7a\xfe\xee\xcb\x95\x81\xcc\xb2\x12\x29\xe9\x82\x39\x36\x94\xbc\xfd\x30\xd9\x47\x58\x18\x72\x29\x97\xa2\x3f\x66\x8b\x8b\xf3\xaf\x70\x71\xb3\x7e\x0b\x96\xe9\x1c\x63\xf8\x88\x64\xae\xc3\x57\xe8\x42\x61\x1c\xa0\xa3\xb1\xe8\x30\xc5\x74\x92\xc4\xff\x7f\x99\xbe\x3b\xc8\x5d\x65\xc4\x8f\xc0\xf8\xd5\xaf\xd0\x6a\x74\x48\x50\x19\xf1\x32\x24\xb3\x7e\x24\xa1\x23\x4b\x8e\x47\xd1\xfc\xf4\xd3\xe7\xeb\xf3\xc1\xb3\x20\x35\xaa\x28\x19\x7c\x2b\x10\xa6\xe4\xe0\xe2\x06\x36\x52\xa9\x50\x5a\x16\x63\xef\x17\xb1\xa8\xc3\x38\x90\xee\xc6\x81\x71\xa4\xab\xe9\xc4\x15\x47\x05\x42\xfd\x0b\x4d\xc9\x20\x80\x19\xb4\xdc\xee\x71\xb9\x76\xf7\xb4\xdf\xdd\xc7\xdd\x46\x98\x92\x49\x9d\x92\xcf\x32\xf9\xd0\x9b\x85\x7f\x78\xb4\x12\xeb\x47\x58\xdf\x6e\x6a\x31\xce\xd4\x51\x6e\x87\x95\x69\xda\xa0\x45\x01\xab\xed\x0e\x2a\x9c\x37\x78\x24\x3d\xae\x44\x89\x32\x9c\xa9\x86\x8d\x33\x63\x92\x06\x72\x42\x6b\x9e\xec\xdd\x39\x81\xe7\xe7\x76\x4f\xf0\x70\xe1\xd0\xe1\x67\x6a\xe3\xba\x21\x75\xfe\x3f\x17\x8e\xfd\xa1\x2b\x4a\x86\x99\x2e\xc7\xd0\xce\x99\x66\x6a\xeb\x24\x0f\x83\x62\xa3\x2c\x8e\x89\x15\x39\x8b\xac\x24\x18\x2d\x98\x92\xdc\x9c\x74\xf9\xbd\x5e\x5e\xfa\x70\xb1\x3c\xb7\x98\x47\x06\xed\xcd\x41\x03\x22\x44\xbc\x55\x67\xf3\x27\x29\xf8\xc2\xb6\x68\x61\xd4\x18\xac\x39\xdb\x7a\xec\x21\xac\xde\xbd\x2a\xdc\xed\x34\xe2\x08\x8d\x50\x65\x69\xa0\x0b\x14\x69\x28\x57\x85\xae\x17\xe2\x79\x7d\xbf\xd9\xb4\x54\x06\xb5\x0c\x34\x32\x35\x9d\x29\x55\xd7\x46\x63\xfc\x08\xb8\xd8\x56\x16\x68\x9d\xcc\x24\x67\xee\x60\x37\x43\xeb\x28\x5d\x33\x25\x85\x74\xdb\xb4\x42\x2b\x8d\x48\x0b\xe3\x2d\xf5\xe2\xfa\xad\xb9\x19\xa6\x81\xb0\x15\x04\x7c\xbc\xa5\x3b\xcc\x43\xb5\xf4\x73\xd9\xf4\xc3\xfb\x77\x07\x6c\xba\xff\x8c\x53\x7c\x70\x96\xa5\x99\xda\xb5\xef\xce\xb6\xea\x2c\x83\x78\x0e\x55\xe8\x3d\x71\xd1\x08\x41\x7b\xd3\x0a\x5a\x6b\x4d\xe8\x42\xeb\xf4\xcf\xce\x1c\xf1\xdf\x00\x00\x00\xff\xff\x2f\xac\x28\x7b\xc7\x10\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x57\xdf\x6f\xdb\x38\x12\x7e\xf7\x5f\x31\x70\x1f\xea\x00\xae\xce\x4e\x7a\xfd\x01\x6c\x1f\x1c\xa7\xb7\x9b\xdb\xa6\xc9\xd5\xed\x16\xd8\xc3\x41\xa0\xc5\x91\x44\x84\x22\x75\x1c\xd2\x89\x7b\xd8\xff\xfd\x30\x94\xe2\xc8\x96\x7c\xd7\x6c\x77\x1f\xea\x56\x9c\x6f\xbe\xf9\xc1\x6f\x86\x1b\xe1\x94\x58\x6b\x84\x71\xa6\x03\x79\x74\xa9\x11\x15\x8e\xe1\x3f\x23\x00\xbf\xad\x11\xda\xff\xde\x01\x79\xa7\x4c\x31\x02\x90\x48\x99\x53\xb5\x57\xd6\xc0\x3b\x18\x7f\x31\xea\xdf\x01\xa1\x35\x07\x36\x87\x49\xed\xb0\x46\x23\x51\x82\xb7\x20\x0d\xa5\xdf\xac\xc1\x93\xf1\xe8\x8f\xd1\xe8\x19\x2c\xbe\xae\x46\xa3\x47\xc7\x0f\x9f\x9f\xe2\x74\xf1\x75\x05\x9f\x6c\xf0\xf8\xd7\x33\xb8\xf8\xb8\x82\xdf\xad\x41\x98\x60\x52\x24\x20\xee\x28\xc1\x7b\x51\xd5\x1a\x93\xcc\x56\x8d\xd3\xbe\xb7\x54\xc9\x1f\x76\x78\x79\xd1\xfa\xfc\xfd\xec\x66\xb1\x38\x3f\x5f\xfe\x6d\xf1\xeb\xfb\xe5\xec\xd0\x25\xde\xd7\x96\x30\x35\x56\x62\x6d\x9d\xa7\x21\xbf\x6b\x6b\x75\xf4\x9a\x8b\xa0\x7d\xfb\x8f\xb9\xd0\x84\x7d\x2e\xef\x23\x1e\x30\x1e\x44\x40\x38\x9b\xcd\x66\xb3\x17\x67\xa7\xaf\x5f\xbd\x06\x65\xc0\x97\x08\x84\x59\x70\xca\x6f\xa1\x70\x36\xd4\x6d\xe6\x95\x21\x2f\x4c\x86\xd4\xa5\x97\x59\xe3\x9d\xd5\x1a\x5d\x9a\xd9\x60\xfc\x10\x3d\x13\xaa\x35\xba\x1e\xc1\x79\x9f\xdc\xc7\x78\x12\x6c\x0e\x8f\xb8\x04\x13\x95\x60\x02\x95\xe0\x16\xa1\xc3\xfc\x74\x08\xb0\xd7\x8e\xff\x4e\x3d\x9e\xc1\xd7\x12\x0d\x48\xab\x4c\x11\x03\x0c\x75\xe1\x84\x44\xea\xb8\xaa\xb5\x30\x08\xd6\x80\x3f\x4b\xa8\x12\x5a\xef\x02\x6e\xe0\xee\x4a\x34\x11\xaa\x14\x1b\x86\xe1\x1a\x92\x32\x85\xc6\x7d\x04\xce\xec\xf4\x11\xa4\x14\x04\xc6\x7a\x40\x63\x43\x51\x42\x85\x95\x75\x5b\x98\x9c\xfe\x7c\x7e\x12\xd1\xbc\x05\x17\x0c\x54\xd6\x21\xf8\x52\x98\x88\xbb\xf3\x6c\x73\xb8\x0d\x6b\x7c\x21\x6a\x45\xe8\x36\xe8\xb8\x42\xb5\x70\x42\x6b\xd4\x53\x20\x0b\x77\x08\x06\x9b\xab\x12\x62\xbd\x9f\x81\x80\xb5\x2a\x8a\x78\xb6\x81\x49\xe0\xab\xf2\x25\xfc\xb2\xd8\x63\xda\x21\x49\xa5\x0d\x5a\xc2\x1a\x21\x57\xf1\x43\x19\xc9\xe6\xd6\x45\xc0\xda\x59\x19\xb2\x58\x24\x42\x1f\x6a\x9a\x82\xf2\xcf\x09\x1c\x66\xb6\xaa\x76\x57\x35\xd0\x23\x73\x82\x3b\x76\x19\xc3\xfa\xb4\xb8\x9a\x82\xb7\x11\xaa\x50\x1b\x84\x5a\xa3\xf1\x5b\x0e\x2e\x50\xac\x62\x9b\x95\xdc\x3a\x40\x9f\x49\x10\x46\x1e\xc4\x9d\xf4\xda\x67\xec\xcf\x92\x0a\xa5\x0a\xd5\x78\xa0\xcb\x97\xa7\x07\xe5\x63\xec\x4e\x53\x1d\x74\x91\xa5\xef\x91\xae\x3d\xf7\xb9\x16\x3e\x13\x6e\xc0\xf9\x47\x56\x31\x9b\xc3\x75\x8d\x4e\x78\xee\x95\xd5\x96\x3c\x56\x30\xc9\xac\x43\x4b\x60\x1d\xb4\xd6\x87\xdd\x6c\x29\xcd\x4a\x61\x0c\xea\xa7\x50\x21\xcf\xd6\x03\x4c\x16\x57\x97\xd0\xe2\xc5\x04\x70\xeb\x5f\xaf\x60\xd2\x18\x4c\x61\x8d\x5e\x4c\x41\xe8\xba\x14\x53\x40\x59\xe0\x00\x9f\x0d\x3a\x52\xd6\x3c\x85\x4f\x16\x9c\x43\xe3\x07\x08\xfd\xd6\x80\x71\x76\x1e\xb8\xb4\x87\x39\x29\x26\x54\xe8\x54\x06\xad\x4b\xa0\x90\x95\x20\x08\x4e\x4f\x5f\xcd\x93\xb7\x6f\x93\x9e\x38\x4a\x45\xb7\x29\xa9\x6f\x83\x85\x3b\x22\x3b\x2f\x67\x7d\x5a\x2b\xf5\x0d\x1f\x38\xbd\x3f\x5f\xc1\xc6\xea\x50\x71\x33\xc3\xcf\xe7\x43\x2e\x0f\x94\xe6\xff\x26\xa4\xa8\x4f\x07\x92\xf1\x99\x6d\xfb\x5e\x9b\xa9\xc0\xbd\x2b\x85\x93\x53\x28\xea\xd3\x29\x28\x3b\x1f\x0c\x5e\xd9\x7a\x70\x24\x1c\x09\x7e\x20\xf6\xcb\xeb\x9b\xd5\x51\x16\xf3\x59\x2f\xe7\x5d\xc5\xd7\x59\x4a\x46\xd5\x35\x0e\xcf\x25\xad\xc8\x4f\x9a\x9c\x9c\xf4\x1d\x2f\x77\x40\xc0\x3f\x85\x32\xe8\xe0\x83\x32\xe1\x9e\xff\x9e\xab\x02\x76\xd8\xbd\x38\xfe\xf9\xaf\x7d\x52\x5e\x14\xb4\x27\xfd\x95\xa8\x3b\x46\xef\xe2\x27\x80\xf1\x95\x30\xa2\x40\x79\xbe\x1d\x33\x83\x0f\xf6\xd6\x56\xd6\xab\x4d\xbc\x3b\x00\xe3\xa5\x43\xe1\x77\x9f\xbf\x18\xaa\x31\x53\xb9\x42\xc9\xdf\xff\xe8\x87\x70\x1d\x7f\x09\x0d\x12\xbd\x50\x9a\x58\x05\xbd\xe0\xd9\xc0\x7b\x0a\x38\x24\x1b\x5c\x86\x87\x6a\x83\x86\xff\x4c\x33\x52\x3f\x3a\xcd\x57\xe8\x21\xd4\x70\xb9\xb8\x02\x67\x75\x33\x0a\x50\xc6\xbb\x2e\xb7\x46\x54\x7c\x99\x62\x3d\x89\x45\x7c\xa3\xf8\x5a\xc5\x19\x68\xe1\xce\xba\xdb\x96\x68\x3b\xe0\xb3\x98\xf5\xc0\x9a\x65\x4d\x97\x2f\x51\x99\xde\xe2\xf6\x4f\xd4\x78\xb5\xfa\x05\xea\xb0\xd6\x2a\x03\x06\x88\xc4\x02\xa1\x83\xe7\x2c\x85\xcf\x0f\xf2\x22\x88\xd0\xa7\x52\xb9\xc6\xd1\x01\xd6\x8d\xf0\x25\x13\x17\x20\x95\xc3\xcc\xf3\xc4\xb8\x2b\xd1\x21\x14\x68\x58\x69\x51\x42\x44\xa0\xce\x3c\xab\xb5\xc8\x50\xb2\xf2\xc6\x0e\x23\x5e\x6d\x1c\x7a\x5e\x23\x8e\x5c\xde\x3d\x46\x06\x3d\xe7\x29\xad\x7c\x18\xe4\xb4\xfc\x78\x09\xca\x78\x74\xb9\xc8\x10\xae\x3e\x7f\x49\xe0\x0b\x21\xbc\x79\xfb\x66\x0e\x8a\xc7\x1b\x27\xfb\x71\x26\xb2\xc3\x76\x32\xfe\x3d\x54\x6b\x0b\xb9\x13\x15\x52\xd2\x27\x73\x6c\x67\x7a\xf9\x66\xb6\xcf\xb0\xb4\xe4\xd3\x4c\xc9\xe1\x9c\x2d\x2f\x2f\x3e\xc1\xe5\xcd\xe6\x25\x38\x61\x0a\x8c\xe9\x23\x52\x85\xe1\x5f\x3c\x24\x79\x5b\xa1\xa3\xb9\xe8\x09\xd9\x7c\x96\xc4\xff\xff\x32\x7f\x75\x50\xbb\xda\xca\x3f\x43\xe3\xd7\xb0\x46\x67\xd0\x73\x83\x5a\xf9\x34\x26\xa7\xc3\x4c\x78\x61\x50\x19\x1e\x65\xf3\xd3\x4f\xef\xaf\x2f\x46\xdf\x45\xa9\x85\xa2\x64\xf4\xb9\x44\x98\x93\x87\xcb\x1b\xb8\x53\x5a\x73\x6b\x39\x8c\xab\x49\x73\xdb\x78\x5b\x49\x77\xdb\xca\x34\xaa\xe9\x7c\xe6\xcb\xa3\x06\xdc\xff\xd2\x50\x32\x62\x32\xa3\x4e\xd8\x03\x21\x37\xe1\x9e\x0d\x87\xfb\xf0\xf4\x92\xb6\x12\xca\xa4\x14\xf2\x5c\xdd\x0f\x56\xe1\x1f\x01\x9d\xc2\xe6\x12\x36\xa7\xdb\x5e\x8c\x2b\x7f\xb4\xdb\x71\x15\x86\xee\xd0\xa1\x84\xf5\x76\x47\x15\x2e\x5a\x3e\x8a\x1e\x5e\x6c\x89\xb6\x99\xd0\xed\xb0\xc8\xad\x4d\x5a\xca\x09\x6d\xb2\x64\xef\xcc\x09\x7c\x7f\x6d\xf7\x0c\x87\xb5\xd3\xc5\xd7\x90\x32\xc5\xff\x54\xd0\xfd\x9d\x30\x5a\xf2\xca\x59\x20\x6f\x1b\xc2\x08\xbd\xf5\x2a\xe3\x3d\xb6\x05\x8b\x5b\x6c\x4d\xde\xa1\xa8\x08\x26\x4b\xa1\x55\x66\x4f\xfa\xe3\xa7\x51\xe3\x21\x5e\xa2\x28\x1c\x16\x51\x41\x07\x6b\xd0\x92\xe0\x8c\x77\xfa\x6c\xf1\x68\x05\x1f\xc4\x16\x1d\x4c\x5a\x87\xcd\x48\x71\x01\x07\x04\x6b\x70\x50\xf0\xd9\xde\x9e\x10\xa9\x11\xea\x3c\x65\xb9\x40\x99\x72\xbb\x6a\xf4\x83\x14\x2f\x9a\xf3\xed\x43\x50\xe7\xd0\xd8\x40\x6b\xd3\xc8\x99\xd6\x4d\x6f\xb4\xce\x8f\x90\x8b\x63\x65\x89\xce\xab\x5c\x65\xc2\x1f\x3c\x1d\xd1\x79\x4a\x37\x42\x2b\xa9\xfc\x36\xad\xd1\x29\x2b\xd3\xd2\x06\x47\x83\xbc\x7e\x6b\x4f\xf2\xb2\xc2\x8f\x16\xe6\x97\x75\xb0\x79\x5d\x6b\xac\xbf\x57\x4d\xdf\xbc\x7e\x75\xa0\xa6\xfb\xd7\x38\xc5\x7b\xef\x44\x9a\xeb\xdd\x76\xd1\x7b\x4c\x7b\x27\x20\x7e\x87\x9a\x67\x4f\x7c\x07\x71\xd2\x5e\x74\x92\xd6\x79\xc5\xf4\xa9\xf5\xe6\x67\x6f\xcd\xf9\x6f\x00\x00\x00\xff\xff\x4c\x4e\x63\x14\x66\x11\x00\x00"), }, "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/workers": &vfsgen۰DirInfo{ name: "workers", diff --git a/pkg/platform/aws/aws.go b/pkg/platform/aws/aws.go index 4ee47a497..a450b802d 100644 --- a/pkg/platform/aws/aws.go +++ b/pkg/platform/aws/aws.go @@ -74,6 +74,7 @@ type config struct { HostCIDR string `hcl:"host_cidr,optional"` PodCIDR string `hcl:"pod_cidr,optional"` ServiceCIDR string `hcl:"service_cidr,optional"` + EnableCSI bool `hcl:"enable_csi,optional"` ClusterDomainSuffix string `hcl:"cluster_domain_suffix,optional"` EnableReporting bool `hcl:"enable_reporting,optional"` CertsValidityPeriodHours int `hcl:"certs_validity_period_hours,optional"` diff --git a/pkg/platform/aws/template.go b/pkg/platform/aws/template.go index 828c2da4d..2e59d25d2 100644 --- a/pkg/platform/aws/template.go +++ b/pkg/platform/aws/template.go @@ -30,6 +30,7 @@ module "aws-{{.Config.ClusterName}}" { tags = {{.Tags}} dns_zone = "{{.Config.DNSZone}}" dns_zone_id = "{{.Config.DNSZoneID}}" + enable_csi = {{.Config.EnableCSI}} {{- if .Config.ClusterDomainSuffix }} cluster_domain_suffix = "{{.Config.ClusterDomainSuffix}}" {{- end }}