Skip to content

Commit

Permalink
update prom internal url input value
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Mar 13, 2025
1 parent b689635 commit e7b8b99
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependency "eks_postgresql" {
config_path = "../eks-postgresql"
mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"]
mock_outputs = {
internal_endpoint {
internal_endpoint = {
url = "mock-internal-endpoint-url"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ dependency "eks_prometheus" {
config_path = "../eks-prometheus"
mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"]
mock_outputs = {
prometheus_internal_url = "mock-internal-url"
prometheus_server_internal_endpoint = {
hostname = "prometheus.mock.svc.cluster.local"
port_number = "80"
url = "https://prometheus.mock.svc.cluster.local:80/"
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ dependencies {
paths = [
"../eks",
"../eks-config",
"../eks-dns"
"../eks-dns",
"../eks-prometheus",
]
}

Expand Down Expand Up @@ -58,16 +59,18 @@ inputs = {
rwo_storage_class = dependency.eks_config.outputs.rwo_storage_class

# PostgreSQL Configuration
service_name = "postgresql"
namespace = include.root.inputs.namespaces["postgresql"]
os_shell_tag = include.root.inputs.os_shell_tag
pgpool_tag = include.root.inputs.pgpool_tag
postgres_exporter_tag = include.root.inputs.postgres_exporter_tag
postgresql_tag = include.root.inputs.postgresql_tag
postgresql_repmgr_tag = include.root.inputs.postgresql_repmgr_tag
pgpool_tag = include.root.inputs.pgpool_tag
namespace = include.root.inputs.namespaces["postgresql"]
postgresql_tag = include.root.inputs.postgresql_tag
service_name = "postgresql"
telemetry_namespace = include.root.inputs.telemetry_namespace

# Database Consumer Configuration
postgresql_database = include.root.inputs.postgresql_database
postgresql_username = include.root.inputs.postgresql_username
postgresql_password = include.root.inputs.postgresql_password

}

0 comments on commit e7b8b99

Please sign in to comment.