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
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
Describe the bug
Regression Issue
Expected Behavior
You should be able to update weight property for CNAMEs created by cloud map
Current Behavior
Update fails with message:
And there is no option to configure weight on cloud map
Reproduction Steps
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