Skip to content

A simple Terraform module for creating instances in Linode.

License

Notifications You must be signed in to change notification settings

egeexyz/terraform-linode-instance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-linode-instance

A simple Terraform module for creating StackScript-ready instances in Linode.

Usage

Create a .tf file with a module like this:

module "linode" {
  source           = "github.com/egee-irl/terraform-linode-instance.git"
  authorized_keys  = ["${chomp(file("./id_rsa.pub"))}"]
  type             = "g6-nanode-1"
  region           = "us-central"
  image            = "linode/ubuntu18.04"
  root_pass        = "Terra4ormr0x!"
}

You can view a demo using this module here.

Inputs

All inputs are optional. View the variables.tf file for more detailed information about the outputs.

Name Default
root_pass changeME007..
private_ip true
backups_enabled false
region us-central
image linode/ubuntu18.04
label Created by Terraform
type g6-standard-4
stackscript_id 1
tags []
authorized_keys []
authorized_users []
stackscript_data {}

About

A simple Terraform module for creating instances in Linode.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages