--- <% ['region', 'project_id', 'zone', 'ssh_key_path'].each do |val| if @values['gcp'][val].to_s.empty? raise "Missing value: #{val}" end end region = @values['gcp']['region'] project_id = @values['gcp']['project_id'] zone = @values['gcp']['zone'] ssh_key_path = @values['gcp']['ssh_key_path'] %> name: bosh releases: - name: bosh url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=260.1 sha1: 7fb8e99e28b67df6604e97ef061c5425460518d3 - name: bosh-google-cpi url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-google-cpi-release?v=25.6.2 sha1: b4865397d867655fdcc112bc5a7f9a5025cdf311 resource_pools: - name: vms network: private stemcell: url: https://bosh.io/d/stemcells/bosh-google-kvm-ubuntu-trusty-go_agent?v=3312.12 sha1: 3a2c407be6c1b3d04bb292ceb5007159100c85d7 cloud_properties: zone: <%=zone %> machine_type: n1-standard-4 root_disk_size_gb: 40 root_disk_type: pd-standard service_scopes: - compute - devstorage.full_control disk_pools: - name: disks disk_size: 32_768 cloud_properties: type: pd-standard networks: - name: vip type: vip - name: private type: manual subnets: - range: 10.0.0.0/29 gateway: 10.0.0.1 static: [10.0.0.3-10.0.0.7] cloud_properties: network_name: bosh subnetwork_name: bosh-<%=region %> ephemeral_external_ip: true tags: - bosh-internal jobs: - name: bosh instances: 1 templates: - name: nats release: bosh - name: postgres release: bosh - name: powerdns release: bosh - name: blobstore release: bosh - name: director release: bosh - name: health_monitor release: bosh - name: google_cpi release: bosh-google-cpi resource_pool: vms persistent_disk_pool: disks networks: - name: private static_ips: [10.0.0.6] default: - dns - gateway properties: nats: address: 127.0.0.1 user: nats password: nats-password postgres: &db listen_address: 127.0.0.1 host: 127.0.0.1 user: postgres password: postgres-password database: bosh adapter: postgres dns: address: 10.0.0.6 domain_name: microbosh db: *db recursor: 169.254.169.254 blobstore: address: 10.0.0.6 port: 25250 provider: dav director: user: director password: director-password agent: user: agent password: agent-password director: address: 127.0.0.1 name: micro-google db: *db cpi_job: google_cpi user_management: provider: local local: users: - name: admin password: admin - name: hm password: hm-password hm: director_account: user: hm password: hm-password resurrector_enabled: true google: &google_properties project: <%=project_id %> agent: mbus: nats://nats:nats-password@10.0.0.6:4222 ntp: *ntp blobstore: options: endpoint: http://10.0.0.6:25250 user: agent password: agent-password ntp: &ntp - 169.254.169.254 cloud_provider: template: name: google_cpi release: bosh-google-cpi ssh_tunnel: host: 10.0.0.6 port: 22 user: bosh private_key: <%=ssh_key_path %> mbus: https://mbus:mbus-password@10.0.0.6:6868 properties: google: *google_properties agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"} blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache} ntp: *ntp