Name: terraforming-openstack
Owner: Pivotal Cloud Foundry
Description: null
Created: 2018-04-30 23:49:43.0
Updated: 2018-05-07 18:19:06.0
Pushed: 2018-05-07 18:19:05.0
Homepage:
null
Size: 25
Language: HCL
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
How Does One Use This?
Please note that the master branch is generally unstable.
If you are looking for something “tested”, please consume one
of our releases.
What Does This Do?
You will get a booted ops-manager VM plus some networking.
Looking to setup a different IAAS?
Prerequisites
You will need terraform
:
update
install terraform
Var File
Copy the stub content below into a file called terraform.tfvars
and put it in the root of this project.
These vars will be used when you run terraform apply
.
You should fill in the stub values with the correct content.
name = ""
ect = ""
name = ""
word = ""
on = ""
""
_url = ""
rnal_network_name = ""
rnal_cidr = ""
manager_image = "/path/to/pcf-openstack-2.1-build.214.raw"
air = ""
= <<KEY
-BEGIN RSA PRIVATE KEY-----
-END RSA PRIVATE KEY-----
Var Details
- env_name: (required) An arbitrary unique name for namespacing resources.
- project: (required) The name of the tenant (Identity v2) or project (Identity v3) to login with.
- username: (required) The username to login with.
- password: (required) The password to login with.
- region: (required) The region of the OpenStack cloud to use.
- auth_url: (required) The identity authentication url.
- domain: (optional) The name of the domain to scope to (Identity v3). Defaults to
default
.
- external_network_name: (required) The name of the external network.
- internal_cidr: (required) CIDR representing the IP range for the subnet.
- flavor_name: (optional) The name of the desired flavor for the Ops Manager instance. Defaults to
m1.large
.
- ops_manager_image: (required) The local file path to the raw image to boot the Ops Manager instance.
- key: (required) The contents of the client private key file for SSL client authentication.
- keypair: (required) The name of an existing key pair to put on the Ops Manager instance.
- optional_ops_manager: (optional) Set to 1 to deploy a second Ops Manager instance. Defaults to 0.
Running
Note: please make sure you have created the terraform.tfvars
file above as mentioned.
Standing up environment
aform init
aform plan -out=plan
aform apply plan
Tearing down environment
aform destroy