Skip to content

Commit af52c9e

Browse files
authored
Merge branch 'main' into main
2 parents beca565 + 8d0f969 commit af52c9e

File tree

16 files changed

+26
-62
lines changed

16 files changed

+26
-62
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"vscode": {
1111
"settings": {},
1212
"extensions": [
13-
"HashiCorp.terraform"
13+
"HashiCorp.terraform",
14+
"Github.copilot"
1415
]
1516
},
1617
"codespaces": {}
@@ -21,4 +22,4 @@
2122
// If you want to use SSO please install xdg-utils in the container
2223
//"postCreateCommand": "bash ./.devcontainer/scripts/install-xdg.sh",
2324
"remoteUser": "vscode"
24-
}
25+
}

.devcontainer/withenvfile/devcontainer.json

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,16 @@
44
// Features to add to the dev container. More info: https://containers.dev/features.
55
"features": {
66
"ghcr.io/devcontainers/features/terraform:1": {},
7-
"ghcr.io/devcontainers/features/github-cli:1": {},
8-
"ghcr.io/devcontainers/features/python:1": {},
9-
"ghcr.io/devcontainers/features/go:1": {}
7+
"ghcr.io/devcontainers/features/github-cli:1": {}
108
},
119
"customizations": {
1210
"vscode": {
1311
"extensions": [
14-
"ms-python.vscode-pylance",
15-
"ms-python.python",
16-
"charliermarsh.ruff",
1712
"Github.copilot",
1813
"HashiCorp.terraform"
1914
],
2015
// Set *default* container specific settings.json values on container create.
21-
"settings": {
22-
"python.defaultInterpreterPath": "/usr/local/bin/python",
23-
"python.linting.enabled": true,
24-
"python.testing.unittestEnabled": false,
25-
"python.testing.pytestEnabled": true,
26-
"[python]": {
27-
"editor.formatOnSave": true,
28-
"editor.codeActionsOnSave": {
29-
"source.fixAll": "always"
30-
}
31-
},
32-
"python.formatting.provider": "black"
33-
}
16+
"settings": {}
3417
},
3518
"codespaces": {}
3619
},
@@ -49,5 +32,4 @@
4932
".devcontainer/devcontainer.env"
5033
],
5134
"postStartCommand": "go install github.com/hashicorp/terraform-config-inspect@latest"
52-
53-
}
35+
}

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

Lines changed: 2 additions & 2 deletions
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.5.0"
30+
version = "~> 1.8.0"
3131
}
3232
}
3333
}
@@ -63,6 +63,6 @@ globalaccount = "<YOUR GLOBAL ACCOUNT SUBDOMAIN>"
6363
6464
## Summary
6565

66-
You've now created a basic setup of the Terraform provider including its configuration.
66+
You've now created a basic setup of the Terraform provider including its configuration.
6767

6868
Continue to - [Exercise 2 - Setup of a subaccount](../EXERCISE2/README.md).

released/dsag/betriebstag2024/exercises/EXERCISE1/SOLUTION_EX1/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
btp = {
55
source = "sap/btp"
6-
version = "~> 1.5.0"
6+
version = "~> 1.8.0"
77
}
88
}
99

released/dsag/betriebstag2024/exercises/EXERCISE2/SOLUTION_EX2/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
btp = {
55
source = "sap/btp"
6-
version = "~> 1.5.0"
6+
version = "~> 1.8.0"
77
}
88
}
99

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ You can also check that everything is in place via the SAP BTP cockpit. You shou
7676

7777
## Summary
7878

79-
You've now successfully assigned emergency administrators to the subaccount.
79+
You've now successfully assigned emergency administrators to the subaccount.
8080
8181
Continue to - [# Exercise 4 - Assign entitlements to a subaccount](../EXERCISE4/README.md).

released/dsag/betriebstag2024/exercises/EXERCISE3/SOLUTION_EX3/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
btp = {
55
source = "sap/btp"
6-
version = "~> 1.5.0"
6+
version = "~> 1.8.0"
77
}
88
}
99

released/dsag/betriebstag2024/exercises/EXERCISE4/SOLUTION_EX4/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
btp = {
55
source = "sap/btp"
6-
version = "~> 1.5.0"
6+
version = "~> 1.8.0"
77
}
88
}
99

released/dsag/betriebstag2024/exercises/EXERCISE5/SOLUTION_EX5/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
btp = {
55
source = "sap/btp"
6-
version = "~> 1.5.0"
6+
version = "~> 1.8.0"
77
}
88
}
99

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ For this hands-on we will focus on the *second case*.
4444

4545
Terraform offers dedicated commands in order to adjust the state We will use the `terraform plan -refresh-only` and `terraform apply -refresh-only` commands to detect the drift and adjust the state in Terraform to match the actual state in the SAP BTP cockpit.
4646

47-
First we check the drift with `terraform plan` and add the `--refresh-only` flag to trigger the planning mode for [state replacement](https://developer.hashicorp.com/terraform/cli/commands/plan#planning-modes):
47+
First we check the drift with `terraform plan` and add the `-refresh-only` flag to trigger the planning mode for [state replacement](https://developer.hashicorp.com/terraform/cli/commands/plan#planning-modes):
4848

4949
```bash
5050
terraform plan -refresh-only

0 commit comments

Comments
 (0)