When I attempt a BOSH deploy (bosh -d nginx-ntp-xip-aws.yml -n deploy
), I get the following error:
Deploying
---------
Director task 311
Started preparing deployment > Preparing deployment. Done (00:00:01)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating missing vms > nginx_ntp_xip/0 (23ec1c94-f415-4922-9914-42fe5b3f2b38). Failed: Missing properties: resource_pool.availability_zone (00:00:05)
Error 100: Missing properties: resource_pool.availability_zone
The problem was that the
availability_zone
property was missing fromvm_types
section of my BOSH director's cloud-config. Here's myazs
section from my cloud-config:I updated the
vm_types
stanza incloud-config.yml
:I then updated my BOSH director's cloud-config:
My subsequent deploy succeeded: