Skip to content

orange-cloudfoundry/terraform-release

 
 

Repository files navigation

BOSH Release for terraform

Usage

To use this bosh release, first upload it to your bosh:

bosh target BOSH_HOST
git clone https://github.com/cloudfoundry-community/terraform-boshrelease.git
cd terraform-boshrelease
bosh upload release releases/terraform-1.yml

For bosh-lite, you can quickly create a deployment manifest & deploy a cluster:

templates/make_manifest warden
bosh -n deploy

For AWS EC2, create a single VM:

templates/make_manifest aws-ec2
bosh -n deploy

Override security groups

For AWS & Openstack, the default deployment assumes there is a default security group. If you wish to use a different security group(s) then you can pass in additional configuration when running make_manifest above.

Create a file my-networking.yml:

---
networks:
  - name: terraform1
    type: dynamic
    cloud_properties:
      security_groups:
        - terraform

Where - terraform means you wish to use an existing security group called terraform.

You now suffix this file path to the make_manifest command:

templates/make_manifest openstack-nova my-networking.yml
bosh -n deploy

Development

As a developer of this release, create new releases and upload them:

bosh create release --force && bosh -n upload release

Final releases

To share final releases:

bosh create release --final

By default the version number will be bumped to the next major number. You can specify alternate versions:

bosh create release --final --version 2.1

After the first release you need to contact Dmitriy Kalinin to request your project is added to https://bosh.io/releases (as mentioned in README above).

About

Terraform bosh release. enables terraform automation from bosh

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 90.9%
  • HCL 4.7%
  • Ruby 3.2%
  • HTML 1.2%