Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3:DeleteObject giving because no session policy allows the s3:DeleteObject action #11153

Open
apareekkhoros opened this issue Sep 17, 2024 · 1 comment
Labels
question Further information is requested

Comments

@apareekkhoros
Copy link

apareekkhoros commented Sep 17, 2024

Query engine

No response

Question

I am using Iceberg with flink on AWS. I keep getting error as below:
AccessDenied: bf4a3c0f5d241f5f59a2dae4dd4dc61b-642760139656-1717669206233/: User: arn:aws:sts::340686679554:assumed-role/AWSKinesisAnalyticsKubern-S3CustomerAppStateAccess-1DK4LG9JOK6RM/FlinkApplicationStateSession is not authorized to perform: s3:DeleteObject on resource: \"arn:aws:s3:::7bfe006b0420e57867507672221ef03fd067eaa6/bf4a3c0f5d241f5f59a2dae4dd4dc61b-642760139656-1717669206233/\" because no session policy allows the s3:DeleteObject action\n

I cannot find above role/bucket in my account so I am unsure why I keep getting this error

My IAM role already allows S3 delete object on iceberg bucket. but above bucket is something weird

@apareekkhoros apareekkhoros added the question Further information is requested label Sep 17, 2024
@apareekkhoros
Copy link
Author

<java.version>1.11</java.version>
<flink.version>1.20.0</flink.version>
<iceberg.version>1.6.1</iceberg.version>
<hadoop.version>3.3.6</hadoop.version>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant