diff --git a/README.md b/README.md index 4fb3e36..32ac0fa 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ Terraform module that creates kyma runtime in SAP BTP platform. Terraform module for Kyma uses the following terraform [providers](provider.tf), which must be ensured by the root module: - `SAP/btp` - - `massdriver-cloud/jq` - `hashicorp/http` - `salrashid123/http-full` @@ -77,9 +76,22 @@ BTP_KYMA_REGION = "westeurope" 3. In the `main.tf`, ensure the [required providers](#required-providers) and include the Kyma module as a child module. ```tf +terraform { + required_providers { + btp = { + source = "SAP/btp" + } + http = { + source = "hashicorp/http" + } + http-full = { + source = "salrashid123/http-full" + } + } +} -provider "jq" {} provider "http" {} +provider "http-full" {} provider "btp" { globalaccount = var.BTP_GLOBAL_ACCOUNT cli_server_url = var.BTP_BACKEND_URL @@ -89,7 +101,7 @@ provider "btp" { } module "kyma" { - source = "git::https://github.com/kyma-project/terraform-module.git?ref=v0.2.0" + source = "git::https://github.com/kyma-project/terraform-module.git?ref=v0.3.0" BTP_KYMA_PLAN = var.BTP_KYMA_PLAN BTP_KYMA_REGION = var.BTP_KYMA_REGION BTP_NEW_SUBACCOUNT_NAME = var.BTP_NEW_SUBACCOUNT_NAME @@ -114,13 +126,6 @@ output "domain" { value = module.kyma.domain } -//Use the kubeconfig output if you want to create/read k8s resources via [kubernetes terraform provider](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs) - - ``` diff --git a/examples/kyma-on-btp-new-sa/main.tf b/examples/kyma-on-btp-new-sa/main.tf index 6faf0c7..5683dc4 100644 --- a/examples/kyma-on-btp-new-sa/main.tf +++ b/examples/kyma-on-btp-new-sa/main.tf @@ -3,9 +3,6 @@ terraform { btp = { source = "SAP/btp" } - jq = { - source = "massdriver-cloud/jq" - } http = { source = "hashicorp/http" } @@ -20,7 +17,6 @@ terraform { } -provider "jq" {} provider "http" {} provider "http-full" {} diff --git a/examples/kyma-on-btp-reuse-sa/main.tf b/examples/kyma-on-btp-reuse-sa/main.tf index cf75d13..e921e9c 100644 --- a/examples/kyma-on-btp-reuse-sa/main.tf +++ b/examples/kyma-on-btp-reuse-sa/main.tf @@ -3,9 +3,6 @@ terraform { btp = { source = "SAP/btp" } - jq = { - source = "massdriver-cloud/jq" - } http = { source = "hashicorp/http" } @@ -16,7 +13,6 @@ terraform { } -provider "jq" {} provider "http" {} provider "http-full" {} diff --git a/examples/kyma-on-btp-with-custom-oidc/main.tf b/examples/kyma-on-btp-with-custom-oidc/main.tf index 845bc76..b0a83fa 100644 --- a/examples/kyma-on-btp-with-custom-oidc/main.tf +++ b/examples/kyma-on-btp-with-custom-oidc/main.tf @@ -3,9 +3,6 @@ terraform { btp = { source = "SAP/btp" } - jq = { - source = "massdriver-cloud/jq" - } http = { source = "hashicorp/http" } @@ -19,8 +16,6 @@ terraform { } } - -provider "jq" {} provider "http" {} provider "http-full" {} diff --git a/provider.tf b/provider.tf index 0b9b8e9..0bd7b8d 100644 --- a/provider.tf +++ b/provider.tf @@ -4,9 +4,6 @@ terraform { source = "SAP/btp" version = ">= 1.6.0" } - jq = { - source = "massdriver-cloud/jq" - } http = { source = "hashicorp/http" version = ">= 3.4.5"