Add module related to Route53
This commit is contained in:
9
modules/route53/main.tf
Normal file
9
modules/route53/main.tf
Normal 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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user