fix(aws_route53): cannot use CfnParameter.valueAsNumber for L2 RecordSet weight#31823
fix(aws_route53): cannot use CfnParameter.valueAsNumber for L2 RecordSet weight#31823mergify[bot] merged 8 commits intoaws:mainfrom nicholaschiasson:nicholaschiasson/resolve-recordset-weight-from-cfnparameter
Conversation
|
@nicholaschiasson The integ test |
|
@GavinZZ thanks! The integ test is now fixed. |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Hey @GavinZZ , sorry, I had misunderstood the first time around why the integration test was unstable, but I am confident I have solved it now. The issue was related to how the set identifier was derived if one was not provided with constructor options. I realized that when generating a set ID, the method restricts the length of the ID to 64 characters. Since To solve this, I modified the Let me know if this is a satisfactory solution. At the very least, the integ test should now be stable. |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Dismissing as I notice that there's code change. Will review the new code.
GavinZZ
left a comment
There was a problem hiding this comment.
One minor comment for a slight improvement, and I'm happy to approve again.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Hi @GavinZZ , it seems like something is blocking the merge. Do you have any detail about that? |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
Closes #31810.
Reason for this change
Could not use CfnParameter.valueAsNumber for L2 RecordSet weight.
Description of changes
Adding validation of weight property as a potential Token in RecordSet constructor.
Description of how you validated changes
Added unit and integration test.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license