To start the installation you first need a working Terraform instalation on your PC.
Start the installation with creating an .env file in the working directory with the following input:
export TF_VAR_TENANTID=<OpenStackProjectID>
export TF_VAR_USERNAME=<UATUsername>
export TF_VAR_PASSWORD=<UATPassword>
export TF_VAR_STACKIT_PROJECT_ID=<STACKITProjectID>
export TF_VAR_STACKIT_SERVICE_ACCOUNT_TOKEN=<STACKITServiceAccountToken>Please grather the required information from the Infrastructure API and Service Account tab in the STACKIT Portal. To create and use a service account please take a look at the docs
- Initialize the
.envvariablessource .env - Configure the iCAS Settings
json - Configure the Deployment parameters (VM type, disk size, availability zone, ...) in the
02-config.tffile - Execure the script
terraform apply