Add linode to terraform setup

Let the migration, begin!
This commit is contained in:
Jake Howard 2022-01-08 22:11:34 +00:00
parent 41289ab359
commit 0a13f78d29
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 9 additions and 0 deletions

View file

@ -12,3 +12,7 @@ provider "cloudflare" {
provider "aws" { provider "aws" {
region = "eu-west-2" region = "eu-west-2"
} }
provider "linode" {
token = var.linode_personal_access_token
}

View file

@ -12,5 +12,9 @@ terraform {
source = "hashicorp/aws" source = "hashicorp/aws"
version = "3.8.0" version = "3.8.0"
} }
linode = {
source = "linode/linode"
version = "1.25.1"
}
} }
} }

View file

@ -1,3 +1,4 @@
variable "vultr_api_key" {} variable "vultr_api_key" {}
variable "cloudflare_api_key" {} variable "cloudflare_api_key" {}
variable "cloudflare_email" {} variable "cloudflare_email" {}
variable "linode_personal_access_token" {}