terraform.aws-baseline-infra/modules/networking/delete-default-vpcs/README.md
2022-08-15 14:43:13 +08:00

325 B

delete-default-vpc module

This terraform module calls awscli to delete default vpc in specified region.

Example of root module

data "aws_regions" "current" {}

module delete-default-vpc {
  source = "./module/delete-default-vpc"
  for_each = data.aws_regions.current.names
  region-name = each.value
}