File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
released/cicd/setup_subaccount_cf Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 2
2
# Generating random ID for subdomain
3
3
# ##############################################################################################
4
4
resource "random_uuid" "uuid" {}
5
+
5
6
# ##############################################################################################
6
7
# Creation of subaccount
7
8
# ##############################################################################################
8
9
resource "btp_subaccount" "project" {
9
10
name = var. subaccount_name
10
11
subdomain = " btp-gp${ random_uuid . uuid . result } "
11
12
region = lower (var. region )
13
+ labels = {
14
+ " scenario" = [" automated-test-pipeline" ]
15
+ " timestamp" = [" ${ formatdate (" DD-MMM-YYYY|hh-mm" , timestamp ())} " ]
16
+ }
12
17
}
13
18
data "btp_whoami" "me" {}
14
19
You can’t perform that action at this time.
0 commit comments