Skip to content

a collection of terraform script to run automated container in kubernetes + template for creating proxmox VMs from template

License

Notifications You must be signed in to change notification settings

MVladislav/vm-terraform-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Collection

  MVladislav


install

$curl -sL "https://apt.releases.hashicorp.com/gpg" | gpg --dearmor | sudo tee /usr/share/keyrings/apt.releases.hashicorp.com.gpg >/dev/null
$echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/apt.releases.hashicorp.com.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee "/etc/apt/sources.list.d/archive_uri-https_apt_releases_hashicorp_com-$(lsb_release -cs).list"
$sudo apt update && sudo apt install terraform

general commands

terraform

setup initial sources:

$terraform init

check script:

$terraform plan

run script:

$terraform apply

kubernetes

list everything:

$kubectl api-resources --verbs=list --namespaced -o name | xargs -n 1 kubectl get --show-kind --ignore-not-found -n <namespace>

References


☕ COFFEE is a HUG in a MUG ☕

About

a collection of terraform script to run automated container in kubernetes + template for creating proxmox VMs from template

Topics

Resources

License

Security policy

Stars

Watchers

Forks