Skip to content

jinwoo-kang/devops_examples

 
 

Repository files navigation

Terraform IaC example

Architecture

architecture

CI/CD pipeline

pipeline

Requirements

  • Virtualbox
  • Vagrant

Set for vagrant

copy files, fill in contents

$ cp _provisioning/config.json.sample _provisioning/config.json
$ cp _provisioning/ansible/roles/common_tasks/files/rc.local.sample _provisioning/ansible/roles/common_tasks/files/rc.local
$ cp {rsa_public_key} _provisioning/ansible/roles/ssh/files/rsa/id_rsa.pub
$ cp _provisioning/ansible/roles/ssh/files/ssh/sshd_config.sample _provisioning/ansible/roles/ssh/files/ssh/sshd_config

Run terraform

initialize

$ terraform init

confirm plan

$ terraform plan

run

$ terraform apply

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 97.1%
  • Ruby 2.9%