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

Commit

Permalink
Ensure membership_requires and ownership_requires are optional.
Browse files Browse the repository at this point in the history
The membership_requires and ownership_requires fields are now optional.
  • Loading branch information
Mike Wilson committed Oct 18, 2023
1 parent a7d711b commit e102caa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
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.

0 comments on commit e102caa

Please sign in to comment.