Is automation of Cloud Foundry setup for a new global account not possible? #228
-
My goal with this tool was to be able to automate the configuration of new global accounts (we are an SAP partner who hosts our application on BTP for our customers). I have tried the default usecase and it creates services/subscriptions fine and it creates global/subaccount users fine. It leaves me with an org with one member and a space with one member (my ID). Any cf commands trying to set org or space members end up looking like this if I run them separate from the btpsa script:
This SAP documentation seems to say that I won't be able to automate the setup of the CF org and space because I don't want to create the user in the cockpit and won't be able to have users log in with cf login before setting up the org/space. Is my understanding correct? I am using the parameters.json file in the docker container root. Should I expect to see [email protected] as a member of the space with SpaceManager or will the script only work if those are just placeholders that get replaced with real users? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @dxs-dbest, This discussion (link) might also give you helpful insights. Let me know if this is what you are looking for. |
Beta Was this translation helpful? Give feedback.
Hi @dxs-dbest,
I think you should be able to achieve that. If I understand you correctly one fitting example is the use case file cap_app_launchpad.json. where several roles are assigned e. g. an org admin.
You need to define the corresponding user and groups in the
parameters.json
file in themyusergroups
section. The default file gives you an idea how this should like like.This discussion (link) might also give you helpful insights.
Let me know if this is what you are looking for.