Terraform fmt across new modules
This commit is contained in:
parent
6d64665474
commit
0925c73c68
@ -19,13 +19,13 @@ variable "owner" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
variable "sku" {
|
variable "sku" {
|
||||||
type = string
|
type = string
|
||||||
description = "SKU of which CDN to use"
|
description = "SKU of which CDN to use"
|
||||||
default = "Standard_Verizon"
|
default = "Standard_Verizon"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "origin_host_name" {
|
variable "origin_host_name" {
|
||||||
type = string
|
type = string
|
||||||
description = "Subdomain to use for the origin in requests to the CDN"
|
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
|
minimum_tls_version = var.minimum_tls_version
|
||||||
|
|
||||||
redis_configuration {
|
redis_configuration {
|
||||||
enable_authentication = var.enable_authentication
|
enable_authentication = var.enable_authentication
|
||||||
}
|
}
|
||||||
tags = {
|
tags = {
|
||||||
environment = var.environment
|
environment = var.environment
|
||||||
owner = var.owner
|
owner = var.owner
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,42 +19,42 @@ variable "owner" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
variable "capacity" {
|
variable "capacity" {
|
||||||
type = string
|
type = string
|
||||||
default = 2
|
default = 2
|
||||||
description = "The capacity of the redis cache"
|
description = "The capacity of the redis cache"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "family" {
|
variable "family" {
|
||||||
type = string
|
type = string
|
||||||
default = "C"
|
default = "C"
|
||||||
description = "The subscription family for redis"
|
description = "The subscription family for redis"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "sku_name" {
|
variable "sku_name" {
|
||||||
type = string
|
type = string
|
||||||
default = "Standard"
|
default = "Standard"
|
||||||
description = "The sku to use"
|
description = "The sku to use"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "enable_non_ssl_port" {
|
variable "enable_non_ssl_port" {
|
||||||
type = bool
|
type = bool
|
||||||
default = false
|
default = false
|
||||||
description = "Enable non TLS port (default: false)"
|
description = "Enable non TLS port (default: false)"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "minimum_tls_version" {
|
variable "minimum_tls_version" {
|
||||||
type = string
|
type = string
|
||||||
default = "1.2"
|
default = "1.2"
|
||||||
description = "Minimum TLS version to use"
|
description = "Minimum TLS version to use"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "enable_authentication" {
|
variable "enable_authentication" {
|
||||||
type = bool
|
type = bool
|
||||||
default = true
|
default = true
|
||||||
description = "Enable or disable authentication (default: true)"
|
description = "Enable or disable authentication (default: true)"
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
module "cdn" {
|
module "cdn" {
|
||||||
source = "../../modules/cdn"
|
source = "../../modules/cdn"
|
||||||
origin_host_name = "staging.atat.code.mil"
|
origin_host_name = "staging.atat.code.mil"
|
||||||
owner = var.owner
|
owner = var.owner
|
||||||
environment = var.environment
|
environment = var.environment
|
||||||
name = var.name
|
name = var.name
|
||||||
region = var.region
|
region = var.region
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
module "redis" {
|
module "redis" {
|
||||||
source = "../../modules/redis"
|
source = "../../modules/redis"
|
||||||
owner = var.owner
|
owner = var.owner
|
||||||
environment = var.environment
|
environment = var.environment
|
||||||
region = var.region
|
region = var.region
|
||||||
name = var.name
|
name = var.name
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user