terraform.aws-baseline-infra/modules/security_identity_compliance/cloudtrail_cwlogs/variables.tf

17 lines
496 B
Terraform
Raw Normal View History

2021-01-26 21:40:02 +08:00
variable "customer-name" {}
variable "environment" {}
variable "project" {}
variable "application" {}
variable "aws-region-short" {}
variable "default-tags" {}
2021-01-27 09:42:51 +08:00
variable "cloudtrail-retain-days" {
type = number
default = 90
}
2021-01-26 21:40:02 +08:00
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}"
}