diff --git a/ahoskingit/terraform/prodviders.tf b/ahoskingit/terraform/prodviders.tf index 6002e95..0db1cdb 100644 --- a/ahoskingit/terraform/prodviders.tf +++ b/ahoskingit/terraform/prodviders.tf @@ -1,3 +1,12 @@ +terraform { + backend "remote" { + organization = "AHosking" + + workspaces { + name = "terraform" + } + } +} provider "cloudflare" { email = var.CLOUDFLARE_EMAIL api_key = var.CLOUDFLARE_API_KEY diff --git a/ahoskingit/terraform/terraform.tf b/ahoskingit/terraform/terraform.tf deleted file mode 100644 index eb6844c..0000000 --- a/ahoskingit/terraform/terraform.tf +++ /dev/null @@ -1,10 +0,0 @@ - terraform { - backend "remote" { - organization = "AHosking" - - workspaces { - name = "terraform" - } - } -} - diff --git a/ahoskingit/terraform/variables.tf b/ahoskingit/terraform/variables.tf index 87abb85..ca40e2f 100644 --- a/ahoskingit/terraform/variables.tf +++ b/ahoskingit/terraform/variables.tf @@ -8,8 +8,6 @@ variable "aws_region" { } variable "CLOUDFLARE_EMAIL" {} -variable "CLOUDFLARE_API_TOKEN" {} -variable "CLOUDFLARE_ACCOUNT_ID" {} variable "CLOUDFLARE_API_KEY" {} variable "home_ip" {