-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
54 lines (46 loc) · 1.27 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# Project:: Terraform Module - static-site
#
# Copyright 2021, Route 1337, LLC, All Rights Reserved.
#
# Maintainers:
# - Matthew Ahrenstein: [email protected]
#
# See LICENSE
#
locals {
base_tags = {
"Module" = "true"
}
tags = merge(local.base_tags, var.tags)
}
variable "friendly_name" {
type = string
description = "REQUIRED: A name that does not contain characters that are invalid in AWS resource names like IAM users"
}
variable "dns_name" {
type = string
description = "REQUIRED: The DNS name of the site (Do not add \"www\".)"
}
variable "zone_id" {
type = string
description = "REQUIRED: Route53 Zone ID of the zone the site will use for deployment"
}
variable "iam_group" {
type = string
description = "REQUIRED: Name of an IAM group to grant CI/CD access to"
}
variable "tags" {
type = map(string)
description = "REQUIRED: You should have a group of tags such as \"CostTracking\""
}
variable "enable_auth" {
type = bool
description = "OPTIONAL: Enable authentication via a Lambda@Edge function"
default = false
}
variable "auth_lambda" {
type = string
description = "REQUIRED with enable_auth: The Qualified ARN of a Lambda@Edge function to use for basic auth"
default = ""
}