An output only resource (at the moment) that will upload stemcells and releases and then deploy them.
target
: Optional. The address of the BOSH director which will be used for the deployment. If omitted,target_file
must be specified viaout
parameters, as documented below.username
: Required. The username for the BOSH director.password
: Required. The password for the BOSH director.deployment
: Required. The name of the deployment.
- name: staging
type: bosh-deployment
source:
target: https://bosh.example.com:25555
username: admin
password: admin
deployment: staging-deployment-name
- put: staging
params:
manifest: path/to/manifest.yml
stemcells:
- path/to/stemcells-*.tgz
- other/path/to/stemcells-*.tgz
releases:
- path/to/releases-*.tgz
- other/path/to/releases-*.tgz
This will upload any given stemcells and releases, lock them down in the deployment manifest and then deploy.
If the manifest does not specify a director_uuid
, it will be filled in with
the UUID returned by the targeted director.
-
manifest
: Required. Path to a BOSH deployment manifest file. -
stemcells
: Required. An array of globs that should point to where the stemcells used in the deployment can be found. -
releases
: Required. An array of globs that should point to where the releases used in the deployment can be found. -
target_file
: Optional. Path to a file containing a BOSH director address. This allows the target to be determined at runtime, e.g. by acquiring a BOSH lite instance using the Pool resource.If both
target_file
andtarget
are specified,target_file
takes precedence.