14 lines
403 B
Markdown
14 lines
403 B
Markdown
# delete-default-vpc module
|
|
This terraform module calls awscli to delete default vpc in specified region.
|
|
|
|
## Example of root module
|
|
```terraform
|
|
data "aws_regions" "current" {}
|
|
|
|
module delete-default-vpc {
|
|
source = "git::https://xpk.headdesk.me/git/xpk/terraform.aws-baseline-infra//modules/networking/delete-default-vpcs"
|
|
for_each = data.aws_regions.current.names
|
|
region-name = each.value
|
|
}
|
|
```
|