flatcar-vm

celest-io/flatcar-vm/vultr

Terraform Module HCL VULTR

Terraform module which creates a Flatcar instance in Vultr

Install
module "flatcar-vm" {
source = "celest-io/flatcar-vm/vultr"
version = "1.0.1"
}
plain text: /constructs/tfmod-celest-io-flatcar-vm-vultr/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Flatcar provisioning on Vultr VM ![GitHub Release]() A terraform module that will provision a Flatcar VM on Vultr Usage ``terraform locals { flatcar_ipxe = <<EOT #!ipxe chain http://matchbox_http_endpoint/ipxe?provider=vultr-k8s EOT } resource "vultr_startup_script" "ipxe" { filter { name = "name" values = ["flatcar-ipxe"] } } resource "vultr_startup_script" "k8s_ipxe" { name = "k8s-ipxe" type = "pxe" script = base64encode(local.flatcar_ipxe) } resource "vultr_ssh_key" "provisioning" { name = "k8s-provisioning" ssh_key = local.provisioning_key } resource "vultr_vpc" "cluster" { description = "Private Network for k0s cluster" region = "lhr" v4_subnet = "10.0.0.0" v4_subnet_mask = "24" } resource "vultr_firewall_group" "workers" { description = "Firewall group for k8s workers" } re

Inputs (15)
NameTypeDescriptionDefault
vpc_idslist(string)List of VPC IDs to attach to the instance required
firewall_group_idstringThe ID of the firewall group to assign to the instance required
ssh_key_idslist(string)A list of SSH key IDs required
private_network_netmaskstringNetmask of the private network attached to the instance required
script_idstringThe ID of the startup script of the instance required
planstringID of the plan of the instance required
node_namestringName of the instance. required
regionstringVultr deployment region."lhr"
dns_serverslist(string)List of the DNS servers to use[ "1.1.1.1#cloudflare-dns.com", "1.0
enable_ipv6boolEnable IPv6 on the instancefalse
tagslist(string)Tags[]
snippetslist(string)List of Butane snippets.[]
flatcar_update_serverstringThe URL to the Flatcar Linux update manager."http://public.update.flatcar-linux.net/
ddos_protectionboolEnable/disable node DDOS Protection.false
flatcar_update_groupstringThe name to the Flatcar Linux update manager."stable"
Outputs (1)
instance — The Vultr node Instance
Resources (1)
vultr_instance
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud VULTR
★ Stars0
Forks0
Total downloads297
Inputs15
Outputs1
Resources1
LicenseApache-2.0
Namespacecelest-io
Updated