4 ms·
We ran into similar issues. From there I went one step further and wrote a tool to do the attachments for me (instead of using Terraform's aws_volume_attachment
by sevagh 9y ago
We ran into similar issues. From there I went one step further and wrote a tool to do the attachments for me (instead of using Terraform's aws_volume_attachment):
https://github.com/sevagh/goat https://github.com/sevagh/goat
This way in Terraform I provision a group of volumes, a group of instances, and rely on `goat` to do the rest.
- kalmar 9y agoThat's pretty cool. So is the model that you don't manage the volumes in TF at all? (Btw I think I know people you know... also in Montreal and I know a couple folks at AdGear!)
- sevagh 9y agoThat's cool, I'll ask my coworkers. And yes this way I keep EBS and the rest of my recipes as far away as possible. Something like: ``` kafka-volumes/ <ebs volumes> terraform.tfstate kafka/ (use local backend ../kafka-volumes/terraform.tfstate) <ec2 instances> ```