icy-jordan-58549
10/15/2020, 6:49 PMazure-nextgen:network/latest:RecordSet (records):
error: Code="ParentResourceNotFound" Message="Can not perform requested operation on nested resource. Parent resource '<http://test.io|test.io>' not found."
export const zone = new network.Zone(
'test-io-zone',
{
location: 'Global',
resourceGroupName: config.resourceGroup.name,
zoneName: '<http://test.io|test.io>',
zoneType: 'Public'
},
{ dependsOn: config.resourceGroup }
);
new network.RecordSet(
'records',
{
aRecords: [{ ipv4Address: '1.1.1.1' }],
privateZoneName: zone.name,
recordType: 'A',
relativeRecordSetName: 'recordA',
resourceGroupName: config.resourceGroup.name,
ttl: 3600,
},
{ dependsOn: zone }
);
* Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone.
new azure.dns.ARecord('elastic', {
zoneName: zone.name,
resourceGroupName: config.resourceGroup.name,
ttl: 300,
records: ['1.1.1.1']
});
tall-librarian-49374
10/15/2020, 7:22 PMRecordSet
resource is mapped to the Private DNS zone’s record set, which isn’t what you wantv20180501.RecordSet
icy-jordan-58549
10/15/2020, 7:55 PMtall-librarian-49374
10/16/2020, 10:17 AM