-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Administrator
committed
Mar 7, 2024
1 parent
4e91152
commit 35755e4
Showing
3 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
provider "aws" { | ||
region = var.region | ||
} | ||
|
||
module "route53" { | ||
source = "../../modules/route53" | ||
region = var.region | ||
|
||
dns_domain_name = var.dns_domain_name | ||
|
||
name = var.name | ||
environment = var.environment | ||
owner = var.owner | ||
cost_center = var.cost_center | ||
application = var.application | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
output "zone_id" { | ||
description = "The Zone ID of the Hosted Zone" | ||
value = module.route53.zone_id | ||
} | ||
|
||
output "name_servers" { | ||
description = "The list of Name Servers of the Hosted Zone" | ||
value = module.route53.name_servers | ||
} | ||
|
||
output "tags_all" { | ||
description = "The list of Tags associated with the Hosted Zone" | ||
value = module.route53.tags_all | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
variable "region" { | ||
type = string | ||
description = "The AWS region where the Certificate Manager will be used." | ||
} | ||
|
||
variable "tags" { | ||
default = {} | ||
type = map(string) | ||
description = "A map of extra tags to attach to the AWS resources." | ||
} | ||
|
||
variable "name" { | ||
type = string | ||
description = "A user-defined name for the AWS resources." | ||
} | ||
|
||
variable "environment" { | ||
type = string | ||
description = "The name of the environment associated with the AWS resources." | ||
} | ||
|
||
variable "owner" { | ||
type = string | ||
description = "The name of the owner or responsible party for the AWS resources." | ||
} | ||
|
||
variable "cost_center" { | ||
type = string | ||
description = "The identifier for the cost center associated with the AWS resources." | ||
} | ||
|
||
variable "application" { | ||
type = string | ||
description = "The name of the application or project related to the AWS resources." | ||
} | ||
|
||
variable "dns_domain_name" { | ||
type = string | ||
description = "Domain name of the Route 53" | ||
} |