An open API service indexing awesome lists of open source software.

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.

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({
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
}))
})
| `null` | no |
| [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({
log_group_id = string
min_level = string
})
| `null` | no |
| [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({
id = string
version_id = string
key = string
environment_variable = string
}))
| `[]` | no |
| [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).