terraform.aws-baseline-infra/modules/security_identity_compliance/cloudtrail_cwlogs/variables.tf
2021-01-27 09:42:51 +08:00

17 lines
496 B
HCL

variable "customer-name" {}
variable "environment" {}
variable "project" {}
variable "application" {}
variable "aws-region-short" {}
variable "default-tags" {}
variable "cloudtrail-retain-days" {
type = number
default = 90
}
locals {
ct-bucket-name = "${var.environment}-${var.aws-region-short}-${var.customer-name}-${var.project}-ctbucket-${data.aws_caller_identity.this.account_id}"
resource-prefix = "${var.environment}-${var.aws-region-short}-${var.customer-name}-${var.project}"
}