Terraform fmt across new modules

This commit is contained in:
Rob Gil 2019-12-18 18:47:02 -05:00
parent 6d64665474
commit 0925c73c68
5 changed files with 40 additions and 40 deletions

View File

@ -19,13 +19,13 @@ variable "owner" {
}
variable "sku" {
type = string
description = "SKU of which CDN to use"
default = "Standard_Verizon"
type = string
description = "SKU of which CDN to use"
default = "Standard_Verizon"
}
variable "origin_host_name" {
type = string
description = "Subdomain to use for the origin in requests to the CDN"
type = string
description = "Subdomain to use for the origin in requests to the CDN"
}

View File

@ -15,10 +15,10 @@ resource "azurerm_redis_cache" "redis" {
minimum_tls_version = var.minimum_tls_version
redis_configuration {
enable_authentication = var.enable_authentication
enable_authentication = var.enable_authentication
}
tags = {
environment = var.environment
owner = var.owner
environment = var.environment
owner = var.owner
}
}

View File

@ -19,42 +19,42 @@ variable "owner" {
}
variable "capacity" {
type = string
default = 2
description = "The capacity of the redis cache"
type = string
default = 2
description = "The capacity of the redis cache"
}
variable "family" {
type = string
default = "C"
description = "The subscription family for redis"
type = string
default = "C"
description = "The subscription family for redis"
}
variable "sku_name" {
type = string
default = "Standard"
description = "The sku to use"
type = string
default = "Standard"
description = "The sku to use"
}
variable "enable_non_ssl_port" {
type = bool
default = false
description = "Enable non TLS port (default: false)"
type = bool
default = false
description = "Enable non TLS port (default: false)"
}
variable "minimum_tls_version" {
type = string
default = "1.2"
description = "Minimum TLS version to use"
type = string
default = "1.2"
description = "Minimum TLS version to use"
}
variable "enable_authentication" {
type = bool
default = true
description = "Enable or disable authentication (default: true)"
type = bool
default = true
description = "Enable or disable authentication (default: true)"
}

View File

@ -1,8 +1,8 @@
module "cdn" {
source = "../../modules/cdn"
source = "../../modules/cdn"
origin_host_name = "staging.atat.code.mil"
owner = var.owner
environment = var.environment
name = var.name
region = var.region
owner = var.owner
environment = var.environment
name = var.name
region = var.region
}

View File

@ -1,7 +1,7 @@
module "redis" {
source = "../../modules/redis"
owner = var.owner
source = "../../modules/redis"
owner = var.owner
environment = var.environment
region = var.region
name = var.name
region = var.region
name = var.name
}