Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion terraform/cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ resource "aws_cloudwatch_log_group" "ecs" {

# CloudWatch Log Group for WAF Logs
# Logs all WAF activity including blocked requests
# Note: WAF log group names must start with "aws-waf-logs-"
resource "aws_cloudwatch_log_group" "waf" {
name = "/aws/waf/${var.name_prefix}"
name = "aws-waf-logs-${var.name_prefix}"
retention_in_days = 30 # Extended retention for security compliance

tags = {
Expand Down
5 changes: 5 additions & 0 deletions terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ provider "aws" {

provider "github" {
owner = var.github_owner
app_auth {
id = var.github_app_id
installation_id = var.github_app_installation_id
pem_file = var.github_app_pem_file
}
}
15 changes: 15 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,18 @@ variable "github_repo" {
type = string
default = "drupal-example"
}

variable "github_app_id" {
description = "GitHub App ID"
type = string
}

variable "github_app_installation_id" {
description = "GitHub App Installation ID"
type = string
}

variable "github_app_pem_file" {
description = "GitHub App PEM file"
type = string
}
Loading