From e8c3f95e9cca7413d351444cecdcdd3bc2b3bd43 Mon Sep 17 00:00:00 2001 From: bensoer Date: Tue, 16 Apr 2024 20:37:31 -0700 Subject: [PATCH] fixed syntax for required_version and corrected version number --- main.tf | 4 ++-- modules/k8infra/main.tf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 3ab2855..50de57d 100644 --- a/main.tf +++ b/main.tf @@ -1,6 +1,6 @@ terraform { - required_version = "1.8.0" - + required_version = "~> 1.7.5" + required_providers { digitalocean = { source = "digitalocean/digitalocean" diff --git a/modules/k8infra/main.tf b/modules/k8infra/main.tf index 230294a..2517de9 100644 --- a/modules/k8infra/main.tf +++ b/modules/k8infra/main.tf @@ -2,6 +2,7 @@ terraform { required_providers { digitalocean = { source = "digitalocean/digitalocean" + version = "2.36.0" } cloudflare = { source = "cloudflare/cloudflare"