Skip to content
Snippets Groups Projects
Commit 03418e2e authored by Ryan Jones's avatar Ryan Jones
Browse files

updated README to reflect making and sourcing credential file

parent 6dabf028
No related branches found
No related tags found
1 merge request!5Tester
# Terraform Openstack
Right now, this will create:
This will create:
dmznet and dmzsubnet
......@@ -11,6 +11,7 @@ a floating ip address, and an instance coming off of dmznet
clusternet off of dmznet instance
clustersubnet
eill connect instance to ood through ohpc and download software
Make a new directory for Terraform:
......@@ -26,15 +27,25 @@ Unzip the file and make a path to your new directory:
`$cp $HOME/Downloads/terraform_0.6.16_linux_amd64/terraform $TERRAFORM_DIR`
Download RC File from Openstack(V3) and save it in your terraform-first-instance directory.
Create a new application credintial in Openstack:
In Openstack, go to Identity - Application Credentials
Click "Create Application Credential"
Name the credential and add a description(Leave the rest blank. It is important not to add an expiration date.)
Open the credential rc file you have created, and change all OS_ to TF_. This will allow terraform to read and use these values.
Save the credential in your terraform-first-instance directory.
Clone this repo into your terraform-first-instance directory:
`$git clone https://gitlab.rc.uab.edu/rrand11/terraform-openstack.git`
`$git clone --recursive https://gitlab.rc.uab.edu/rrand11/terraform-openstack.git`
Source the rc file and initialize terraform:
Source the credential rc file and initialize terraform:
`$source OPENRCFILENAME`
`$source CREDENTIALRCFILENAME`
`$cd terraform-openstack`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment