Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Fix vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bushong1 committed Dec 21, 2023
1 parent 6d80b18 commit e16c976
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
## Requirements

No requirements.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.61.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.61.0 |

## Modules

Expand Down
10 changes: 10 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.61.0"
}
}
required_version = ">= 1.2"
}

# Extract existing data from AWS
data "aws_route53_zone" "cms_zone" {
name = var.hosted_zone_dns
Expand Down
2 changes: 2 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
variable "hosted_zone_dns" {
description = "base domain associated with the private hosted zone for this account"
default = ""
type = string
}

variable "endpoint_subdomain_map" {
Expand All @@ -10,4 +11,5 @@ variable "endpoint_subdomain_map" {

variable "ttl" {
default = "60"
type = string
}

0 comments on commit e16c976

Please sign in to comment.