Created
April 16, 2019 19:33
-
-
Save downspot/c6f5686255465d1507e2bff30214cd28 to your computer and use it in GitHub Desktop.
terraform bad subnet removal hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"${element(split(",", replace(replace(replace(replace(join(",", data.aws_subnet_ids.private.ids), "/subnet-ca201abd,/", ""), "/subnet-fc0870c1,/", ""), "/subnet-6630da5b/", ""), "/subnet-3f35c402,/", "")), count.index)}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment