add common tf resources

This commit is contained in:
jem 2020-03-10 08:31:04 +01:00
parent 145091b954
commit b576d2a3e7
7 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,5 @@
variable "bucket" {}
variable "key" {}
variable "kms_key_id" {}
variable "region" {}
variable "account_name" {}

View file

@ -0,0 +1,5 @@
terraform {
backend "s3" {
encrypt = "true"
}
}

View file

@ -0,0 +1,3 @@
provider "aws" {
region = var.region
}

View file

@ -0,0 +1,2 @@
variable "hetzner_api_key" {
}

View file

@ -0,0 +1,4 @@
# Configure the Hetzner Cloud Provider
provider "hcloud" {
token = var.hetzner_api_key
}

View file

@ -0,0 +1,2 @@
variable "stage" {}
variable "module" {}

View file

@ -0,0 +1,4 @@
terraform {
required_version = ">= 0.12"
}