diff --git a/fixlib/fixlib/baseresources.py b/fixlib/fixlib/baseresources.py index edc06da18..95f1ef993 100644 --- a/fixlib/fixlib/baseresources.py +++ b/fixlib/fixlib/baseresources.py @@ -1472,7 +1472,7 @@ class BaseDNSZone(BaseResource): _metadata: ClassVar[Dict[str, Any]] = {"icon": "dns", "group": "networking"} _categories: ClassVar[List[Category]] = [Category.dns, Category.networking] private_zone: Optional[bool] = None - zone_resource_record_set_count: Optional[int] = field(default=None, metadata=dict(ignore_history=True)) + record_count: Optional[int] = field(default=None, metadata=dict(ignore_history=True)) @define(eq=False, slots=False) diff --git a/plugins/aws/fix_plugin_aws/resource/route53.py b/plugins/aws/fix_plugin_aws/resource/route53.py index 8202924b8..a0be9210d 100644 --- a/plugins/aws/fix_plugin_aws/resource/route53.py +++ b/plugins/aws/fix_plugin_aws/resource/route53.py @@ -83,7 +83,7 @@ class AwsRoute53Zone(AwsResource, BaseDNSZone): "zone_config": S("Config") >> Bend(AwsRoute53ZoneConfig.mapping), "zone_linked_service": S("LinkedService") >> Bend(AwsRoute53LinkedService.mapping), "private_zone": S("Config", "PrivateZone"), - "zone_resource_record_set_count": S("ResourceRecordSetCount"), + "record_count": S("ResourceRecordSetCount"), } zone_caller_reference: Optional[str] = field(default=None) zone_config: Optional[AwsRoute53ZoneConfig] = field(default=None) diff --git a/plugins/azure/fix_plugin_azure/resource/network.py b/plugins/azure/fix_plugin_azure/resource/network.py index b0cf580f7..05c77bab5 100644 --- a/plugins/azure/fix_plugin_azure/resource/network.py +++ b/plugins/azure/fix_plugin_azure/resource/network.py @@ -6800,7 +6800,7 @@ class AzureNetworkDNSZone(MicrosoftResource, BaseDNSZone): }, default=False, ), - "zone_resource_record_set_count": S("properties", "maxNumberOfRecordSets"), + "record_count": S("properties", "maxNumberOfRecordSets"), } max_number_of_record_sets: Optional[int] = field(default=None, metadata={'description': 'The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.'}) # fmt: skip max_number_of_records_per_record_set: Optional[int] = field(default=None, metadata={'description': 'The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.'}) # fmt: skip