https://github.com/terraform-yacloud-modules/terraform-yandex-function
Terraform module to manage Function resources within the Yandex.Cloud.
https://github.com/terraform-yacloud-modules/terraform-yandex-function
hacktoberfest yandex yandex-cloud
Last synced: 3 months ago
JSON representation
Terraform module to manage Function resources within the Yandex.Cloud.
- Host: GitHub
- URL: https://github.com/terraform-yacloud-modules/terraform-yandex-function
- Owner: terraform-yacloud-modules
- License: apache-2.0
- Created: 2024-07-27T12:08:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-25T13:35:40.000Z (8 months ago)
- Last Synced: 2025-02-25T14:39:00.243Z (8 months ago)
- Topics: hacktoberfest, yandex, yandex-cloud
- Language: HCL
- Homepage:
- Size: 92.8 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Yandex Cloud Terraform module
Terraform module which creates Yandex Cloud resources.
## Examples
Examples codified under
the [`examples`](https://github.com/terraform-yacloud-modules/terraform-yandex-module-template/tree/main/examples) are intended
to give users references for how to use the module(s) as well as testing/validating changes to the source code of the
module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow
maintainers to test your changes and to keep the examples up to date for users. Thank you!## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3 |
| [archive](#requirement\_archive) | >= 2.0.0 |
| [yandex](#requirement\_yandex) | >= 0.72.0 |## Providers
| Name | Version |
|------|---------|
| [yandex](#provider\_yandex) | >= 0.72.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [yandex_function.test_function](https://registry.terraform.io/providers/yandex-cloud/yandex/latest/docs/resources/function) | resource |
| [yandex_function_iam_binding.invoker](https://registry.terraform.io/providers/yandex-cloud/yandex/latest/docs/resources/function_iam_binding) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [async\_invocation](#input\_async\_invocation) | Config for asynchronous invocations of Yandex Cloud Function |object({| `null` | no |
retries_count = string
service_account_id = string
ymq_failure_target = optional(object({
service_account_id = string
arn = string
}))
ymq_success_target = optional(object({
service_account_id = string
arn = string
}))
})
| [entrypoint](#input\_entrypoint) | Entrypoint for Yandex Cloud Function | `string` | n/a | yes |
| [execution\_timeout](#input\_execution\_timeout) | Execution timeout in seconds for Yandex Cloud Function | `string` | `"3"` | no |
| [function\_description](#input\_function\_description) | Description of the Yandex Cloud Function | `string` | `null` | no |
| [function\_name](#input\_function\_name) | Yandex Cloud Function name | `string` | n/a | yes |
| [log\_options](#input\_log\_options) | Options for logging from Yandex Cloud Function |object({| `null` | no |
log_group_id = string
min_level = string
})
| [memory](#input\_memory) | Memory in megabytes (aligned to 128MB) for Yandex Cloud Function | `string` | n/a | yes |
| [public\_function](#input\_public\_function) | Determines if the function should be publicly accessible | `bool` | `false` | no |
| [runtime](#input\_runtime) | Runtime for Yandex Cloud Function | `string` | n/a | yes |
| [secrets](#input\_secrets) | Secrets for Yandex Cloud Function |list(object({| `[]` | no |
id = string
version_id = string
key = string
environment_variable = string
}))
| [service\_account\_id](#input\_service\_account\_id) | Service account ID for Yandex Cloud Function | `string` | `null` | no |
| [tags](#input\_tags) | Tags for Yandex Cloud Function | `list(string)` | `[]` | no |
| [user\_hash](#input\_user\_hash) | User-defined string for current function version | `string` | n/a | yes |
| [zip\_filename](#input\_zip\_filename) | Filename to zip archive for the version | `string` | n/a | yes |## Outputs
No outputs.
## License
Apache-2.0 Licensed.
See [LICENSE](https://github.com/terraform-yacloud-modules/terraform-yandex-module-template/blob/main/LICENSE).