cf-cli-resource
cf-cli-resource copied to clipboard
Configure org and space per job/task
Configuring org and space is possible in the source configuration and in the commands.
Wouldn't it make sense to have it in the put params? So all commands would be executed in the same space.
This gives an error that org and space are not defined:
jobs:
- name: create-services
plan:
- put: databases
resource: cf-env
params:
org: my_org
space: my_space
commands:
- command: create-user-provided-service
service_instance: cool-db
credentials: "{}"
- command: create-user-provided-service
service_instance: even-cooler-db
credentials: "{}"