Skip to content

Commit

Permalink
Add more validation
Browse files Browse the repository at this point in the history
  • Loading branch information
papegaaij committed Oct 16, 2023
1 parent 8e57519 commit acbef06
Show file tree
Hide file tree
Showing 18 changed files with 1,362 additions and 1,275 deletions.
54 changes: 27 additions & 27 deletions docs/data-sources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -3575,12 +3575,12 @@ Read-Only:
- `name_in_system` (String)
- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--owner))
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--permissions))
- `provisioning_group_on_system_primer_type` (String)
- `short_name_in_system` (String)
- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system))
- `type` (String)

<a id="nestedatt--additional_objects--owned_groups_on_system--items--links"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system`
### Nested Schema for `additional_objects.owned_groups_on_system.items.type`

Read-Only:

Expand All @@ -3591,18 +3591,18 @@ Read-Only:


<a id="nestedatt--additional_objects--owned_groups_on_system--items--owner"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system`
### Nested Schema for `additional_objects.owned_groups_on_system.items.type`

Read-Only:

- `admin` (Boolean)
- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system--links))
- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--links))
- `name` (String)
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system--permissions))
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--permissions))
- `uuid` (String)

<a id="nestedatt--additional_objects--owned_groups_on_system--items--system--links"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system.links`
<a id="nestedatt--additional_objects--owned_groups_on_system--items--type--links"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.type.links`

Read-Only:

Expand All @@ -3612,8 +3612,8 @@ Read-Only:
- `type_escaped` (String)


<a id="nestedatt--additional_objects--owned_groups_on_system--items--system--permissions"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system.permissions`
<a id="nestedatt--additional_objects--owned_groups_on_system--items--type--permissions"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.type.permissions`

Read-Only:

Expand All @@ -3625,7 +3625,7 @@ Read-Only:


<a id="nestedatt--additional_objects--owned_groups_on_system--items--permissions"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system`
### Nested Schema for `additional_objects.owned_groups_on_system.items.type`

Read-Only:

Expand All @@ -3636,20 +3636,20 @@ Read-Only:


<a id="nestedatt--additional_objects--owned_groups_on_system--items--system"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system`
### Nested Schema for `additional_objects.owned_groups_on_system.items.type`

Read-Only:

- `active` (Boolean)
- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system--links))
- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--links))
- `name` (String)
- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system--organizational_unit))
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system--permissions))
- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--organizational_unit))
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--permissions))
- `provisioning_provisioned_system_primer_type` (String)
- `uuid` (String)

<a id="nestedatt--additional_objects--owned_groups_on_system--items--system--links"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system.links`
<a id="nestedatt--additional_objects--owned_groups_on_system--items--type--links"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.type.links`

Read-Only:

Expand All @@ -3659,18 +3659,18 @@ Read-Only:
- `type_escaped` (String)


<a id="nestedatt--additional_objects--owned_groups_on_system--items--system--organizational_unit"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system.organizational_unit`
<a id="nestedatt--additional_objects--owned_groups_on_system--items--type--organizational_unit"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.type.organizational_unit`

Read-Only:

- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system--organizational_unit--links))
- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--organizational_unit--links))
- `name` (String)
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--system--organizational_unit--permissions))
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--organizational_unit--permissions))
- `uuid` (String)

<a id="nestedatt--additional_objects--owned_groups_on_system--items--system--organizational_unit--links"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system.organizational_unit.uuid`
<a id="nestedatt--additional_objects--owned_groups_on_system--items--type--organizational_unit--links"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.type.organizational_unit.uuid`

Read-Only:

Expand All @@ -3680,8 +3680,8 @@ Read-Only:
- `type_escaped` (String)


<a id="nestedatt--additional_objects--owned_groups_on_system--items--system--organizational_unit--permissions"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system.organizational_unit.uuid`
<a id="nestedatt--additional_objects--owned_groups_on_system--items--type--organizational_unit--permissions"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.type.organizational_unit.uuid`

Read-Only:

Expand All @@ -3692,8 +3692,8 @@ Read-Only:



<a id="nestedatt--additional_objects--owned_groups_on_system--items--system--permissions"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.system.permissions`
<a id="nestedatt--additional_objects--owned_groups_on_system--items--type--permissions"></a>
### Nested Schema for `additional_objects.owned_groups_on_system.items.type.permissions`

Read-Only:

Expand Down Expand Up @@ -4826,9 +4826,9 @@ Read-Only:
- `name_in_system` (String)
- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--owner))
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--permissions))
- `provisioning_group_on_system_primer_type` (String)
- `short_name_in_system` (String)
- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--system))
- `type` (String)

<a id="nestedatt--additional_objects--systems--items--permissions--links"></a>
### Nested Schema for `additional_objects.systems.items.permissions.links`
Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/serviceaccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ Read-Only:
- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--links))
- `name_in_system` (String)
- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--permissions))
- `provisioning_group_on_system_primer_type` (String)
- `short_name_in_system` (String)
- `type` (String)

<a id="nestedatt--additional_objects--groups--items--links"></a>
### Nested Schema for `additional_objects.groups.items.short_name_in_system`
### Nested Schema for `additional_objects.groups.items.type`

Read-Only:

Expand All @@ -92,7 +92,7 @@ Read-Only:


<a id="nestedatt--additional_objects--groups--items--permissions"></a>
### Nested Schema for `additional_objects.groups.items.short_name_in_system`
### Nested Schema for `additional_objects.groups.items.type`

Read-Only:

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ Required:

- `name_in_system` (String)
- `owner_uuid` (String)
- `provisioning_group_on_system_primer_type` (String)
- `type` (String)

Optional:

Expand Down Expand Up @@ -1896,7 +1896,7 @@ Required:

- `name_in_system` (String)
- `owner_uuid` (String)
- `provisioning_group_on_system_primer_type` (String)
- `type` (String)

Optional:

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/grouponsystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ description: |-
- `name_in_system` (String)
- `owner_uuid` (String)
- `provisioned_system_uuid` (String)
- `provisioning_group_on_system_primer_type` (String)
- `type` (String)

### Optional

Expand Down Expand Up @@ -74,7 +74,7 @@ Required:

- `name_in_system` (String)
- `owner_uuid` (String)
- `provisioning_group_on_system_primer_type` (String)
- `type` (String)

Optional:

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/serviceaccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Optional:
Required:

- `name_in_system` (String)
- `provisioning_group_on_system_primer_type` (String)
- `type` (String)

Optional:

Expand Down
6 changes: 5 additions & 1 deletion examples/provider-install-verification/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ provider "keyhubpreview" {
#}

resource "keyhubpreview_group" "terra" {
name = "Terraform x"
name = "Terraform"
additional_objects = {
accounts = {
items = [{
Expand All @@ -64,6 +64,10 @@ resource "keyhubpreview_group" "terra" {
}
}

resource "keyhubpreview_grouponsystem" "terragos" {

}

#output "resource_group" {
# value = resource.keyhubpreview_group.terra
#}
Loading

0 comments on commit acbef06

Please sign in to comment.