From cda886384e83fdcd4631dd8a6d414c786a4f47a0 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Thu, 5 Nov 2020 01:06:15 +0700 Subject: [PATCH] Use remote backend --- platform/versions.tf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/platform/versions.tf b/platform/versions.tf index 3568e7b8..3a560893 100644 --- a/platform/versions.tf +++ b/platform/versions.tf @@ -1,9 +1,19 @@ terraform { + required_version = ">= 0.13" + + backend "remote" { + hostname = "app.terraform.io" + organization = "khuedoan" + + workspaces { + name = "homelab" + } + } + required_providers { rke = { source = "rancher/rke" version = "1.1.3" } } - required_version = ">= 0.13" }