-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
banderson0421
authored and
banderson0421
committed
Nov 15, 2023
1 parent
d0b0ccb
commit 7a7fd79
Showing
6 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,13 @@ The DSFHUB provider is used to interact with Data Security Fabric Hub resources | |
|
||
Use the navigation to the left to read about the available resources. | ||
|
||
## Example Usage - Resources | ||
## DSFHUB Provider Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `dsfhub_host` - (Required) The DSF host endpoint for [DSF HUB API](https://docs.imperva.com/bundle/v4.13-sonar-user-guide/page/84552.htm) operations. Example: 'https://1.2.3.4:8443'. Can be set via `TF_VAR_dsfhub_host` shell [environment variable](https://en.wikipedia.org/wiki/Environment_variable). | ||
* `dsfhub_token` - (Required) The [DSF API Token](https://docs.imperva.com/bundle/v4.13-sonar-user-guide/page/84555.htm) for API operations. You can retrieve this from the DSF management hub console. Can be set via `TF_VAR_dsfhub_token` shell [environment variable](https://en.wikipedia.org/wiki/Environment_variable). | ||
* `insecure_ssl` - (Optional) The boolean flag that instructs the provider to allow for insecure SSL API calls to a DSF Hub instance to support tests against instances with self-signed certificates. | ||
|
||
```hcl | ||
# Specify path for provider | ||
|
@@ -30,7 +36,11 @@ provider "dsfhub" { | |
dsfhub_host = "${var.dsfhub_host}" | ||
dsfhub_token = "${var.dsfhub_token}" | ||
} | ||
``` | ||
|
||
## Example Usage - dsfhub_cloud_account | ||
|
||
```hcl | ||
# Example generic variable reference: | ||
variable "admin_email" { | ||
default = "[email protected]" | ||
|
@@ -64,6 +74,11 @@ resource "dsfhub_cloud_account" "example_aws_cloud_account" { | |
} | ||
} | ||
``` | ||
|
||
## Example Usage - dsfhub_data_source | ||
|
||
```hcl | ||
# Example dsfhub_data_source specific variables for AWS RDS MYSQL | ||
variable "data_source_aws_rds_mysql_asset_display_name" { | ||
default = "arn:partition:service:region:account-id" | ||
|
@@ -97,7 +112,11 @@ resource "dsfhub_data_source" "aws_rds_mysql_password" { | |
username = var.data_source_aws_rds_mysql_username | ||
} | ||
} | ||
``` | ||
|
||
## Example Usage - dsfhub_log_aggregator | ||
|
||
```hcl | ||
# Example dsfhub_log_aggregator specific variables for AWS LOG GROUP | ||
variable "log_aggregator_aws_log_group_asset_display_name" { | ||
default = "arn:partition:service:region:account-id" | ||
|
@@ -129,10 +148,3 @@ resource "dsfhub_log_aggregator" "example_aws_log_group_default" { | |
} | ||
``` | ||
|
||
## DSFHUB Provider Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `dsfhub_host` - (Required) The DSF host endpoint for [DSF HUB API](https://docs.imperva.com/bundle/v4.13-sonar-user-guide/page/84552.htm) operations. Example: 'https://1.2.3.4:8443'. Can be set via `TF_VAR_dsfhub_host` shell [environment variable](https://en.wikipedia.org/wiki/Environment_variable). | ||
* `dsfhub_token` - (Required) The [DSF API Token](https://docs.imperva.com/bundle/v4.13-sonar-user-guide/page/84555.htm) for API operations. You can retrieve this from the DSF management hub console. Can be set via `TF_VAR_dsfhub_token` shell [environment variable](https://en.wikipedia.org/wiki/Environment_variable). | ||
* `insecure_ssl` - (Optional) The boolean flag that instructs the provider to allow for insecure SSL API calls to a DSF Hub instance to support tests against instances with self-signed certificates. |