From 983ec622b290f8217cc29d1b2e1aa9ee1cc56cf9 Mon Sep 17 00:00:00 2001 From: Mike Cugini Date: Sun, 14 Nov 2021 11:22:01 -0500 Subject: [PATCH] add terraform cloud config --- terraform/provider.tf | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/terraform/provider.tf b/terraform/provider.tf index abe573c..aac4e95 100644 --- a/terraform/provider.tf +++ b/terraform/provider.tf @@ -1,10 +1,17 @@ terraform { - required_providers { - digitalocean = { - source = "digitalocean/digitalocean" - version = "2.1.0" - } + backend "remote" { + organization = "betamike" + + workspaces { + name = "betamike-deploy" } + } + required_providers { + digitalocean = { + source = "digitalocean/digitalocean" + version = "2.1.0" + } + } } provider "digitalocean" {}