Skip to content

Commit

Permalink
[DOC] Fix errors in Unity Catalog data sources documentation (#3656)
Browse files Browse the repository at this point in the history
* fixx typo in unity_catalog data sources

* fix
  • Loading branch information
nkvuong authored Jun 7, 2024
1 parent bb5ffcb commit 2273466
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/data-sources/aws_unity_catalog_assume_role_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "Deployment"

-> **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws) in case of any questions.

This data source constructs necessary AWS Unity Catalog assume role policy for you.
This data source constructs the necessary AWS Unity Catalog assume role policy for you.

## Example Usage

Expand All @@ -30,7 +30,7 @@ resource "aws_iam_policy" "unity_metastore" {
resource "aws_iam_role" "metastore_data_access" {
name = "${var.prefix}-uc-access"
assume_role_policy = data.aws_iam_policy_document.passrole_for_uc.json
assume_role_policy = data.aws_iam_policy_document.this.json
managed_policy_arns = [aws_iam_policy.unity_metastore.arn]
}
```
Expand All @@ -39,7 +39,7 @@ resource "aws_iam_role" "metastore_data_access" {

* `aws_account_id` (Required) The Account ID of the current AWS account (not your Databricks account).
* `external_id` (Required) The [storage credential](../resources/storage_credential.md) external id.
* `role_name` (Required) The name of the AWS IAM role that you created in the previous step in the [official documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws).
* `role_name` (Required) The name of the AWS IAM role to be created for Unity Catalog.
* `unity_catalog_iam_arn` (Optional) The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL`

## Attribute Reference
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/aws_unity_catalog_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "Deployment"

-> **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws) in case of any questions.

This data source constructs necessary AWS Unity Catalog policy for you.
This data source constructs the necessary AWS Unity Catalog policy for you.

## Example Usage

Expand All @@ -30,7 +30,7 @@ resource "aws_iam_policy" "unity_metastore" {
resource "aws_iam_role" "metastore_data_access" {
name = "${var.prefix}-uc-access"
assume_role_policy = data.aws_iam_policy_document.passrole_for_uc.json
assume_role_policy = data.aws_iam_policy_document.this.json
managed_policy_arns = [aws_iam_policy.unity_metastore.arn]
}
```
Expand Down

0 comments on commit 2273466

Please sign in to comment.