Skip to content

Commit e771174

Browse files
Merge pull request #7 from sourcefuse/feature/update-readme
update readme and workflows
2 parents 6c230d7 + f0241f3 commit e771174

4 files changed

Lines changed: 114 additions & 27 deletions

File tree

.github/workflows/trivy.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Trivy Full Scan
3+
4+
"on":
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
trivy-full-scan:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v4
16+
17+
- name: Run Trivy vulnerability scanner
18+
uses: aquasecurity/trivy-action@master
19+
with:
20+
scan-type: fs
21+
scan-ref: .
22+
severity: HIGH,CRITICAL
23+
ignore-unfixed: true
24+
format: sarif
25+
output: trivy-results.sarif
26+
exit-code: 1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ terraform.tfvars
66
.idea
77
.external_momdules
88
tracing-sample
9+
.DS_Store

README.md

Lines changed: 87 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,39 @@
1-
![Module Structure](./static/banner.png)
1+
![Module Banner](./static/banner.png)
22

33
# [terraform-aws-arc-observability-stack](https://github.com/sourcefuse/terraform-aws-arc-observability-stack)
44

5-
<a href="https://github.com/sourcefuse/terraform-aws-arc-observability-stack/releases/latest"><img src="https://img.shields.io/github/release/sourcefuse/terraform-aws-arc-observability-stack.svg?style=for-the-badge" alt="Latest Release"/></a> <a href="https://github.com/sourcefuse/terraform-aws-arc-observability-stack/commits"><img src="https://img.shields.io/github/last-commit/sourcefuse/terraform-aws-arc-observability-stack.svg?style=for-the-badge" alt="Last Updated"/></a> ![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white) ![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)
5+
> **Module:** `sourcefuse/arc-observability-stack/aws`
6+
7+
> **Registry:** [https://registry.terraform.io/modules/sourcefuse/arc-observability-stack/aws](https://registry.terraform.io/modules/sourcefuse/arc-observability-stack/aws)
8+
9+
> **Category:** Observability / Monitoring
10+
11+
> **Source:** [https://github.com/sourcefuse/terraform-aws-arc-observability-stack](https://github.com/sourcefuse/terraform-aws-arc-observability-stack)
12+
13+
[![Latest Release](https://img.shields.io/github/release/sourcefuse/terraform-aws-arc-observability-stack.svg?style=for-the-badge)](https://github.com/sourcefuse/terraform-aws-arc-observability-stack/releases/latest)
14+
[![Last Updated](https://img.shields.io/github/last-commit/sourcefuse/terraform-aws-arc-observability-stack.svg?style=for-the-badge)](https://github.com/sourcefuse/terraform-aws-arc-observability-stack/commits)
15+
![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
16+
![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)
617

718
[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=sourcefuse_terraform-aws-arc-observability-stack&token=bf80d04b87395dadd9473538860728fd9d32cfc6)](https://sonarcloud.io/summary/new_code?id=sourcefuse_terraform-aws-arc-observability-stack)
819

9-
[![Known Vulnerabilities](https://github.com/sourcefuse/terraform-aws-arc-observability-stack/actions/workflows/snyk.yaml/badge.svg)](https://github.com/sourcefuse/terraform-aws-arc-observability-stack/actions/workflows/snyk.yaml)
10-
## Introduction
1120

12-
The Observability Terraform Module is a comprehensive solution designed to simplify the deployment of a full-stack observability ecosystem in Kubernetes environments. This module enables organizations to monitor and troubleshoot their infrastructure and applications effectively, offering the flexibility to choose between various open-source tools.
21+
## Overview
22+
23+
Deploys a full observability stack on Kubernetes — Prometheus, Grafana, Elasticsearch/OpenSearch, Fluentd/Fluent Bit — via Helm charts.
24+
25+
## Architecture
26+
27+
![Architecture Diagram](./static/arch.png)
28+
29+
## What It Does
30+
31+
- Prometheus and Grafana for metrics and dashboards
32+
- Elasticsearch or OpenSearch for log storage
33+
- Fluentd or Fluent Bit for log aggregation
34+
- Configurable Helm chart versions and values
35+
- Kubernetes namespace management
36+
- TLS certificate support for secure endpoints
1337

1438
### Key Features:
1539
1. EFK Stack for Log Management:
@@ -40,27 +64,9 @@ The Observability Terraform Module is a comprehensive solution designed to simpl
4064

4165
For more information about this repository and its usage, please see [Terraform AWS ARC Observability Module Usage Guide](docs/module-usage-guide/README.md).
4266

67+
## Quickstart
4368

44-
Create the following resources in a single region.
45-
46-
* VPC
47-
* Multi-AZ private and public subnets
48-
* Route tables, internet gateway, and NAT gateways
49-
* Configurable VPC Endpoints
50-
51-
### Prerequisites
52-
Before using this module, ensure you have the following:
53-
54-
- AWS credentials configured.
55-
- Terraform installed.
56-
- A working knowledge of Terraform.
57-
58-
## Usage
59-
See the `examples` folder for a complete example.
60-
61-
### EFK Stack
6269
```hcl
63-
6470
module "efk" {
6571
source = "sourcefuse/arc-observability-stack/aws"
6672
version = "0.0.1"
@@ -126,8 +132,6 @@ module "efk" {
126132
log_level = "info"
127133
}
128134
}
129-
130-
131135
```
132136
### Prometheus
133137

@@ -192,8 +196,24 @@ module "prometheus" {
192196
193197
}
194198
}
195-
196199
```
200+
201+
## Required Inputs
202+
203+
| Name | Type | Description |
204+
|------|------|-------------|
205+
| `namespace` | `string` | Namespace prefix |
206+
| `environment` | `string` | Deployment environment |
207+
## Key Outputs
208+
209+
| Name | Description |
210+
|------|-------------|
211+
| `grafana_endpoint` | Grafana dashboard endpoint |
212+
| `prometheus_endpoint` | Prometheus endpoint |
213+
## Full Variable & Output Reference
214+
215+
The complete inputs/outputs reference is auto-generated below.
216+
197217
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
198218
## Requirements
199219

@@ -290,7 +310,47 @@ By specifying this , it will bump the version and if you dont specify this in yo
290310
```sh
291311
go test -timeout 1800s
292312
```
313+
## Contributing
314+
315+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup.
293316

294317
## Authors
295318
This project is authored by:
296319
- SourceFuse
320+
321+
322+
## Contributing
323+
324+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup.
325+
326+
## Authors
327+
328+
Built and maintained by the [SourceFuse ARC Team](https://github.com/sourcefuse).
329+
330+
331+
## Contributing
332+
333+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup.
334+
335+
## Authors
336+
337+
Built and maintained by the [SourceFuse ARC Team](https://github.com/sourcefuse).
338+
339+
340+
## Contributing
341+
342+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup.
343+
344+
## Authors
345+
346+
Built and maintained by the [SourceFuse ARC Team](https://github.com/sourcefuse).
347+
348+
349+
## Contributing
350+
351+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for commit conventions and development setup.
352+
353+
## Authors
354+
355+
This project is authored by:
356+
* SourceFuse ARC Team

static/arch.png

1.43 MB
Loading

0 commit comments

Comments
 (0)