Skip to content

Commit c9bcf61

Browse files
committed
chore: with predifiend backend
1 parent 790cb06 commit c9bcf61

File tree

2 files changed

+124
-0
lines changed

2 files changed

+124
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
output "btp_subaccount_id" {
2+
value = "initial state creation"
3+
}
4+
5+
output "btp_subaccount_region" {
6+
value = "initial state creation"
7+
}
8+
9+
output "btp_subaccount_name" {
10+
value = "initial state creation"
11+
}
12+
13+
output "btp_subaccount_login_link" {
14+
value = "initial state creation"
15+
}
16+
17+
output "entitlements" {
18+
description = "Map of entitlements created for this subaccount"
19+
value = "initial state creation"
20+
}
21+
22+
output "subscriptions" {
23+
description = "Map of application subscriptions created in this subaccount"
24+
value = "initial state creation"
25+
}
26+
27+
output "cloudfoundry_instance_id" {
28+
description = "ID of the Cloud Foundry environment instance (if created)"
29+
value = "initial state creation"
30+
}
31+
32+
output "cloudfoundry_instance_state" {
33+
description = "State of the Cloud Foundry environment instance (if created)"
34+
value = "initial state creation"
35+
}
36+
37+
output "trust_configuration_origin" {
38+
description = "Origin key of the configured trust configuration (if configured)"
39+
value = "initial state creation"
40+
}
41+
42+
output "cloudfoundry_services" {
43+
description = "Map of Cloud Foundry service instances created in this subaccount"
44+
value = "initial state creation"
45+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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

Comments
 (0)