Skip to content

tkaburagi/consul-terraform-sync-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo for consul-terraform-sync

setup

git clone https://github.com/tkaburagi/consul-terraform-sync-demo
cd tf-code/infra
terraform init
terraform plan
terraform apply
  • Copy CONSUL ADDR, BIG IP ADDR and BIG IP PASSWORD from output
cd ../..
./replacer <CONSULADDR BIGIPADDR PASSWORD>
cat config.hcl
consul-terraform-sync -config-file config.hcl

demo

  • After Running CTS, check the terraform will run for syncing between Consul and F5 BIG IP
  • See the sync-task directroy is created. The tf-code and variables will be generated under the sync-task.
  • Access to http://BIGIPADDR:8080 for confirming load balancing.
  • Scale out/in AWS Autoscaling group and see the CTS log. It will sync the env automatically!!
  • tfstate will be store at Consul kv.

refer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published