Skip to content

Commit

Permalink
#31: support additional property in resources
Browse files Browse the repository at this point in the history
  • Loading branch information
papegaaij committed Nov 9, 2023
1 parent 344994a commit b9f7fa1
Show file tree
Hide file tree
Showing 30 changed files with 397 additions and 54 deletions.
1 change: 1 addition & 0 deletions docs/resources/client_vaultrecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ description: |-

### Optional

- `additional` (List of String)
- `color` (String)
- `delete_tile` (Boolean)
- `end_date` (String)
Expand Down
3 changes: 3 additions & 0 deletions docs/resources/clientapplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ description: |-

### Optional

- `additional` (List of String)
- `client_id` (String)
- `delete_tile` (Boolean)
- `groupclients` (Attributes List) (see [below for nested schema](#nestedatt--groupclients))
Expand Down Expand Up @@ -51,6 +52,7 @@ description: |-
Optional:

- `activation_required` (Boolean)
- `additional` (List of String)

Read-Only:

Expand Down Expand Up @@ -184,6 +186,7 @@ Required:

Optional:

- `additional` (List of String)
- `application_administration` (Boolean)
- `audit_config` (Attributes) (see [below for nested schema](#nestedatt--groups--audit_config))
- `authorizing_group_auditing_uuid` (String)
Expand Down
24 changes: 24 additions & 0 deletions docs/resources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ resource "keyhubpreview_group" "terra" {
### Optional

- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--accounts))
- `additional` (List of String)
- `admins` (Attributes List, Deprecated) (see [below for nested schema](#nestedatt--admins))
- `application_administration` (Boolean)
- `audit_config` (Attributes) (see [below for nested schema](#nestedatt--audit_config))
Expand Down Expand Up @@ -102,6 +103,7 @@ Required:

Optional:

- `additional` (List of String)
- `end_date` (String)

Read-Only:
Expand All @@ -125,6 +127,7 @@ Required:

Optional:

- `additional` (List of String)
- `end_date` (String)

Read-Only:
Expand Down Expand Up @@ -182,6 +185,7 @@ Required:

Optional:

- `additional` (List of String)
- `client_uuid` (String)
- `for_group_uuid` (String)
- `for_system_uuid` (String)
Expand Down Expand Up @@ -223,6 +227,7 @@ Required:

Optional:

- `additional` (List of String)
- `client_id` (String)
- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--administered_clients--ldap_client))
- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--administered_clients--o_auth2_client))
Expand Down Expand Up @@ -339,6 +344,7 @@ Optional:

- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--administered_systems--abstract_provisioned_ldap))
- `active` (Boolean)
- `additional` (List of String)
- `organizational_unit_uuid` (String)
- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--administered_systems--provisioned_a_d))
- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--administered_systems--provisioned_azure_oidc_directory))
Expand Down Expand Up @@ -461,6 +467,7 @@ Required:

Optional:

- `additional` (List of String)
- `next_uid` (Number)

Read-Only:
Expand Down Expand Up @@ -563,6 +570,7 @@ Required:

Optional:

- `additional` (List of String)
- `application_administration` (Boolean)
- `audit_config` (Attributes) (see [below for nested schema](#nestedatt--authorized_groups--items--audit_config))
- `authorizing_group_auditing_uuid` (String)
Expand Down Expand Up @@ -657,6 +665,7 @@ Optional:
Optional:

- `activation_required` (Boolean)
- `additional` (List of String)

Read-Only:

Expand Down Expand Up @@ -704,6 +713,7 @@ Optional:

- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--content_administered_systems--abstract_provisioned_ldap))
- `active` (Boolean)
- `additional` (List of String)
- `organizational_unit_uuid` (String)
- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--content_administered_systems--provisioned_a_d))
- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--content_administered_systems--provisioned_azure_oidc_directory))
Expand Down Expand Up @@ -826,6 +836,7 @@ Required:

Optional:

- `additional` (List of String)
- `next_uid` (Number)

Read-Only:
Expand Down Expand Up @@ -1017,6 +1028,7 @@ Required:

Optional:

- `additional` (List of String)
- `end_date` (String)

Read-Only:
Expand All @@ -1040,6 +1052,7 @@ Required:

Optional:

- `additional` (List of String)
- `end_date` (String)

Read-Only:
Expand Down Expand Up @@ -1103,6 +1116,7 @@ Required:

Optional:

