gcp.dns-managed-zone

GCP resource: https://cloud.google.com/dns/docs/reference/v1beta2/managedZones

Filters

Actions

delete

Action to delete DNS managed zones

It is recommended to use a filter to avoid unwanted deletion of DNS managed zones

example

policies:
  - name: gcp-delete-testing-dns-managed-zones
    resource: gcp.dns-managed-zone
    filters:
      - type: value
        key: name
        op: eq
        value: 'test-custodian.com'
    actions:
      - type: delete
properties:
  type:
    enum:
    - delete
required:
- type

Permissions - dns.managedZones.delete