---
# This allows Crossplane to manage our new composite resource.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: networks.aws.example.org
  labels:
    rbac.crossplane.io/aggregate-to-crossplane: "true"
rules:
- apiGroups:
  - aws.example.org
  resources:
  - networks
  - networks/status
  verbs:
  - "*"
- apiGroups:
  - ec2.aws.crossplane.io
  resources:
  - "*"
  verbs:
  - "*"