-
Notifications
You must be signed in to change notification settings - Fork 981
Open
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.service-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.
Description
Describe the bug
- 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
- 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
- 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
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.service-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.