News for hackers. Stuff that matters.
Re:Terraform 0.9 by jon-wood on Saturday March 18, 2017 @06:55AM (#13900756)
Personally I'd build a single AMI with a startup script that extracts any configuration for things like which partition group the instance is in from user data (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-insta...)
Re:Terraform 0.9 by arjie on Saturday March 18, 2017 @07:44AM (#13900859)
Thank you. It seems to me like you'd need variation in your Terraform file to specify that. How do you do that? The DSL doesn't have control structures.
Re:Terraform 0.9 by arjie on Saturday March 18, 2017 @10:06AM (#13901296)
I should have looked at this more carefully. You can use `element` and `count.index` to walk across a list of things.