- `additional` (List of String)
- `client_id` (String)
- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--owned_clients--ldap_client))
- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--owned_clients--o_auth2_client))
Expand Down Expand Up @@ -1217,6 +1231,7 @@ Required:
Optional:

- `active` (Boolean)
- `additional` (List of String)
- `default_directory` (Boolean)
- `helpdesk_group_uuid` (String)
- `internal_directory` (Attributes) (see [below for nested schema](#nestedatt--owned_directories--internal_directory))
Expand Down Expand Up @@ -1336,6 +1351,7 @@ Required:

Optional:

- `additional` (List of String)
- `display_name` (String)

Read-Only:
Expand Down Expand Up @@ -1378,6 +1394,7 @@ Required:

Optional:

- `additional` (List of String)
- `description` (String)

Read-Only:
Expand Down Expand Up @@ -1425,6 +1442,7 @@ Optional:

- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--owned_systems--abstract_provisioned_ldap))
- `active` (Boolean)
- `additional` (List of String)
- `organizational_unit_uuid` (String)
- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--owned_systems--provisioned_a_d))
- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--owned_systems--provisioned_azure_oidc_directory))
Expand Down Expand Up @@ -1547,6 +1565,7 @@ Required:

Optional:

- `additional` (List of String)
- `next_uid` (Number)

Read-Only:
Expand Down Expand Up @@ -1642,6 +1661,7 @@ Required:
Optional:

- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--recent_audits--accounts))
- `additional` (List of String)
- `comment` (String)

Read-Only:
Expand Down Expand Up @@ -1738,6 +1758,7 @@ Required:
Optional:

- `active` (Boolean)
- `additional` (List of String)
- `description` (String)
- `technical_administrator_uuid` (String)

Expand Down Expand Up @@ -1782,6 +1803,7 @@ Required:
Optional:

- `activation_required` (Boolean)
- `additional` (List of String)

Read-Only:

Expand All @@ -1800,6 +1822,7 @@ Required:

Optional:

- `additional` (List of String)
- `display_name` (String)

Read-Only:
Expand Down Expand Up @@ -1902,6 +1925,7 @@ Optional:

- `account_uuid` (String)
- `active` (Boolean)
- `additional` (List of String)
- `all_types` (Boolean)
- `authentication_scheme` (String)
- `basic_auth_password` (String)
Expand Down
1 change: 1 addition & 0 deletions docs/resources/group_vaultrecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ description: |-

### Optional

- `additional` (List of String)
- `color` (String)
- `delete_tile` (Boolean)
- `end_date` (String)
Expand Down
3 changes: 3 additions & 0 deletions docs/resources/grouponsystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ description: |-

### Optional

- `additional` (List of String)
- `display_name` (String)
- `provgroups` (Attributes List) (see [below for nested schema](#nestedatt--provgroups))
- `service_accounts` (Attributes List) (see [below for nested schema](#nestedatt--service_accounts))
Expand All @@ -45,6 +46,7 @@ Required:
Optional:

- `activation_required` (Boolean)
- `additional` (List of String)

Read-Only:

Expand All @@ -63,6 +65,7 @@ Required:

Optional:

- `additional` (List of String)
- `display_name` (String)

Read-Only:
Expand Down
2 changes: 2 additions & 0 deletions docs/resources/serviceaccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ description: |-
### Optional

- `active` (Boolean)
- `additional` (List of String)
- `description` (String)
- `secret` (Attributes) (see [below for nested schema](#nestedatt--secret))
- `technical_administrator_uuid` (String)
Expand Down Expand Up @@ -69,6 +70,7 @@ Required:

Optional:

- `additional` (List of String)
- `display_name` (String)

Read-Only:
Expand Down
1 change: 1 addition & 0 deletions examples/provider-install-verification/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ resource "keyhubpreview_group" "terra" {
client_uuid = "ebdf81ac-b02b-4335-9dc4-4a9bc4eb406d"
value = "GROUP_FULL_VAULT_ACCESS"
}]
additional = ["audit"]
}

resource "keyhubpreview_group_vaultrecord" "terrarecord" {
Expand Down
6 changes: 3 additions & 3 deletions internal/provider/datasource-account.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions internal/provider/datasource-certificate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions internal/provider/datasource-client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions internal/provider/datasource-directory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions internal/provider/datasource-group.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions internal/provider/datasource-groupclassification.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9f7fa1

Please sign in to comment.