Add toggle to tfdoc to remove type hints (#3842)
* Add toggle to tfdoc to remove type hints * Update all readmes * Fix python formatting
This commit is contained in:
@@ -178,7 +178,6 @@ module "dr_example" {
|
||||
}
|
||||
# tftest inventory=server.yaml
|
||||
```
|
||||
|
||||
<!-- BEGIN TFDOC -->
|
||||
## Variables
|
||||
|
||||
@@ -186,11 +185,11 @@ module "dr_example" {
|
||||
|---|---|:---:|:---:|:---:|
|
||||
| [location](variables.tf#L47) | Location for the Backup Vault and Plans (e.g. us-central1). | <code>string</code> | ✓ | |
|
||||
| [project_id](variables.tf#L71) | Project ID. | <code>string</code> | ✓ | |
|
||||
| [backup_plans](variables.tf#L17) | Map of Backup Plans to create in this Vault. | <code title="map(object({ resource_type = string description = optional(string) backup_rules = list(object({ rule_id = string backup_retention_days = number standard_schedule = object({ recurrence_type = string hourly_frequency = optional(number) days_of_week = optional(list(string)) days_of_month = optional(list(number)) months = optional(list(string)) week_day_of_month = optional(object({ week_of_month = string day_of_week = string })) time_zone = string backup_window = object({ start_hour_of_day = number end_hour_of_day = number }) }) })) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
| [management_server_config](variables.tf#L52) | Configuration to create a Management Server. If null, no server is created. | <code title="object({ name = string type = optional(string, "BACKUP_RESTORE") network_config = optional(object({ network = string peering_mode = optional(string, "PRIVATE_SERVICE_ACCESS") })) })">object({…})</code> | | <code>null</code> |
|
||||
| [backup_plans](variables.tf#L17) | Map of Backup Plans to create in this Vault. | <code>map(object({…}))</code> | | <code>{}</code> |
|
||||
| [management_server_config](variables.tf#L52) | Configuration to create a Management Server. If null, no server is created. | <code>object({…})</code> | | <code>null</code> |
|
||||
| [name](variables.tf#L65) | Name of the Backup Vault to create. Leave null if reusing an existing vault via `vault_reuse`. | <code>string</code> | | <code>null</code> |
|
||||
| [vault_config](variables.tf#L76) | Configuration for the Backup Vault. Only used if `vault_reuse` is null. | <code title="object({ description = optional(string) labels = optional(map(string), {}) annotations = optional(map(string), {}) access_restriction = optional(string) backup_minimum_enforced_retention_duration = optional(string, "100000s") backup_retention_inheritance = optional(string) force_update = optional(bool, false) ignore_inactive_datasources = optional(bool, false) ignore_backup_plan_references = optional(bool, false) allow_missing = optional(bool, false) })">object({…})</code> | | <code>{}</code> |
|
||||
| [vault_reuse](variables.tf#L93) | Configuration to reuse an existing Backup Vault. | <code title="object({ vault_id = string })">object({…})</code> | | <code>null</code> |
|
||||
| [vault_config](variables.tf#L76) | Configuration for the Backup Vault. Only used if `vault_reuse` is null. | <code>object({…})</code> | | <code>{}</code> |
|
||||
| [vault_reuse](variables.tf#L93) | Configuration to reuse an existing Backup Vault. | <code>object({…})</code> | | <code>null</code> |
|
||||
|
||||
## Outputs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user