Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Ensure membership_requires and ownership_requires are optional. #957

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions terraform/protoc-gen-terraform-accesslist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ required_fields:
- "Metadata.name"
- "AccessList.spec.owners"
- "AccessList.spec.grants"
- "AccessList.spec.membership_requires"
- "AccessList.spec.ownership_requires"

plan_modifiers:
# Force to recreate resource if it's name changes
Expand Down
4 changes: 2 additions & 2 deletions terraform/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ spec is the specification for the access list.
| audit | object | | audit describes the frequency that this access list must be audited. |
| description | string | | description is an optional plaintext description of the access list. |
| grants | object | * | grants describes the access granted by membership to this access list. |
| membership_requires | object | * | membership_requires describes the requirements for a user to be a member of the access list. For a membership to an access list to be effective, the user must meet the requirements of Membership_requires and must be in the members list. |
| membership_requires | object | | membership_requires describes the requirements for a user to be a member of the access list. For a membership to an access list to be effective, the user must meet the requirements of Membership_requires and must be in the members list. |
| owners | object | * | owners is a list of owners of the access list. |
| ownership_requires | object | * | ownership_requires describes the requirements for a user to be an owner of the access list. For ownership of an access list to be effective, the user must meet the requirements of ownership_requires and must be in the owners list. |
| ownership_requires | object | | ownership_requires describes the requirements for a user to be an owner of the access list. For ownership of an access list to be effective, the user must meet the requirements of ownership_requires and must be in the owners list. |
| title | string | | title is a plaintext short description of the access list. |

#### spec.audit
Expand Down
4 changes: 2 additions & 2 deletions terraform/tfschema/accesslist/v1/accesslist_terraform.go

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