Add module related to Route53

This commit is contained in:
2023-01-08 00:38:48 +09:00
parent 9a60aa0f34
commit b325a26985
17 changed files with 42 additions and 47 deletions

9
modules/route53/main.tf Normal file
View File

@ -0,0 +1,9 @@
resource "aws_route53_zone" "primary" {
name = var.name
//public 이면 vpc 불필요
count = var.public ? 0 : 1
vpc {
vpc_id = var.vpc_id
}
}