Terraform fmt across new modules
This commit is contained in:
parent
6d64665474
commit
0925c73c68
@ -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"
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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)"
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user