mirror of
https://github.com/ghndrx/terraform-foundation.git
synced 2026-02-10 06:45:06 +00:00
Enterprise-grade multi-tenant AWS cloud foundation. Modules: - GitHub OIDC for keyless CI/CD authentication - IAM account settings and security baseline - AWS Config Rules for compliance - ABAC (Attribute-Based Access Control) - SCPs (Service Control Policies) Features: - Multi-account architecture - Cost optimization patterns - Security best practices - Comprehensive documentation Tech: Terraform, AWS Organizations, IAM Identity Center
50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# cloudwatch-dashboard
|
|
|
|
CloudWatch Dashboard Module
|
|
|
|
## Usage
|
|
|
|
```hcl
|
|
module "cloudwatch_dashboard" {
|
|
source = "../modules/cloudwatch-dashboard"
|
|
|
|
# Required variables
|
|
name = ""
|
|
|
|
# Optional: see variables.tf for all options
|
|
}
|
|
```
|
|
|
|
## Requirements
|
|
|
|
| Name | Version |
|
|
|------|---------|
|
|
| terraform | >= 1.5.0 |
|
|
| aws | >= 5.0 |
|
|
|
|
## Inputs
|
|
|
|
| Name | Description | Type | Required |
|
|
|------|-------------|------|----------|
|
|
| name | Dashboard name | `string` | yes |
|
|
| ecs_clusters | ECS cluster names to monitor | `list(string)` | no |
|
|
| ecs_services | ECS service names to monitor | `list(string)` | no |
|
|
| rds_instances | RDS instance identifiers | `list(string)` | no |
|
|
| lambda_functions | Lambda function names | `list(string)` | no |
|
|
| alb_arns | ALB ARN suffixes (app/name/id) | `list(string)` | no |
|
|
| api_gateway_apis | API Gateway API IDs | `list(string)` | no |
|
|
| sqs_queues | SQS queue names | `list(string)` | no |
|
|
| dynamodb_tables | DynamoDB table names | `list(string)` | no |
|
|
| tags | | `map(string)` | no |
|
|
|
|
## Outputs
|
|
|
|
| Name | Description |
|
|
|------|-------------|
|
|
| dashboard_name | |
|
|
| dashboard_arn | |
|
|
|
|
## License
|
|
|
|
Apache 2.0 - See LICENSE for details.
|