Skip to content

Implement support for ServiceBus resource-based policies #2680

@atali

Description

@atali

Is your feature request related to a problem?
I can't create a resource based policy when creating a service bus

Image

Describe the solution you'd like

When applying the following manifest, it should apply a resource based policy :

apiVersion: eventbridge.services.k8s.aws/v1alpha1
kind: EventBus
metadata:
  name: event-bus
  namespace: platform
spec:
  name: event-bus-dev
  policy: |
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "AllowToPutEvents",
          "Effect": "Allow",
          "Principal": {
            "Service": "events.amazonaws.com"
          },
          "Action": "events:PutEvents",
          "Resource": "${EVENT_BUS_ARN}"
        }
      ]
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/new-fieldCategorizes issue or PR as related to a new fieldservice/eventbridgeIndicates issues or PRs that are related to eventbridge-controller.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions