Update readme

This commit is contained in:
Daniel_Groß 2025-09-05 08:07:26 +02:00
parent a2aca5e24a
commit bafd9ab432
Signed by: daniel.gross
SSH key fingerprint: SHA256:tyyj1WVL1JmKHP6+jZjOtTzMj9U13qRk7jUcGI/zkRQ

View file

@ -57,11 +57,13 @@ Please refer to official STACKIT [documentation](https://docs.stackit.cloud/stac
### Prerequisites ### Prerequisites
As for now, the Cloud Foundry organization and the Stage you deploy into have to be created beforehand. As for now, the Cloud Foundry organization and the Stage you deploy into have to be created beforehand.
Create service account: see the [docs](https://docs.stackit.cloud/stackit/en/how-to-create-cloud-foundry-service-accounts-67772133.html#HowtoCreateCloudFoundryServiceAccounts-StepBySteptotheServiceAccount). In order to create Cloud Foundry resources automatically, you will need a service account and service key. Please refer to the [docs](https://docs.stackit.cloud/stackit/en/how-to-create-cloud-foundry-service-accounts-67772133.html#HowtoCreateCloudFoundryServiceAccounts-StepBySteptotheServiceAccount).
* `cf create-service space-scoped-service-account space-deployer test-tf` ### Deployment
* `cf create-service-key <SERVICE_ACCOUNT_NAME> <SERVICE_KEY_NAME>`
* retrieve credentials: `cf service-key <SERVICE_ACCOUNT_NAME> <SERVICE_KEY_NAME>` Change to the `terraform` directory.
Create a `.tfvars` file and insert the required terraform variables, see [variables.tf](./terraform/variables.tf).
Call `terraform apply --var-file=<PATH-TO-TFVARS-FILE>`.