New tfdoc version (#396)
* update tfdoc * rewrite check docs, refactor tfdoc replace, regenerate modules READMEs * remove dead code from check docs * do not fail on missing variable files in check docs * fix typos
This commit is contained in:
committed by
GitHub
parent
d2cbf800fc
commit
1ac3fe4460
@@ -208,27 +208,28 @@ module "cloud_run" {
|
||||
```
|
||||
|
||||
<!-- BEGIN TFDOC -->
|
||||
|
||||
## Variables
|
||||
|
||||
| name | description | type | required | default |
|
||||
|---|---|:---: |:---:|:---:|
|
||||
| containers | Containers | <code title="list(object({ image = string options = object({ command = list(string) args = list(string) env = map(string) env_from = map(object({ key = string name = string })) }) resources = object({ limits = object({ cpu = string memory = string }) requests = object({ cpu = string memory = string }) }) ports = list(object({ name = string protocol = string container_port = string })) volume_mounts = map(string) }))">list(object({...}))</code> | ✓ | |
|
||||
| name | Name used for cloud run service | <code title="">string</code> | ✓ | |
|
||||
| project_id | Project id used for all resources. | <code title="">string</code> | ✓ | |
|
||||
| *audit_log_triggers* | Event arc triggers (Audit log) | <code title="list(object({ service_name = string method_name = string }))">list(object({...}))</code> | | <code title="">null</code> |
|
||||
| *iam* | IAM bindings for Cloud Run service in {ROLE => [MEMBERS]} format. | <code title="map(list(string))">map(list(string))</code> | | <code title="">{}</code> |
|
||||
| *ingress_settings* | Ingress settings | <code title="">string</code> | | <code title="">null</code> |
|
||||
| *labels* | Resource labels | <code title="map(string)">map(string)</code> | | <code title="">{}</code> |
|
||||
| *prefix* | Optional prefix used for resource names. | <code title="">string</code> | | <code title="">null</code> |
|
||||
| *pubsub_triggers* | Eventarc triggers (Pub/Sub) | <code title="list(string)">list(string)</code> | | <code title="">null</code> |
|
||||
| *region* | Region used for all resources. | <code title="">string</code> | | <code title="">europe-west1</code> |
|
||||
| *revision_name* | Revision name | <code title="">string</code> | | <code title="">null</code> |
|
||||
| *service_account* | Service account email. Unused if service account is auto-created. | <code title="">string</code> | | <code title="">null</code> |
|
||||
| *service_account_create* | Auto-create service account. | <code title="">bool</code> | | <code title="">false</code> |
|
||||
| *traffic* | Traffic | <code title="map(number)">map(number)</code> | | <code title="">null</code> |
|
||||
| *volumes* | Volumes | <code title="list(object({ name = string secret_name = string items = list(object({ key = string path = string })) }))">list(object({...}))</code> | | <code title="">null</code> |
|
||||
| *vpc_connector* | VPC connector configuration. Set create to 'true' if a new connecto needs to be created | <code title="object({ create = bool name = string egress_settings = string })">object({...})</code> | | <code title="">null</code> |
|
||||
| *vpc_connector_config* | VPC connector network configuration. Must be provided if new VPC connector is being created | <code title="object({ ip_cidr_range = string network = string })">object({...})</code> | | <code title="">null</code> |
|
||||
|---|---|:---:|:---:|:---:|
|
||||
| containers | Containers | <code title="list(object({ image = string options = object({ command = list(string) args = list(string) env = map(string) env_from = map(object({ key = string name = string })) }) resources = object({ limits = object({ cpu = string memory = string }) requests = object({ cpu = string memory = string }) }) ports = list(object({ name = string protocol = string container_port = string })) volume_mounts = map(string) }))">list(object({…}))</code> | ✓ | |
|
||||
| name | Name used for cloud run service | <code>string</code> | ✓ | |
|
||||
| project_id | Project id used for all resources. | <code>string</code> | ✓ | |
|
||||
| audit_log_triggers | Event arc triggers (Audit log) | <code title="list(object({ service_name = string method_name = string }))">list(object({…}))</code> | | <code>null</code> |
|
||||
| iam | IAM bindings for Cloud Run service in {ROLE => [MEMBERS]} format. | <code>map(list(string))</code> | | <code>{}</code> |
|
||||
| ingress_settings | Ingress settings | <code>string</code> | | <code>null</code> |
|
||||
| labels | Resource labels | <code>map(string)</code> | | <code>{}</code> |
|
||||
| prefix | Optional prefix used for resource names. | <code>string</code> | | <code>null</code> |
|
||||
| pubsub_triggers | Eventarc triggers (Pub/Sub) | <code>list(string)</code> | | <code>null</code> |
|
||||
| region | Region used for all resources. | <code>string</code> | | <code>"europe-west1"</code> |
|
||||
| revision_name | Revision name | <code>string</code> | | <code>null</code> |
|
||||
| service_account | Service account email. Unused if service account is auto-created. | <code>string</code> | | <code>null</code> |
|
||||
| service_account_create | Auto-create service account. | <code>bool</code> | | <code>false</code> |
|
||||
| traffic | Traffic | <code>map(number)</code> | | <code>null</code> |
|
||||
| volumes | Volumes | <code title="list(object({ name = string secret_name = string items = list(object({ key = string path = string })) }))">list(object({…}))</code> | | <code>null</code> |
|
||||
| vpc_connector | VPC connector configuration. Set create to 'true' if a new connecto needs to be created | <code title="object({ create = bool name = string egress_settings = string })">object({…})</code> | | <code>null</code> |
|
||||
| vpc_connector_config | VPC connector network configuration. Must be provided if new VPC connector is being created | <code title="object({ ip_cidr_range = string network = string })">object({…})</code> | | <code>null</code> |
|
||||
|
||||
## Outputs
|
||||
|
||||
@@ -240,4 +241,6 @@ module "cloud_run" {
|
||||
| service_account_iam_email | Service account email. | |
|
||||
| service_name | Cloud Run service name | |
|
||||
| vpc_connector | VPC connector resource if created. | |
|
||||
|
||||
|
||||
<!-- END TFDOC -->
|
||||
|
||||
Reference in New Issue
Block a user