Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(Custom Variables) #101

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ testacc:

vet:
go vet $(TEST)
staticcheck $(TEST)
staticcheck $(TEST)
56 changes: 56 additions & 0 deletions docs/data-sources/custom_variable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "kion_custom_variable Data Source - terraform-provider-kion"
subcategory: ""
description: |-

---

# kion_custom_variable (Data Source)





<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `filter` (Block List) (see [below for nested schema](#nestedblock--filter))

### Read-Only

- `id` (String) The ID of this resource.
- `list` (List of Object) This is where Kion makes the discovered data available as a list of resources. (see [below for nested schema](#nestedatt--list))

<a id="nestedblock--filter"></a>
### Nested Schema for `filter`

Required:

- `name` (String) The field name whose values you wish to filter by.
- `values` (List of String) The values of the field name you specified.

Optional:

- `regex` (Boolean) Dictates if the values provided should be treated as regular expressions.


<a id="nestedatt--list"></a>
### Nested Schema for `list`

Read-Only:

- `default_value_list` (List of String)
- `default_value_map` (Map of String)
- `default_value_string` (String)
- `description` (String)
- `key_validation_message` (String)
- `key_validation_regex` (String)
- `name` (String)
- `owner_user_group_ids` (Set of Number)
- `owner_user_ids` (Set of Number)
- `type` (String)
- `value_validation_message` (String)
- `value_validation_regex` (String)
50 changes: 50 additions & 0 deletions docs/data-sources/custom_variable_override.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "kion_custom_variable_override Data Source - terraform-provider-kion"
subcategory: ""
description: |-

---

# kion_custom_variable_override (Data Source)





<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `filter` (Block List) (see [below for nested schema](#nestedblock--filter))

### Read-Only

- `id` (String) The ID of this resource.
- `list` (List of Object) This is where Kion makes the discovered data available as a list of resources. (see [below for nested schema](#nestedatt--list))

<a id="nestedblock--filter"></a>
### Nested Schema for `filter`

Required:

- `name` (String) The field name whose values you wish to filter by.
- `values` (List of String) The values of the field name you specified.

Optional:

- `regex` (Boolean) Dictates if the values provided should be treated as regular expressions.


<a id="nestedatt--list"></a>
### Nested Schema for `list`

Read-Only:

- `custom_variable_id` (String)
- `entity_id` (String)
- `entity_type` (String)
- `value_list` (List of String)
- `value_map` (Map of String)
- `value_string` (String)
39 changes: 39 additions & 0 deletions docs/resources/custom_variable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "kion_custom_variable Resource - terraform-provider-kion"
subcategory: ""
description: |-

---

# kion_custom_variable (Resource)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `description` (String)
- `key_validation_message` (String)
- `key_validation_regex` (String)
- `name` (String)
- `type` (String)
- `value_validation_message` (String)
- `value_validation_regex` (String)

### Optional

- `default_value_list` (List of String)
- `default_value_map` (Map of String)
- `default_value_string` (String)
- `last_updated` (String)
- `owner_user_group_ids` (Set of Number)
- `owner_user_ids` (Set of Number)

### Read-Only

- `id` (String) The ID of this resource.
33 changes: 33 additions & 0 deletions docs/resources/custom_variable_override.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "kion_custom_variable_override Resource - terraform-provider-kion"
subcategory: ""
description: |-

---

# kion_custom_variable_override (Resource)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `custom_variable_id` (String)
- `entity_id` (String)
- `entity_type` (String)

### Optional

- `last_updated` (String)
- `value_list` (List of String)
- `value_map` (Map of String)
- `value_string` (String)

### Read-Only

- `id` (String) The ID of this resource.
Loading