Hello,
I'm trying to import an existing DNS zone so that I can create recordsets and refer to the already existing zone.
apiVersion: dns.openstack.crossplane.io/v1alpha1 kind: ZoneV2 metadata: name: my-zone annotations: crossplane.io/external-name: domain.example.com spec: managementPolicies: ["Observe"] forProvider: {}
Instead of working, this happens:
Error: Error retrieving openstack_dns_zone_v2 domain.example.com: Bad request with: [GET https://my-openstack:9001/v2/zones/domain.example.com], error message: {"code": 400, "type": "invalid_uuid", "message": "Invalid UUID zone_id: domain.example.com", "request_id": "req-ec855967-93b1-4706-92b4-9d2e6107e341"}
Of course, if the name is replaced with the zone ID it works, though that sort of defeats the purpose. In my use case the name is known, the ID is not.
Hello,
I'm trying to import an existing DNS zone so that I can create recordsets and refer to the already existing zone.
apiVersion: dns.openstack.crossplane.io/v1alpha1 kind: ZoneV2 metadata: name: my-zone annotations: crossplane.io/external-name: domain.example.com spec: managementPolicies: ["Observe"] forProvider: {}Instead of working, this happens:
Error: Error retrieving openstack_dns_zone_v2 domain.example.com: Bad request with: [GET https://my-openstack:9001/v2/zones/domain.example.com], error message: {"code": 400, "type": "invalid_uuid", "message": "Invalid UUID zone_id: domain.example.com", "request_id": "req-ec855967-93b1-4706-92b4-9d2e6107e341"}Of course, if the name is replaced with the zone ID it works, though that sort of defeats the purpose. In my use case the name is known, the ID is not.