Skip to content

Commit

Permalink
Refactor app/readme.md and terraform/ecr.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlahbib committed Nov 17, 2024
1 parent 956355f commit e05057a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
2 changes: 1 addition & 1 deletion app/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Making changes to trigger an app update.

3
4
21 changes: 2 additions & 19 deletions terraform/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,14 @@ resource "helm_release" "prometheus_operator" {
root_url = "https://${var.dns_name}/grafana/"
domain = var.dns_name
serve_from_sub_path = true
cookie_samesite = "none"
cookie_secure = true
}
}
adminPassword = var.GRAFANA_ADMIN_PASSWORD
}
})]

env = [
{
name = "GF_SERVER_ROOT_URL"
value = "https://${var.dns_name}/grafana/"
},
{
name = "GF_SERVER_SERVE_FROM_SUB_PATH"
value = "true"
},
{
name = "GF_SECURITY_COOKIE_SAMESITE"
value = "none"
},
{
name = "GF_SECURITY_COOKIE_SECURE"
value = "true"
}
]

set {
name = "prometheus.prometheusSpec.retention"
value = "15d"
Expand Down
2 changes: 1 addition & 1 deletion terraform/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output "cluster_name" {
}

output "repository_name" {
value = aws_ecr_repository.ecr.repository_name
value = aws_ecr_repository.ecr.name
}

output "cluster_ip" {
Expand Down

0 comments on commit e05057a

Please sign in to comment.