Skip to content

Commit 360e8d7

Browse files
committed
add missing mapping for db.m5d.large
1 parent b6a94cd commit 360e8d7

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM quay.io/app-sre/golang:1.18.5 as builder
1+
FROM public.ecr.aws/docker/library/golang:1.18 as builder
22
WORKDIR /build
33
COPY . .
44
RUN make build
55

6-
FROM registry.access.redhat.com/ubi8-minimal
6+
FROM public.ecr.aws/amazonlinux/amazonlinux:latest
77
COPY --from=builder /build/aws-resource-exporter /bin/aws-resource-exporter
88

99
EXPOSE 9115

pkg/rds.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ var DBMaxConnections = map[string]map[string]int64{
123123
"default.postgres13": 5000,
124124
"default.postgres14": 5000,
125125
},
126+
"db.m5d.large": {
127+
"default": 830,
128+
"default.postgres10": 830,
129+
"default.postgres11": 830,
130+
"default.postgres12": 830,
131+
"default.postgres13": 830,
132+
"default.postgres14": 830,
133+
"default.postgres15": 830,
134+
},
126135
"db.r4.large": map[string]int64{
127136
"default": 1301,
128137
"default.mysql5.7": 1301,

0 commit comments

Comments
 (0)