Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 2708

For questions about Terraform, an open source tool to maintain infrastructure.

17 votes
5 answers
19k views

Terraform: Is there a concise syntax for specifying multiple tags for a resource?

To attach multiple tags to a resource, I currently use multiple tag blocks: resource "aws_autoscaling_group" "instance" { ... tag { key = "Name" value = "${ …
Philipp Claßen's user avatar
7 votes
2 answers
2k views

How to add shards to a Redis cluster managed by Terraform without loosing all state?

I have set up a Redis cluster with Terraform. … I tried to run terraform refresh, but it does succeed in fully synchronizing the state. terraform apply still believes the resource has to be changed. …
Philipp Claßen's user avatar
13 votes
1 answer
2k views

How to support releasing new versions of the code, running in parallel with the last stable ...

So, if a new release is rolled out, there would be three different Terraform states: Terraform setup for the ELB Terraform setup for the old release (more specifically, its auto-scaling group) Terraform … I read that you can export resources in Terraform. …
Philipp Claßen's user avatar