-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add snowflake integration * add to provider * Add strongly typed selectors and availabilities for Snowflake * add to provider * make gen * remove dupe * bump sdk
- Loading branch information
Showing
12 changed files
with
1,348 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@common-fate/terraform-provider-commonfate": minor | ||
--- | ||
|
||
Add Snowflake integration |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "commonfate_snowflake_account_availability Resource - commonfate" | ||
subcategory: "" | ||
description: |- | ||
A specifier to make a single Snowflake Account available for selection under a particular Access Workflow | ||
--- | ||
|
||
# commonfate_snowflake_account_availability (Resource) | ||
|
||
A specifier to make a single Snowflake Account available for selection under a particular Access Workflow | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `snowflake_account_id` (String) The target to make available. Should be a Snowflake::Account. | ||
- `snowflake_account_role` (String) The Snowflake Account Role to make available. Should be a Snowflake::AccountRole | ||
- `workflow_id` (String) The Access Workflow ID | ||
|
||
### Optional | ||
|
||
- `role_priority` (Number) The priority that governs which role will be suggested to use in the web app when requesting access. The availability spec with the highest priority will have its role suggested first in the UI | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The internal Common Fate ID | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "commonfate_snowflake_database_availabilities Resource - commonfate" | ||
subcategory: "" | ||
description: |- | ||
A specifier to make Snowflake Databases available for selection under a particular Access Workflow | ||
--- | ||
|
||
# commonfate_snowflake_database_availabilities (Resource) | ||
|
||
A specifier to make Snowflake Databases available for selection under a particular Access Workflow | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `snowflake_database_role` (String) The Snowflake Database Role to make available | ||
- `snowflake_database_selector_id` (String) The target to make available. Should be a Selector entity. | ||
- `workflow_id` (String) The Access Workflow ID | ||
|
||
### Optional | ||
|
||
- `role_priority` (Number) The priority that governs which role will be suggested to use in the web app when requesting access. The availability spec with the highest priority will have its role suggested first in the UI | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The internal Common Fate ID | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "commonfate_snowflake_database_selector Resource - commonfate" | ||
subcategory: "" | ||
description: |- | ||
A Selector to match Snowflake Databases with a criteria based on the 'when' field. | ||
--- | ||
|
||
# commonfate_snowflake_database_selector (Resource) | ||
|
||
A Selector to match Snowflake Databases with a criteria based on the 'when' field. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `id` (String) The ID of the selector | ||
- `snowflake_account_id` (String) The Snowflake Account ID | ||
- `when` (String) A Cedar expression with the criteria to match resources on, e.g: `resource.tag_keys contains "production"` | ||
|
||
### Optional | ||
|
||
- `name` (String) The unique name of the selector. Call this something memorable and relevant to the resources being selected. For example: `prod-database-eng` | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "commonfate_snowflake_integration Resource - commonfate" | ||
subcategory: "" | ||
description: |- | ||
Registers a Snowflake integration | ||
--- | ||
|
||
# commonfate_snowflake_integration (Resource) | ||
|
||
Registers a Snowflake integration | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `account_id` (String) The Snowflake Account ID | ||
- `name` (String) The name of the integration: use a short label which is descriptive of the Snowflake instance you're connecting to | ||
- `password_secret_path` (String) Path to secret for the password Snowflake Admin account | ||
- `region` (String) The region that the Snowflake instance is hosted in(e.g ap-southeast-2) | ||
- `username` (String) Username of the Snowflake Admin account | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The internal Common Fate ID | ||
|
||
|
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
Oops, something went wrong.