cf-cli-resource icon indicating copy to clipboard operation
cf-cli-resource copied to clipboard

Configure org and space per job/task

Open shyamz-22 opened this issue 6 years ago • 0 comments

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: "{}"

shyamz-22 avatar May 09 '19 09:05 shyamz-22