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

20 lines
374 B
HCL

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