Terraform: AWS deployment to random availability zones

A common scenario: there’s a new deployment you would like to roll out to AWS. Let’s say you pick “us-east-1” as your cloud region. There are multiple availability zones within it: us-east-1a us-east-1b us-east-1c us-east-1d us-east-1e us-east-1f Suppose you want to pick two of them for your service/app, and you don’t particularly care about which one. How to proceed? ...

May 21, 2024 · 240 words · Thiago Perrotta