From e33340353a918b3f8311946466e25d1461cb99b0 Mon Sep 17 00:00:00 2001 From: Patrick de Ruiter Date: Wed, 23 Jun 2021 00:39:27 +0200 Subject: [PATCH] Made some changes --- variables.tf | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/variables.tf b/variables.tf index ed29530..39133c5 100644 --- a/variables.tf +++ b/variables.tf @@ -64,6 +64,52 @@ variable "public_keyname" { default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDboPfi18b0We79c6mqQui+iPPL0KqUWIdm02hb6RyQ67buYPik6KRAin8hiwvgVHyBF3sdnDsaP9snSFq2QQXUtdB5MxHplIJSbdd/oREtTXHCc9OfhGEuJDqQ8ViHj1ApYlLNIohHAhJkVywkpMhLUHqLZ2DXhwVjM9XDHx0aoImwcyczzU9e4T8jtvLB+PlDRNxvCrKuf6Ir6sd1u9vHWQYR4kV61T3Z/VaeRPSF5Y50IF5ECTrNoQeR0NSRIrY6g4/hZzMisLxpybtO44jkZ7OPVwhAjfZgTTZYnrrSkdoL8HYbaEuKZC/WPvoCOfq5eF4ydpwUQomzeCD9pnOX pderuiter@MacBook-Pro-van-Patrick.local" } +variable "security_groups" { + type = list(string) + description = "List of Security Group IDs allowed to connect to the bastion host" +} + +variable "user_data" { + type = list(string) + default = [] + description = "User data content" +} + +variable "root_block_device_encrypted" { + type = bool + default = false + description = "Whether to encrypt the root block device" +} + +variable "root_block_device_volume_size" { + type = number + default = 8 + description = "The volume size (in GiB) to provision for the root block device. It cannot be smaller than the AMI it refers to." +} + +variable "metadata_http_endpoint_enabled" { + type = bool + default = true + description = "Whether the metadata service is available" +} + +variable "metadata_http_put_response_hop_limit" { + type = number + default = 1 + description = "The desired HTTP PUT response hop limit (between 1 and 64) for instance metadata requests." +} + +variable "metadata_http_tokens_required" { + type = bool + default = false + description = "Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2." +} + +variable "associate_public_ip_address" { + type = bool + default = true + description = "Whether to associate public IP to the instance." +} ### Kubernetes Settings ### variable "kubernetes_version" { type = string