Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 855 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 855 Bytes

deploy-script

Simple IaC(Ansible && Terraform) Code that makes simple EC2 and it adds record forward to EC2 made before as proxied mode.

Terraform

terraform $ terraform apply

graph dot

Ansible

ansible/playbooks $ $ ansible-playbook -i inventory/ deploy.yaml

automation

Cation

This terraform code for cloudflare generates record as proxied mode, so I recommend you to download and use your origin signed certificates(that only can be used between cloudflare point and origin). If you downlaod your origin certificates, you can upload your key under ansible/playbooks/roles/nginx/files/.

Have a nice deployment. :)