Skip to content

Configure org and space per job/task #63

Description

@shyamz-22

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions