terraform.aws-baseline-infra/modules/networking/delete-default-vpcs/main.tf

8 lines
226 B
HCL

data aws_regions all-aws-regions {}
resource "null_resource" "shell" {
for_each = data.aws_regions.all-aws-regions.names
provisioner "local-exec" {
command = "/bin/bash -c '${path.module}/exec.sh ${each.value}'"
}
}