diff --git a/src/azul/__init__.py b/src/azul/__init__.py index 7599cd2ca8..7afe119a1d 100644 --- a/src/azul/__init__.py +++ b/src/azul/__init__.py @@ -259,8 +259,6 @@ def manifest_expiration_margin(self) -> float: audit_log_retention_days = 180 # FedRAMP mandates 90 days - verbose_log_retention_days = 30 - @property def es_timeout(self) -> int: return int(self.environ['AZUL_ES_TIMEOUT']) diff --git a/terraform/elasticsearch.tf.json.template.py b/terraform/elasticsearch.tf.json.template.py index cb798d6688..128a6d9355 100644 --- a/terraform/elasticsearch.tf.json.template.py +++ b/terraform/elasticsearch.tf.json.template.py @@ -22,10 +22,7 @@ "aws_cloudwatch_log_group": { f"{log}_log": { "name": f"/aws/aes/domains/{domain}/{log}-logs", - "retention_in_days": - config.verbose_log_retention_days - if log == 'error' else - config.audit_log_retention_days + "retention_in_days": config.audit_log_retention_days } } } for log in logs.keys()),