Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
imrannayer committed Feb 1, 2024
1 parent 203dc1b commit 890c4e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module "volumes_only" {
| common\_labels | Common Labels as key value pairs. Applies to all the resources. If labels are provided in storege\_pool or storage\_volumes then they are merged with common labels before being applied to the resources | `map(any)` | `{}` | no |
| location | Name of the location. Usually a region name, expect for some STANDARD service level pools which require a zone name | `string` | n/a | yes |
| project\_id | The ID of the project in which the resource belongs | `string` | n/a | yes |
| storage\_volumes | Storage volumes details | <pre>list(object({<br> name = string<br> size = number<br> share_name = string<br> protocols = list(string)<br> labels = optional(map(string), {})<br> smb_settings = optional(list(string))<br> unix_permissions = optional(string)<br> description = optional(string)<br> snapshot_directory = optional(bool)<br> security_style = optional(string)<br> kerberos_enabled = optional(bool)<br> restricted_actions = optional(list(string))<br><br> export_policy_rules = optional(map(object({<br> allowed_clients = optional(string)<br> has_root_access = optional(string)<br> access_type = optional(string) #Possible values are: READ_ONLY, READ_WRITE, READ_NONE<br> nfsv3 = optional(bool)<br> nfsv4 = optional(bool)<br> kerberos5_read_only = optional(bool)<br> kerberos5_read_write = optional(bool)<br> kerberos5i_read_only = optional(bool)<br> kerberos5i_read_write = optional(bool)<br> kerberos5p_read_only = optional(bool)<br> kerberos5p_read_write = optional(bool)<br> })))<br><br> snapshot_policy = optional(object({<br> enabled = optional(bool, false)<br> hourly_schedule = optional(object({<br> snapshots_to_keep = optional(number)<br> minute = optional(number)<br> }), null)<br><br> daily_schedule = optional(object({<br> snapshots_to_keep = optional(number)<br> minute = optional(number)<br> hour = optional(number)<br> }), null)<br><br> weekly_schedule = optional(object({<br> snapshots_to_keep = optional(number)<br> minute = optional(number)<br> hour = optional(number)<br> day = optional(string)<br> }), null)<br> }))<br><br> }))</pre> | n/a | yes |
| storage\_volumes | List of Storage Volumes | <pre>list(object({<br> name = string<br> size = number<br> share_name = string<br> protocols = list(string)<br> labels = optional(map(string), {})<br> smb_settings = optional(list(string))<br> unix_permissions = optional(string)<br> description = optional(string)<br> snapshot_directory = optional(bool)<br> security_style = optional(string)<br> kerberos_enabled = optional(bool)<br> restricted_actions = optional(list(string))<br><br> export_policy_rules = optional(map(object({<br> allowed_clients = optional(string)<br> has_root_access = optional(string)<br> access_type = optional(string) #Possible values are: READ_ONLY, READ_WRITE, READ_NONE<br> nfsv3 = optional(bool)<br> nfsv4 = optional(bool)<br> kerberos5_read_only = optional(bool)<br> kerberos5_read_write = optional(bool)<br> kerberos5i_read_only = optional(bool)<br> kerberos5i_read_write = optional(bool)<br> kerberos5p_read_only = optional(bool)<br> kerberos5p_read_write = optional(bool)<br> })))<br><br> snapshot_policy = optional(object({<br> enabled = optional(bool, false)<br> hourly_schedule = optional(object({<br> snapshots_to_keep = optional(number)<br> minute = optional(number)<br> }), null)<br><br> daily_schedule = optional(object({<br> snapshots_to_keep = optional(number)<br> minute = optional(number)<br> hour = optional(number)<br> }), null)<br><br> weekly_schedule = optional(object({<br> snapshots_to_keep = optional(number)<br> minute = optional(number)<br> hour = optional(number)<br> day = optional(string)<br> }), null)<br> }))<br><br> }))</pre> | n/a | yes |
| storege\_pool | Storage pool details | <pre>object({<br> create_pool = optional(bool, false)<br> name = string<br> network_name = optional(string)<br> service_level = optional(string)<br> size = optional(number)<br> description = optional(string)<br> labels = optional(map(string), {})<br> ldap_enabled = optional(bool, false)<br> ad_id = optional(string)<br> })</pre> | n/a | yes |

## Outputs
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ variable "storage_volumes" {
}))

}))
description = "Storage volumes details"
description = "List of Storage Volumes"
}

0 comments on commit 890c4e2

Please sign in to comment.