From 334830922e7b2f87379fe272e7412bc45409ebac Mon Sep 17 00:00:00 2001 From: Audun Nes Date: Fri, 28 Jun 2024 12:35:38 +0200 Subject: [PATCH] Prepare for opentofu support. Fix line endings in versions.tf --- versions.tf | 26 +++++++++++++------------- versions.tofu | 13 +++++++++++++ 2 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 versions.tofu diff --git a/versions.tf b/versions.tf index d0945154..0f3a41aa 100644 --- a/versions.tf +++ b/versions.tf @@ -1,13 +1,13 @@ -terraform { - required_version = ">= 1.3.0, < 1.6.0" - required_providers { - aws = { - source = "hashicorp/aws" - version = "~> 5.0" - } - random = { - source = "hashicorp/random" - version = ">= 3.1" - } - } -} +terraform { + required_version = ">= 1.3.0, < 1.6.0" + required_providers { + aws = { + source = "hashicorp/aws" + version = "~> 5.0" + } + random = { + source = "hashicorp/random" + version = ">= 3.1" + } + } +} diff --git a/versions.tofu b/versions.tofu new file mode 100644 index 00000000..8e786c6a --- /dev/null +++ b/versions.tofu @@ -0,0 +1,13 @@ +terraform { + required_version = ">= 1.8.0" + required_providers { + aws = { + source = "hashicorp/aws" + version = "~> 5.0" + } + random = { + source = "hashicorp/random" + version = ">= 3.1" + } + } +}