Open croissanne opened 2 years ago
We have 2 subnets, each with a max of 64 ipv4s. Can we use https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/integer (min 0, max 1) to switch between internal subnet ids https://github.com/osbuild/gitlab-ci-terraform/blob/main/aws/_base/data.tf#L20 ?
Even better, it would be sweet if we can detect which subnet is emptier. I think that should be totally possible in terraform.
We have 2 subnets, each with a max of 64 ipv4s. Can we use https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/integer (min 0, max 1) to switch between internal subnet ids https://github.com/osbuild/gitlab-ci-terraform/blob/main/aws/_base/data.tf#L20 ?