-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
aws:route53Amazon Route 53Amazon Route 53status: backlogTriaged but not yet being worked onTriaged but not yet being worked onstatus: resolved/staleClosed due to stalenessClosed due to stalenesstype: bugBug reportBug report
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When calling CreateHostedZone, the response does not contain DelegationSet, even though the API definition files of AWS SDKs describe it as a required field of the response shape.
Expected Behavior
The response should have the DelegationSet to match the AWS behavior.
How are you starting LocalStack?
With a docker run
command
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack
command, arguments, or docker-compose.yml
)
docker run -d -p 4576:4566 -e SERVICES=route53 -v /var/run/docker.sock:/var/run/docker.sock --name async_aws_localstack-route53 localstack/localstack:2.3.2
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
This is the test that fails when updating localstack from 0.14.2 to 2.3.2 because the response parsing expects the required field to be present.
Environment
- OS: Ubuntu 22.04
- LocalStack:2.3.2
Anything else?
For reference, here is the response returned when using localstack 2.3.2:
<?xml version='1.0' encoding='utf-8'?>
<CreateHostedZoneResponse><HostedZone><Id>/hostedzone/KVRMC4FVNEG7536</Id><Name>test-domain.com.</Name><Config><Comment>foo</Comment><PrivateZone>true</PrivateZone></Config><ResourceRecordSetCount>2</ResourceRecordSetCount></HostedZone><ChangeInfo><Id>/change/C1PA6795UKMFR9</Id><Status>INSYNC</Status><SubmittedAt>2017-03-15T01:36:41.958000Z</SubmittedAt></ChangeInfo><VPC><VPCRegion /><VPCId /></VPC></CreateHostedZoneResponse>
And here is the response using localstack 0.14.2
<CreateHostedZoneResponse xmlns="https://route53.amazonaws.com/doc/2012-12-12/">
<HostedZone>
<Id>/hostedzone/HPWU1OMIC5LRCWS</Id>
<Name>test-domain.com.</Name>
<ResourceRecordSetCount>0</ResourceRecordSetCount>
<Config>
<Comment>foo</Comment>
<PrivateZone>true</PrivateZone>
</Config>
</HostedZone>
<DelegationSet>
<Id>9WZOG</Id>
<NameServers>
<NameServer>ns-2048.awsdns-64.com</NameServer><NameServer>ns-2049.awsdns-65.net</NameServer><NameServer>ns-2050.awsdns-66.org</NameServer><NameServer>ns-2051.awsdns-67.co.uk</NameServer>
</NameServers>
</DelegationSet>
<VPC>
<VPCId></VPCId>
<VPCRegion></VPCRegion>
</VPC>
</CreateHostedZoneResponse>
Note that this is broken since a long time as attempting to run this test using localstack 1.0.0 also breaks.
Metadata
Metadata
Assignees
Labels
aws:route53Amazon Route 53Amazon Route 53status: backlogTriaged but not yet being worked onTriaged but not yet being worked onstatus: resolved/staleClosed due to stalenessClosed due to stalenesstype: bugBug reportBug report