Skip to content

Commit

Permalink
feature #4 - update zone host
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeniosales committed Oct 16, 2022
1 parent eb86107 commit 4d4bedd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ terraform {
provider "aws" {
region = "us-east-1"
}

variable "route53_zone_host" {
type = string
description = "Route53 Zone Host"
}

data "aws_route53_zone" "selected" {
name = var.route53_zone_host
private_zone = true
}
10 changes: 0 additions & 10 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,3 @@ variable "aws_profile" {
description = "AWS Profile"
default = null
}

variable "route53_zone_host" {
type = string
description = "Route53 Zone Host"
}

data "aws_route53_zone" "selected" {
name = var.route53_zone_host
private_zone = true
}

0 comments on commit 4d4bedd

Please sign in to comment.