# Main terraform - Modified iam `resource "aws_iam_role_policy_attachment" "extras"` from `for_each` to `count`, which allows terraform to apply even if roles are not yet created. In cases where role is not yet created, a second terraform apply is required for the resource to attach the policy. - Modified iam `resource "aws_iam_role_policy_attachment" "execution_extras"`, which allows terraform to apply even if roles are not yet created. In cases where role is not yet created, a second terraform apply is required for the resource to attach the policy. - Added support for internal load balancers to be provisioned. - Added support for toggling deletion protection on and off on the load balancer resource. # Example Module - Updated example module with changes alb changes. # Module: Cloudfront Software Installers - Added a count & tertiary to cloudfront software installer kms key policy, as it's fed in as an input. In cases where the key had not yet been created, apply would fail. - Modified `variable "s3_kms_key_id"` to allow default value `null` # Module: Logging Destination Firehose - Added prefix variable to support use-cases where multiple environments are deployed in the same account # Module: Osquery Perf - Added dependency on `data.aws_secretsmanager_secret_version.enroll_secret` to fix race condition.
45 lines
952 B
Terraform
45 lines
952 B
Terraform
variable "customer" {
|
|
description = "Customer name for the cloudfront instance"
|
|
type = string
|
|
default = "fleet"
|
|
}
|
|
|
|
variable "private_key" {
|
|
description = "Private key used for signed URLs"
|
|
type = string
|
|
}
|
|
|
|
variable "public_key" {
|
|
description = "Public key used for signed URLs"
|
|
type = string
|
|
}
|
|
|
|
variable "s3_bucket" {
|
|
description = "Name of the S3 bucket that Cloudfront will point to"
|
|
type = string
|
|
}
|
|
|
|
variable "s3_kms_key_id" {
|
|
description = "KMS key id used to encrypt the s3 bucket"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "enable_logging" {
|
|
description = "Enable optional logging to s3"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "logging_s3_bucket" {
|
|
description = "s3 bucket to log to"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "logging_s3_prefix" {
|
|
description = "logging s3 bucket prefix"
|
|
type = string
|
|
default = "cloudfront"
|
|
}
|