diff --git a/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE1/README.md b/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE1/README.md index 37730944..0a20a6c3 100644 --- a/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE1/README.md +++ b/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE1/README.md @@ -27,7 +27,7 @@ terraform { required_providers { btp = { source = "sap/btp" - version = "~> 1.8.0" + version = "~> 1.9.0" } } } diff --git a/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE4/README.md b/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE4/README.md index a608fa81..bce070ac 100644 --- a/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE4/README.md +++ b/released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE4/README.md @@ -77,7 +77,29 @@ output "cloudfoundry_org_name" { description = "The name of the cloudfoundry org connected to the project account." } ``` -### Step 4: Apply the changes + +### Step 4: Adjust the provider configuration + +As we are using an additional provider we must make Terraform aware of this in the `provider.tf` file. Open the `provider.tf` file and add the following code to the `required_provider` block: + +```terraform +cloudfoundry = { + source = "cloudfoundry/cloudfoundry" + version = "1.2.0" + } +``` + +To configure the Cloud Foundry provider add the following lines at the end of the file: + +```terraform +provider "cloudfoundry" { + api_url = "https://api.cf.${var.region}-001.hana.ondemand.com" +} +``` + +Save your changes. + +### Step 5: Apply the changes 1. Plan the Terraform configuration to see what will be created: diff --git a/released/SAP-Inside-Tracks/SITBLR_DEC_2024/solution/provider.tf b/released/SAP-Inside-Tracks/SITBLR_DEC_2024/solution/provider.tf index f4b7151a..992aa2b9 100644 --- a/released/SAP-Inside-Tracks/SITBLR_DEC_2024/solution/provider.tf +++ b/released/SAP-Inside-Tracks/SITBLR_DEC_2024/solution/provider.tf @@ -2,11 +2,11 @@ terraform { required_providers { btp = { source = "sap/btp" - version = "~> 1.8.0" + version = "~> 1.9.0" } cloudfoundry = { source = "cloudfoundry/cloudfoundry" - version = "~> 1.1.0" + version = "~> 1.2.0" } } }