-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from authsignal/AUT-2321
AUT-2321: Adding support for custom lists
- Loading branch information
Showing
19 changed files
with
881 additions
and
104 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
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: "authsignal_value_list Data Source - terraform-provider-authsignal" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# authsignal_value_list (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `alias` (String) The hypenated name of the list. | ||
|
||
### Read-Only | ||
|
||
- `is_active` (Boolean) Whether or not the list is active. This currently has no effect. | ||
- `item_type` (String) The type of the items in the list. Allowed values: `string`, `number`. | ||
- `name` (String) The name of the list. | ||
- `value_list_items_numbers` (List of Number) The list of items. | ||
- `value_list_items_strings` (List of String) The list of items. |
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
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,62 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "authsignal_value_list Resource - terraform-provider-authsignal" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# authsignal_value_list (Resource) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "authsignal_value_list" "example_value_list_strings" { | ||
name = "Example Value List Strings" | ||
is_active = true | ||
value_list_items_strings = [ | ||
"hello", | ||
"world", | ||
"I am a string", | ||
] | ||
} | ||
resource "authsignal_value_list" "example_value_list_numbers" { | ||
name = "Example Value List Numbers" | ||
is_active = true | ||
value_list_items_numbers = [ | ||
1, | ||
2, | ||
3, | ||
] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `is_active` (Boolean) Whether or not the list is active. This currently has no effect, please set the value to `true`. | ||
- `name` (String) The name of the value list. | ||
|
||
### Optional | ||
|
||
- `value_list_items_numbers` (List of Number) A list of number items in the value list. | ||
- `value_list_items_strings` (List of String) A list of string items in the value list. | ||
|
||
### Read-Only | ||
|
||
- `alias` (String) The hyphenated alias of the value list, auto-generated upon creation. | ||
- `item_type` (String) The type of items in the value list (string or number). | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
# value lists can be imported with the following command. The value provided is the value list alias. | ||
terraform import authsignal_value_list.example_value_list "example-value-list" | ||
``` |
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,3 @@ | ||
data "authsignal_value_list" "example_value_list" { | ||
alias = "example-value-list" | ||
} |
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,2 @@ | ||
# value lists can be imported with the following command. The value provided is the value list alias. | ||
terraform import authsignal_value_list.example_value_list "example-value-list" |
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,19 @@ | ||
resource "authsignal_value_list" "example_value_list_strings" { | ||
name = "Example Value List Strings" | ||
is_active = true | ||
value_list_items_strings = [ | ||
"hello", | ||
"world", | ||
"I am a string", | ||
] | ||
} | ||
|
||
resource "authsignal_value_list" "example_value_list_numbers" { | ||
name = "Example Value List Numbers" | ||
is_active = true | ||
value_list_items_numbers = [ | ||
1, | ||
2, | ||
3, | ||
] | ||
} |
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
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.