Skip to content

Commit 1775279

Browse files
chore(deps): update ci dependencies (#104)
1 parent 89cdb95 commit 1775279

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,16 @@ No resources.
154154

155155
| Name | Description | Type | Default | Required |
156156
|------|-------------|------|---------|:--------:|
157-
| <a name="input_apps"></a> [apps](#input\_apps) | A map of code engine apps 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> image_port = optional(number)<br> managed_domain_mappings = optional(string)<br> run_arguments = optional(list(string))<br> run_as_user = optional(number)<br> run_commands = optional(list(string))<br> run_service_account = optional(string)<br> scale_concurrency = optional(number)<br> scale_concurrency_target = optional(number)<br> scale_cpu_limit = optional(string)<br> scale_ephemeral_storage_limit = optional(string)<br> scale_initial_instances = optional(number)<br> scale_max_instances = optional(number)<br> scale_memory_limit = optional(string)<br> scale_min_instances = optional(number)<br> scale_request_timeout = optional(number)<br> }))</pre> | `{}` | no |
158-
| <a name="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 |
159-
| <a name="input_builds"></a> [builds](#input\_builds) | A map of code engine builds to be created. | <pre>map(object({<br> output_image = string<br> output_secret = string # pragma: allowlist secret<br> source_url = string<br> strategy_type = 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> }))</pre> | `{}` | no |
160-
| <a name="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 |
161-
| <a name="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 |
157+
| <a name="input_apps"></a> [apps](#input\_apps) | A map of code engine apps 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/> image_port = optional(number)<br/> managed_domain_mappings = optional(string)<br/> run_arguments = optional(list(string))<br/> run_as_user = optional(number)<br/> run_commands = optional(list(string))<br/> run_service_account = optional(string)<br/> scale_concurrency = optional(number)<br/> scale_concurrency_target = optional(number)<br/> scale_cpu_limit = optional(string)<br/> scale_ephemeral_storage_limit = optional(string)<br/> scale_initial_instances = optional(number)<br/> scale_max_instances = optional(number)<br/> scale_memory_limit = optional(string)<br/> scale_min_instances = optional(number)<br/> scale_request_timeout = optional(number)<br/> }))</pre> | `{}` | no |
158+
| <a name="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 |
159+
| <a name="input_builds"></a> [builds](#input\_builds) | A map of code engine builds to be created. | <pre>map(object({<br/> output_image = string<br/> output_secret = string # pragma: allowlist secret<br/> source_url = string<br/> strategy_type = 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/> }))</pre> | `{}` | no |
160+
| <a name="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 |
161+
| <a name="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 |
162162
| <a name="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 |
163-
| <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 |
163+
| <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 |
164164
| <a name="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 |
165165
| <a name="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 |
166-
| <a name="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 |
166+
| <a name="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 |
167167

168168
### Outputs
169169

modules/app/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ No modules.
6464
| <a name="input_run_arguments"></a> [run\_arguments](#input\_run\_arguments) | Arguments for the app that are passed to start the container. | `list(string)` | `[]` | no |
6565
| <a name="input_run_as_user"></a> [run\_as\_user](#input\_run\_as\_user) | The user ID (UID) to run the app. | `number` | `null` | no |
6666
| <a name="input_run_commands"></a> [run\_commands](#input\_run\_commands) | Commands for the app that are passed to start the container. | `list(string)` | `[]` | no |
67-
| <a name="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 |
67+
| <a name="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 |
6868
| <a name="input_run_service_account"></a> [run\_service\_account](#input\_run\_service\_account) | The name of the service account. | `string` | `"default"` | no |
69-
| <a name="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+
| <a name="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 |
7070
| <a name="input_scale_concurrency"></a> [scale\_concurrency](#input\_scale\_concurrency) | The maximum number of requests that can be processed concurrently per instance. | `number` | `100` | no |
7171
| <a name="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 |
7272
| <a name="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 |

modules/binding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ No modules.
5454

5555
| Name | Description | Type | Default | Required |
5656
|------|-------------|------|---------|:--------:|
57-
| <a name="input_components"></a> [components](#input\_components) | A reference to another component. | <pre>list(object({<br> name = string<br> resource_type = string<br> }))</pre> | n/a | yes |
57+
| <a name="input_components"></a> [components](#input\_components) | A reference to another component. | <pre>list(object({<br/> name = string<br/> resource_type = string<br/> }))</pre> | n/a | yes |
5858
| <a name="input_prefix"></a> [prefix](#input\_prefix) | Value that is set as prefix in the component that is bound. | `string` | n/a | yes |
5959
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | The ID of the project where binding will be created. | `string` | n/a | yes |
6060
| <a name="input_secret_name"></a> [secret\_name](#input\_secret\_name) | The service access secret that is binding to a component. | `string` | n/a | yes |

modules/domain_mapping/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ No modules.
5454

5555
| Name | Description | Type | Default | Required |
5656
|------|-------------|------|---------|:--------:|
57-
| <a name="input_components"></a> [components](#input\_components) | A reference to another component. | <pre>list(object({<br> name = string<br> resource_type = string<br> }))</pre> | n/a | yes |
57+
| <a name="input_components"></a> [components](#input\_components) | A reference to another component. | <pre>list(object({<br/> name = string<br/> resource_type = string<br/> }))</pre> | n/a | yes |
5858
| <a name="input_name"></a> [name](#input\_name) | The name of the domain mapping. | `string` | n/a | yes |
5959
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | The ID of the project where domain mapping will be created. | `string` | n/a | yes |
6060
| <a name="input_tls_secret"></a> [tls\_secret](#input\_tls\_secret) | The name of the TLS secret that holds the certificate and private key of this domain mapping. | `string` | n/a | yes |

modules/job/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ No modules.
6262
| <a name="input_run_arguments"></a> [run\_arguments](#input\_run\_arguments) | Arguments for the app that are passed to start the container. | `list(string)` | `[]` | no |
6363
| <a name="input_run_as_user"></a> [run\_as\_user](#input\_run\_as\_user) | The user ID (UID) to run the app. | `number` | `null` | no |
6464
| <a name="input_run_commands"></a> [run\_commands](#input\_run\_commands) | Commands for the app that are passed to start the container. | `list(string)` | `[]` | no |
65-
| <a name="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 |
65+
| <a name="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 |
6666
| <a name="input_run_mode"></a> [run\_mode](#input\_run\_mode) | Commands for the app that are passed to start the container. | `string` | `"task"` | no |
6767
| <a name="input_run_service_account"></a> [run\_service\_account](#input\_run\_service\_account) | The name of the service account. | `string` | `"default"` | no |
68-
| <a name="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 |
68+
| <a name="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 |
6969
| <a name="input_scale_array_spec"></a> [scale\_array\_spec](#input\_scale\_array\_spec) | Define a custom set of array indices as comma-separated list containing single values and hyphen-separated ranges like 5,12-14,23,27. | `string` | `null` | no |
7070
| <a name="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 |
7171
| <a name="input_scale_ephemeral_storage_limit"></a> [scale\_ephemeral\_storage\_limit](#input\_scale\_ephemeral\_storage\_limit) | The amount of ephemeral storage to set for the instance of the app. | `string` | `"400M"` | no |

tests/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module github.com/terraform-ibm-modules/terraform-ibm-code-engine
22

3-
go 1.22
3+
go 1.22.0
44

55
toolchain go1.23.1
66

77
require (
88
github.com/stretchr/testify v1.9.0
9-
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.38.2
9+
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.38.3
1010
)
1111

1212
require (
@@ -17,10 +17,10 @@ require (
1717
cloud.google.com/go/storage v1.30.1 // indirect
1818
dario.cat/mergo v1.0.0 // indirect
1919
github.com/IBM-Cloud/bluemix-go v0.0.0-20240719075425-078fcb3a55be // indirect
20-
github.com/IBM-Cloud/power-go-client v1.7.1 // indirect
20+
github.com/IBM-Cloud/power-go-client v1.8.1 // indirect
2121
github.com/IBM/cloud-databases-go-sdk v0.7.0 // indirect
2222
github.com/IBM/go-sdk-core/v5 v5.17.5 // indirect
23-
github.com/IBM/platform-services-go-sdk v0.69.0 // indirect
23+
github.com/IBM/platform-services-go-sdk v0.69.1 // indirect
2424
github.com/IBM/project-go-sdk v0.3.0 // indirect
2525
github.com/IBM/schematics-go-sdk v0.3.0 // indirect
2626
github.com/IBM/vpc-go-sdk v1.0.2 // indirect

0 commit comments

Comments
 (0)