From 3589421c0066376c428cd8d0bc9b5ebd2f2db76f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 23 Aug 2020 17:27:05 +0100 Subject: [PATCH] Update terraform for 0.13 compatibility --- .github/workflows/ci.yml | 2 +- terraform/providers.tf | 4 +--- terraform/terraform.tf | 13 +++++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 terraform/terraform.tf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20b63f2..4bf9d2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - name: Install terraform uses: marocchino/setup-terraform@v1 with: - version: "0.12.20" + version: "0.13.0" - name: Initialize Terraform run: ./scripts/terraform/terraform.sh init -backend=false - name: Lint diff --git a/terraform/providers.tf b/terraform/providers.tf index 6d4bc9c..79f0541 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -1,7 +1,5 @@ provider "vultr" { - api_key = var.vultr_api_key - rate_limit = 700 - retry_limit = 3 + api_key = var.vultr_api_key } provider "cloudflare" { diff --git a/terraform/terraform.tf b/terraform/terraform.tf new file mode 100644 index 0000000..0250a18 --- /dev/null +++ b/terraform/terraform.tf @@ -0,0 +1,13 @@ +terraform { + required_providers { + cloudflare = { + source = "cloudflare/cloudflare" + } + vultr = { + source = "vultr/vultr" + } + aws = { + source = "hashicorp/aws" + } + } +}