From 38ff4c37281055fe087729bce901cf71aebf9e64 Mon Sep 17 00:00:00 2001 From: jakemulley Date: Tue, 13 Dec 2022 17:26:21 +0000 Subject: [PATCH 1/2] Refactor to meet standardised Terraform structure --- main.tf | 1 - outputs.tf | 0 versions.tf | 8 ++------ 3 files changed, 2 insertions(+), 7 deletions(-) create mode 100644 outputs.tf diff --git a/main.tf b/main.tf index e0e544b..c24da86 100644 --- a/main.tf +++ b/main.tf @@ -1,4 +1,3 @@ - resource "helm_release" "aws_ebs" { name = "aws-ebs-csi-driver" chart = "aws-ebs-csi-driver" diff --git a/outputs.tf b/outputs.tf new file mode 100644 index 0000000..e69de29 diff --git a/versions.tf b/versions.tf index 8a289b3..c5fb14d 100644 --- a/versions.tf +++ b/versions.tf @@ -2,15 +2,11 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - } - kubernetes = { - source = "hashicorp/kubernetes" + version = ">=4.24.0" } helm = { source = "hashicorp/helm" - } - kubectl = { - source = "gavinbunney/kubectl" + version = ">=2.6.0" } } required_version = ">= 0.14" From 93c91c00d83f8360ed4f3a58726d893d53e4759e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 13 Dec 2022 17:27:46 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b18514..cd3788f 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,15 @@ See the [examples/](examples/) folder. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.14 | +| [aws](#requirement\_aws) | >=4.24.0 | +| [helm](#requirement\_helm) | >=2.6.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | n/a | -| [helm](#provider\_helm) | n/a | +| [aws](#provider\_aws) | >=4.24.0 | +| [helm](#provider\_helm) | >=2.6.0 | ## Modules