You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(deps): updating module provider range strategy to support IBM provider v2 (#321)
* chore: raise IBM provider upper bound to < 3.0.0
* fix: removed name from run_volume_mounts and update deps
* SKIP UPGRADE TEST
---------
Co-authored-by: zikra-iqbal <zikra.iqbalmnnit@gmail.com>
| <aname="input_bindings"></a> [bindings](#input\_bindings)| A map of code engine bindings to be created. | <pre>map(object({<br/> secret_name = string<br/> components = list(object({<br/> name = string<br/> resource_type = string<br/> }))<br/> }))</pre> |`{}`| no |
163
163
| <a name="input_builds"></a> [builds](#input\_builds) | A map of code engine builds to be created. Requires 'ibmcloud\_api\_key' to be set for authentication and execution. | <pre>map(object({<br/> output_image = optional(string)<br/> output_secret = optional(string) # pragma: allowlist secret<br/> source_url = string<br/> strategy_type = optional(string)<br/> source_context_dir = optional(string)<br/> source_revision = optional(string)<br/> source_secret = optional(string)<br/> source_type = optional(string)<br/> strategy_size = optional(string)<br/> strategy_spec_file = optional(string)<br/> timeout = optional(number)<br/> region = optional(string)<br/> container_registry_namespace = optional(string)<br/> prefix = optional(string)<br/> }))</pre> | `{}` | no |
164
164
| <aname="input_cbr_rules"></a> [cbr\_rules](#input\_cbr\_rules)| The context-based restrictions rule to create. Only one rule is allowed. | <pre>list(object({<br/> description = string<br/> account_id = string<br/> rule_contexts = list(object({<br/> attributes = optional(list(object({<br/> name = string<br/> value = string<br/> }))) }))<br/> enforcement_mode = string<br/> operations = optional(list(object({<br/> api_types = list(object({<br/> api_type_id = string<br/> }))<br/> })))<br/> }))</pre> |`[]`| no |
165
165
| <aname="input_config_maps"></a> [config\_maps](#input\_config\_maps)| A map of code engine config maps to be created. | <pre>map(object({<br/> data = map(string)<br/> }))</pre> |`{}`| no |
166
166
| <aname="input_domain_mappings"></a> [domain\_mappings](#input\_domain\_mappings)| A map of code engine domain mappings to be created. | <pre>map(object({<br/> tls_secret = string # pragma: allowlist secret<br/> components = list(object({<br/> name = string<br/> resource_type = string<br/> }))<br/> }))</pre> |`{}`| no |
167
167
| <aname="input_existing_project_id"></a> [existing\_project\_id](#input\_existing\_project\_id)| The ID of the existing project to which code engine resources will be added. It is required if var.project\_name is null. |`string`|`null`| no |
168
168
| <aname="input_ibmcloud_api_key"></a> [ibmcloud\_api\_key](#input\_ibmcloud\_api\_key)| The IBM Cloud API key. Required only when 'builds' are specified and used. |`string`|`null`| no |
169
-
| <a name="input_jobs"></a> [jobs](#input\_jobs) | A map of code engine jobs to be created. | <pre>map(object({<br/> image_reference = string<br/> image_secret = optional(string)<br/> run_env_variables = optional(list(object({<br/> type = optional(string)<br/> name = optional(string)<br/> value = optional(string)<br/> prefix = optional(string)<br/> key = optional(string)<br/> reference = optional(string)<br/> })))<br/> run_volume_mounts = optional(list(object({<br/> mount_path = string<br/> reference = string<br/> name = optional(string)<br/> type = string<br/> })))<br/> run_arguments = optional(list(string))<br/> run_as_user = optional(number)<br/> run_commands = optional(list(string))<br/> run_mode = optional(string)<br/> run_service_account = optional(string)<br/> scale_array_spec = optional(string)<br/> scale_cpu_limit = optional(string)<br/> scale_ephemeral_storage_limit = optional(string)<br/> scale_max_execution_time = optional(number)<br/> scale_memory_limit = optional(string)<br/> scale_retry_limit = optional(number)<br/> }))</pre> | `{}` | no |
169
+
| <a name="input_jobs"></a> [jobs](#input\_jobs) | A map of code engine jobs to be created. | <pre>map(object({<br/> image_reference = string<br/> image_secret = optional(string)<br/> run_env_variables = optional(list(object({<br/> type = optional(string)<br/> name = optional(string)<br/> value = optional(string)<br/> prefix = optional(string)<br/> key = optional(string)<br/> reference = optional(string)<br/> })))<br/> run_volume_mounts = optional(list(object({<br/> mount_path = string<br/> reference = string<br/> type = string<br/> })))<br/> run_arguments = optional(list(string))<br/> run_as_user = optional(number)<br/> run_commands = optional(list(string))<br/> run_mode = optional(string)<br/> run_service_account = optional(string)<br/> scale_array_spec = optional(string)<br/> scale_cpu_limit = optional(string)<br/> scale_ephemeral_storage_limit = optional(string)<br/> scale_max_execution_time = optional(number)<br/> scale_memory_limit = optional(string)<br/> scale_retry_limit = optional(number)<br/> }))</pre> | `{}` | no |
170
170
| <aname="input_project_name"></a> [project\_name](#input\_project\_name)| The name of the project to which code engine resources will be added. It is required if var.existing\_project\_id is null. |`string`|`null`| no |
171
171
| <aname="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id)| ID of the resource group to use when creating resources. |`string`| n/a | yes |
172
172
| <aname="input_secrets"></a> [secrets](#input\_secrets)| A map of code engine secrets to be created. | <pre>map(object({<br/> format = string<br/> data = map(string)<br/> # Issue with provider, service_access is not supported at the moment. https://github.com/IBM-Cloud/terraform-provider-ibm/issues/5232<br/> # service_access = optional(list(object({<br/> # resource_key = list(object({<br/> # id = optional(string)<br/> # }))<br/> # role = list(object({<br/> # crn = optional(string)<br/> # }))<br/> # service_instance = list(object({<br/> # id = optional(string)<br/> # }))<br/> # })))<br/> }))</pre> |`{}`| no |
| <aname="input_run_commands"></a> [run\_commands](#input\_run\_commands)| Commands for the app that are passed to start the container. |`list(string)`|`[]`| no |
67
67
| <aname="input_run_env_variables"></a> [run\_env\_variables](#input\_run\_env\_variables)| References to config maps, secrets or a literal values that are exposed as environment variables within the running application. | <pre>list(object({<br/> type = optional(string)<br/> name = optional(string)<br/> value = optional(string)<br/> prefix = optional(string)<br/> key = optional(string)<br/> reference = optional(string)<br/> }))</pre> |`[]`| no |
68
68
| <aname="input_run_service_account"></a> [run\_service\_account](#input\_run\_service\_account)| The name of the service account. |`string`|`"default"`| no |
69
-
| <aname="input_run_volume_mounts"></a> [run\_volume\_mounts](#input\_run\_volume\_mounts)| Optional mounts of config maps or a secrets. | <pre>list(object({<br/> mount_path = string<br/> reference = string<br/> name = optional(string)<br/> type = string<br/> }))</pre> |`[]`| no |
69
+
| <aname="input_run_volume_mounts"></a> [run\_volume\_mounts](#input\_run\_volume\_mounts)| Optional mounts of config maps or a secrets. | <pre>list(object({<br/> mount_path = string<br/> reference = string<br/> type = string<br/> }))</pre> |`[]`| no |
70
70
| <aname="input_scale_concurrency"></a> [scale\_concurrency](#input\_scale\_concurrency)| The maximum number of requests that can be processed concurrently per instance. |`number`|`100`| no |
71
71
| <aname="input_scale_concurrency_target"></a> [scale\_concurrency\_target](#input\_scale\_concurrency\_target)| The threshold of concurrent requests per instance at which one or more additional instances are created. |`number`|`null`| no |
72
72
| <aname="input_scale_cpu_limit"></a> [scale\_cpu\_limit](#input\_scale\_cpu\_limit)| The number of CPU set for the instance of the app. |`string`|`"1"`| no |
0 commit comments