Skip to content

Commit dc15ea7

Browse files
authored
Iceberg metadata files are now always accessible cross-account (#303)
* Iceberg metadata files are always readable cross account * changelog * typo
1 parent b2f361a commit dc15ea7

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6+
## [7.10.1] - 2025-03-04
7+
### Added
8+
- Iceberg metadata files are now always accessible cross-account.
9+
610
## [7.10.0] - 2025-03-03
711
### Added
812
- AWS Lake Formation resources created per database if `create_lf_resource` enabled.

templates/apiary-bucket-policy.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,23 @@
202202
]
203203
},
204204
%{endif}
205+
%{if customer_principal != ""}
206+
{
207+
"Sid": "Customer account read access Iceberg metadata files",
208+
"Effect": "Allow",
209+
"Principal": {
210+
"AWS": [ "${customer_principal}" ]
211+
},
212+
"Action": [
213+
"s3:GetObject",
214+
"s3:GetObjectAcl"
215+
],
216+
"Resource": [
217+
"arn:aws:s3:::${bucket_name}/*/metadata/*.json",
218+
"arn:aws:s3:::${bucket_name}/*/metadata/*.avro"
219+
]
220+
},
221+
%{endif}
205222
%{if deny_exception_iamroles == "" && common_producer_iamroles != ""}
206223
{
207224
"Sid": "General read-write iamrole permissions",

0 commit comments

Comments
 (0)