From 47507237f12ae57b896013ac3dea29a78810502a Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 7 May 2021 18:36:22 +0200 Subject: [PATCH] release --- build.py | 2 +- src/main/resources/terraform/aws_provider.tf | 9 +++++++++ src/main/resources/terraform/hetzner_provider.tf | 9 +++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 816be66..8498e4e 100644 --- a/build.py +++ b/build.py @@ -28,7 +28,7 @@ use_plugin("python.distutils") default_task = "publish" name = "ddadevops" -version = "0.8.20-dev" +version = "0.9.0" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" description = __doc__ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] diff --git a/src/main/resources/terraform/aws_provider.tf b/src/main/resources/terraform/aws_provider.tf index dc58d9a..7f0e5d6 100644 --- a/src/main/resources/terraform/aws_provider.tf +++ b/src/main/resources/terraform/aws_provider.tf @@ -1,3 +1,12 @@ +terraform { + required_providers { + aws = { + source = "hashicorp/aws" + version = "~> 3.0" + } + } +} + provider "aws" { region = var.region } diff --git a/src/main/resources/terraform/hetzner_provider.tf b/src/main/resources/terraform/hetzner_provider.tf index 4a5d3fe..2ca3aaf 100644 --- a/src/main/resources/terraform/hetzner_provider.tf +++ b/src/main/resources/terraform/hetzner_provider.tf @@ -1,4 +1,13 @@ # Configure the Hetzner Cloud Provider +terraform { + required_providers { + hcloud = { + source = "hetznercloud/hcloud" + } + } + required_version = ">= 0.13" +} + provider "hcloud" { token = var.hetzner_api_key }