aws / aws/aws-sdk-java-v2

Not allowed to configure Weight parameter for CNAME created by CloudMap

Offen
#6,754 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature-request service-api
Vorherrschende Sprache
Java
Sterne
2.6k
Forks
1k
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
51

Beschreibung

### Describe the bug

1. Create CloudMap namespace, service and service instances. Make sure you choose option to allow service discovery via DNS queries and to register instances as CNAME
2. Go to route53 and try to update weight property of CNAME records, so you can control how much traffic goes to each instance.

### Regression Issue

- [ ] Select this option if this issue appears to be a regression.

### Expected Behavior

You should be able to update weight property for CNAMEs created by cloud map

### Current Behavior

Update fails with message:

> Error occurred
Please try again later.
(The resource hostedzone/**** can only be managed through AWS Cloud Map (arn:aws:servicediscovery:eu-west-2:***:namespace/ns-***))

And there is no option to configure weight on cloud map

### Reproduction Steps

1. Create CloudMap namespace, service and service instances. Make sure you choose option to allow service discovery via DNS queries and to register instances as CNAME
2. Go to route53 and try to update weight property of CNAME records, so you can control how much traffic goes to each instance.

### Possible Solution

Add new attribute on service instance to configure weight for CNAME (Example: AWS_CNAME_WEIGHT)

https://docs.aws.amazon.com/cloud-map/latest/api/API_Instance.html

### Additional Information/Context

_No response_

### AWS Java SDK version used

any

### JDK version used

any

### Operating System and version

macOS

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der Prüfung der verlinkten AWS Cloud Map Instance API-Dokumentation und der Cloud Map-Serviceunterstützung des SDK. Bestätige, ob CNAME weight vom Service offengelegt wird, ermittle dann, welche Änderung am SDK die Konfiguration ermöglichen würde, und verifiziere, dass die resultierende Konfiguration mit Cloud Map funktioniert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, java
Bereich
api, cloud
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.