Skip to content

Commit b08f038

Browse files
authored
Fix unity catalog docs to use correct metastore (#1620)
aws_iam_policy.unity_metastore is referencing aws_s3_bucket.unity_metastore.arn, which is non-existent. Fix to use aws_s3_bucket.metastore.arn instead. This also matches with the online tutorial. https://docs.databricks.com/data-governance/unity-catalog/automate.html
1 parent 4513d5f commit b08f038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/unity-catalog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ resource "aws_iam_policy" "unity_metastore" {
187187
"s3:GetBucketLocation"
188188
],
189189
"Resource" : [
190-
aws_s3_bucket.unity_metastore.arn,
191-
"${aws_s3_bucket.unity_metastore.arn}/*"
190+
aws_s3_bucket.metastore.arn,
191+
"${aws_s3_bucket.metastore.arn}/*"
192192
],
193193
"Effect" : "Allow"
194194
}

0 commit comments

Comments
 (0)