You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+62-14Lines changed: 62 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,52 @@
2
2
Terraform module for creation Azure Data Lake Storage Gen2 file system
3
3
4
4
## Usage
5
+
By default, this module will provision Data Lake Gen2 Path in a File System within an Azure Storage Account with custom Bash script, which does not require any Storage specific role. (E.x., Storage Blob Data Contributor/Owner).
5
6
7
+
If your Service Principal for Terraform is assigned to **"Storage Blob Data Owner"** role it is possible to create File System folders with Azurerm resource(azurerm_storage_data_lake_gen2_path). In this case, please set _**"storage_role_assigned"**_ variable to 'true'.
8
+
9
+
Below is an example of module usage, here you are providing users in "_adls_ro_users_" and "_adls_rw_users_" variables. After, passing this map to ADLS module.
| <aname="input_ad_groups"></a> [ad\_groups](#input\_ad\_groups)| Data which is contain mapping AD group name and GUID |`map(string)`|`{}`| no |
40
-
| <aname="input_folders"></a> [folders](#input\_folders)| Name of ADLS folders to create in root directory |`list(any)`|`[]`| no |
41
-
| <aname="input_name"></a> [name](#input\_name)| Name of ADLS FS to create |`string`| n/a | yes |
42
-
| <aname="input_permissions"></a> [permissions](#input\_permissions)| List of ADLS FS permissions |`list(map(string))`| <pre>[<br> {}<br>]</pre> | no |
43
-
| <aname="input_root_dir"></a> [root\_dir](#input\_root\_dir)| Name of ADLS root directory |`string`|`"data"`| no |
44
-
| <aname="input_storage_account_id"></a> [storage\_account\_id](#input\_storage\_account\_id)| ID of storage account to create ADLS in |`string`| n/a | yes |
45
-
| <aname="input_storage_account_name"></a> [storage\_account\_name](#input\_storage\_account\_name)| Name of storage account to create ADLS in |`string`| n/a | yes |
83
+
| Name | Description | Type | Default | Required |
| <a name="input_ad_groups"></a> [ad\_groups](#input\_ad\_groups) | Data which is contain mapping AD group name and GUID | `map(string)` | `{}` | no |
87
+
| <a name="input_folders"></a> [folders](#input\_folders) | Name of ADLS folders to create in root directory | `list(any)` | `[]` | no |
88
+
| <a name="input_storage_role_assigned"></a> [storage\_role\_assigned](#input\_storage\_role\_assigned) | Is Storage Blob Data Owner Role assigned to Terraform Service Principal? Provides an ability to create File System with bash script(false) or azurerm resources(true). | `bool` | false | no |
89
+
| <a name="input_name"></a> [name](#input\_name) | Name of ADLS FS to create | `string` | n/a | yes |
90
+
| <a name="input_permissions"></a> [permissions](#input\_permissions) | List of ADLS FS permissions | `list(map(string))` | <pre>[<br> {}<br>]</pre> | no |
91
+
| <a name="input_root_dir"></a> [root\_dir](#input\_root\_dir) | Name of ADLS root directory | `string` | `"data"` | no |
92
+
| <a name="input_storage_account_id"></a> [storage\_account\_id](#input\_storage\_account\_id) | ID of storage account to create ADLS in | `string` | n/a | yes |
93
+
| <a name="input_storage_account_name"></a> [storage\_account\_name](#input\_storage\_account\_name) | Name of storage account to create ADLS in | `string` | n/a | yes |
0 commit comments