Skip to content

Commit f746b86

Browse files
authored
docs: fix refernce to documentation (#361)
Co-authored-by: Christian Lechner <[email protected]>
1 parent 071191f commit f746b86

File tree

1 file changed

+2
-2
lines changed
  • released/dsag/betriebstag2024/exercises/EXERCISE4

1 file changed

+2
-2
lines changed

released/dsag/betriebstag2024/exercises/EXERCISE4/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ resource "btp_subaccount_entitlement" "entitlements" {
8888
}
8989
```
9090

91-
We iterate through the list of entitlements and create a resource for each entitlement. We use the `for_each` meta-argument to achieve this. The `for_each` argument works on a map, so we must transform our list of entitlements into a map leveraging Terraform's automatic type conversion via the [`for` expression](https://developer.hashicorp.com/terraform/language/expressions/for#result-types) for setting up the map. As for the subaccount administrators we access the value of the current iteration via `each.value` and reference the corresponding attributes of the object. The `subaccount_id` is set to the id of the subaccount we created in the previous exercise. Save the changes.
91+
We iterate through the list of entitlements and create a resource for each entitlement. We use the[`for_each` meta-argument](https://developer.hashicorp.com/terraform/language/meta-arguments/for_each) to achieve this. The `for_each` argument works on a map, so we must transform our list of entitlements into a map leveraging Terraform's automatic type conversion via the [`for` expression](https://developer.hashicorp.com/terraform/language/expressions/for#result-types) for setting up the map. As for the subaccount administrators we access the value of the current iteration via `each.value` and reference the corresponding attributes of the object. The `subaccount_id` is set to the id of the subaccount we created in the previous exercise. Save the changes.
9292

9393
## Step 4: Apply the changes
9494

@@ -121,6 +121,6 @@ You can also check that everything is in place via the SAP BTP cockpit. You shou
121121

122122
## Summary
123123

124-
You've now successfully entitled services and applications to the subaccount.
124+
You've now successfully entitled services and applications to the subaccount.
125125
126126
Continue to - [Exercise 5 - Create service instances and app subscriptions](../EXERCISE5/README.md).

0 commit comments

Comments
 (0)