Metadata-Version: 2.1
Name: go-deploy
Version: 0.4.0
Summary: Provision using terraform and ansible
Home-page: https://github.com/geneontology/devops-deployment-scripts.git
Author: Abdelilah Essiari
Author-email: aessiari@lbl.gov
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# Requirements
   - terraform v1.1.4+
   - ansible 2.10.7+
   - python3 3.8+

# Purpose

Provisions an instance on using terraform and calls ansible playbooks specified in 
the yaml config file. See `config.yaml.sample`, the `aws` directory for sample terraform 
script and `stage.yaml` for sample ansible playbook. 

```
python3 -m pip install . 
cp ./config.yaml.sample config.yaml   # Modify as needed ssh keys, ...

# Usage
go-deploy -h

# Dry run
go-deploy -init -c config.yml -w workspace -d aws -dry-run -verbose

# Deploy 
go-deploy -init -c config.yml -w workspace -d aws -verbose

# Tear Dow
terraform -chdir=aws destroy    # Enter yes when prompted.
```
