|
| 1 | +variable "globalaccount" { |
| 2 | + type = string |
| 3 | + description = "The subdomain of the global account in which you want to manage resources." |
| 4 | +} |
| 5 | + |
| 6 | +variable "region" { |
| 7 | + type = string |
| 8 | + default = "eu10" |
| 9 | + description = "The region of the subaccount." |
| 10 | +} |
| 11 | + |
| 12 | +variable "project_identifier" { |
| 13 | + type = string |
| 14 | + description = "The meshStack project identifier." |
| 15 | +} |
| 16 | + |
| 17 | +variable "subfolder" { |
| 18 | + type = string |
| 19 | + default = "" |
| 20 | + description = "The subfolder to use for the SAP BTP resources. This is used to create a folder structure in the SAP BTP cockpit." |
| 21 | +} |
| 22 | + |
| 23 | +variable "users" { |
| 24 | + type = list(object( |
| 25 | + { |
| 26 | + meshIdentifier = string |
| 27 | + username = string |
| 28 | + firstName = string |
| 29 | + lastName = string |
| 30 | + email = string |
| 31 | + euid = string |
| 32 | + roles = list(string) |
| 33 | + } |
| 34 | + )) |
| 35 | + description = "Users and their roles provided by meshStack" |
| 36 | + default = [] |
| 37 | +} |
| 38 | + |
| 39 | +variable "entitlements" { |
| 40 | + type = string |
| 41 | + default = "" |
| 42 | + description = "Comma-separated list of service entitlements in format: service.plan (e.g., 'postgresql-db.trial,destination.lite,xsuaa.application')" |
| 43 | +} |
| 44 | + |
| 45 | +variable "subscriptions" { |
| 46 | + type = string |
| 47 | + default = "" |
| 48 | + description = "Comma-separated list of application subscriptions in format: app.plan (e.g., 'build-workzone.standard,integrationsuite.enterprise_agreement')" |
| 49 | +} |
| 50 | + |
| 51 | +variable "enable_cloudfoundry" { |
| 52 | + type = bool |
| 53 | + default = false |
| 54 | + description = "Enable Cloud Foundry environment in the subaccount" |
| 55 | +} |
| 56 | + |
| 57 | +variable "cloudfoundry_plan" { |
| 58 | + type = string |
| 59 | + default = "standard" |
| 60 | + description = "Cloud Foundry environment plan (standard or trial)" |
| 61 | +} |
| 62 | + |
| 63 | +variable "cloudfoundry_space_name" { |
| 64 | + type = string |
| 65 | + default = "dev" |
| 66 | + description = "Name for the Cloud Foundry space" |
| 67 | +} |
| 68 | + |
| 69 | +variable "cf_services" { |
| 70 | + type = string |
| 71 | + default = "" |
| 72 | + description = "Comma-separated list of Cloud Foundry service instances in format: service.plan (e.g., 'postgresql.small,destination.lite,redis.medium')" |
| 73 | +} |
| 74 | + |
| 75 | +variable "identity_provider" { |
| 76 | + type = string |
| 77 | + default = "" |
| 78 | + description = "Custom identity provider origin (e.g., mytenant.accounts.ondemand.com). Leave empty to skip trust configuration." |
| 79 | +} |
0 commit comments