Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Unable to use iam role for authentication with awss3source #1396

Description

@jewel-mascarenhas

I had earlier used the aws access key and secret for the AWSS3Source to authenticate which worked very well for me, however when I try to use the IAM role for authentication it gives me the following error:

AWSS3Source in version "v1alpha1" cannot be handled as a AWSS3Source: strict decoding error: unknown field "spec.auth.iamrole"

apiVersion: sources.triggermesh.io/v1alpha1
kind: AWSS3Source
metadata:
  name: s3data
spec:
  arn: arn:aws:s3:::xxxxx

  eventTypes:
  - s3:ObjectCreated:*
  - s3:ObjectRemoved:*

  auth:
    iamrole: arn:aws:iam::xxxxxxx:role/new-eks-service-role

  sink:
    ref:
      apiVersion: eventing.triggermesh.io/v1alpha1
      kind: RedisBroker
      name: myredis

Can anyone please suggest how can I overcome this ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions