Skip to content

Commit

Permalink
Merge pull request #170 from databricks-industry-solutions/feature/up…
Browse files Browse the repository at this point in the history
…date_tf_documentation

TF documentation
  • Loading branch information
arunpamulapati authored Oct 23, 2024
2 parents bb880ae + 51b4b45 commit 6df9351
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 8 deletions.
2 changes: 1 addition & 1 deletion terraform/aws/TERRAFORM_AWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Step 4: Change Directories
cd security-analysis-tool/terraform/<cloud>/
```

Step 5: Set values in `terraform.tfvars` file
Step 5: Generate a `terraform.tfvars` file base on `template.tfvars`

Using any editor set the values in the `terraform.tfvars` file. The descriptions of all the variables are located in the variables.tf file. Once the variables are set you are ready to run Terraform.

Expand Down
13 changes: 11 additions & 2 deletions terraform/aws/template.tfvars
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
databricks_url = ""
workspace_id = ""
account_console_id = ""

# Should follow this format:
# Unity Catalog: catalog.schema
# Hive Metastore: hive_metastore.schema
analysis_schema_name = ""

### Databricks Service Principal

client_id = "" // Databricks Service Principal Application ID
client_secret = "" //Databricks Service Principal ID Secret

proxies = {}
# If you are behind a proxy, you can specify the proxy server here, if not leave this with the default value
# Example:
# {
# "http": "http://proxy.example.com:8080",
# "https": "http://proxy.example.com:8080"
# }
proxies = {}
2 changes: 1 addition & 1 deletion terraform/azure/TERRAFORM_Azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Step 4: Change Directories
cd security-analysis-tool/terraform/<cloud>/
```

Step 5: Set values in `terraform.tfvars` file
Step 5: Generate a `terraform.tfvars` file base on `template.tfvars`

Using any editor set the values in the `terraform.tfvars` file. The descriptions of all the variables are located in the `variables.tf` file. Once the variables are set you are ready to run Terraform.

Expand Down
11 changes: 10 additions & 1 deletion terraform/azure/template.tfvars
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
databricks_url = ""
workspace_id = ""
account_console_id = ""

# Should follow this format:
# Unity Catalog: catalog.schema
# Hive Metastore: hive_metastore.schema
analysis_schema_name = ""

### Azure Specific Variables

client_id = ""
client_secret = ""
tenant_id = ""
subscription_id = ""

# If you are behind a proxy, you can specify the proxy server here, if not leave this with the default value
# Example:
# {
# "http": "http://proxy.example.com:8080",
# "https": "http://proxy.example.com:8080"
# }
proxies = {}
2 changes: 1 addition & 1 deletion terraform/gcp/TERRAFORM_GCP.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Step 4: Change Directories
cd security-analysis-tool/terraform/<cloud>/
```

Step 5: Set values in ``terraform.tfvars`` file
Step 5: Generate a `terraform.tfvars` file base on `template.tfvars`

Using any editor set the values in the ``terraform.tfvars`` file. The descriptions of all the variables are located in the `variables.tf` file. Once the variables are set you are ready to run Terraform.

Expand Down
15 changes: 13 additions & 2 deletions terraform/gcp/template.tfvars
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
databricks_url = ""
workspace_id = ""
account_console_id = ""

# Should follow this format:
# Unity Catalog: catalog.schema
# Hive Metastore: hive_metastore.schema
analysis_schema_name = ""
proxies = {}

### GCP Specific Variables
client_id = ""
client_secret = ""
gs_path_to_json = ""
impersonate_service_account = ""
impersonate_service_account = ""

# If you are behind a proxy, you can specify the proxy server here, if not leave this with the default value
# Example:
# {
# "http": "http://proxy.example.com:8080",
# "https": "http://proxy.example.com:8080"
# }
proxies = {}

0 comments on commit 6df9351

Please sign in to comment.