TF_VAR_slave_size - (Optional) This is the size of image we want to use. TF_VAR_secret_key - This is the AWS secret key TF_VAR_access_key - This is the Access Key ID for AWS Valid providers are ‘vagrant’, ‘digitalocean’, ‘gce’, ‘aws’ (private VPC). Lets just step through and explain what each of these variables do -ĪPOLLO_PROVIDER - This notifies the bootstrap scripts that we want to deploy on to AWS public cloud. To create the file containing the environment variables vi aws-public.env and the contents of this file should look similar to this - export APOLLO_PROVIDER =aws-publicĮxport TF_VAR_access_key = $AWS_ACCESS_KEY_ID export TF_VAR_secret_key = $AWS_SECRET_ACCESS_KEY export TF_VAR_slave_size =c3.largeĮxport TF_VAR_key_file =~/.ssh/id_rsa_aws.pubĮxport ATLAS_INFRASTRUCTURE =capgemini/apollo-aws-public Usually I like to keep a little script that i can source to bring those into my current shell environment, but its up to you, you can simply export the variables on the command-line if you wish. Next, we need to set some environment variables in our shell. Pip install -r requirements.txt Set some configuration variables To start, lets clone the repo and install some dependencies - git clone
0 Comments
Leave a Reply. |