Skip to content

Commit 390f116

Browse files
authored
chore: Update provider versions (#387)
1 parent 9acdf9d commit 390f116

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ terraform {
2727
required_providers {
2828
btp = {
2929
source = "sap/btp"
30-
version = "~> 1.8.0"
30+
version = "~> 1.9.0"
3131
}
3232
}
3333
}

released/SAP-Inside-Tracks/SITBLR_DEC_2024/exercises/EXERCISE4/README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,29 @@ output "cloudfoundry_org_name" {
7777
description = "The name of the cloudfoundry org connected to the project account."
7878
}
7979
```
80-
### Step 4: Apply the changes
80+
81+
### Step 4: Adjust the provider configuration
82+
83+
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:
84+
85+
```terraform
86+
cloudfoundry = {
87+
source = "cloudfoundry/cloudfoundry"
88+
version = "1.2.0"
89+
}
90+
```
91+
92+
To configure the Cloud Foundry provider add the following lines at the end of the file:
93+
94+
```terraform
95+
provider "cloudfoundry" {
96+
api_url = "https://api.cf.${var.region}-001.hana.ondemand.com"
97+
}
98+
```
99+
100+
Save your changes.
101+
102+
### Step 5: Apply the changes
81103

82104
1. Plan the Terraform configuration to see what will be created:
83105

released/SAP-Inside-Tracks/SITBLR_DEC_2024/solution/provider.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ terraform {
22
required_providers {
33
btp = {
44
source = "sap/btp"
5-
version = "~> 1.8.0"
5+
version = "~> 1.9.0"
66
}
77
cloudfoundry = {
88
source = "cloudfoundry/cloudfoundry"
9-
version = "~> 1.1.0"
9+
version = "~> 1.2.0"
1010
}
1111
}
1212
}

0 commit comments

Comments
 (0)