Skip to content

terraform-yacloud-modules/terraform-yandex-function

Repository files navigation

Yandex Cloud Terraform module

Terraform module which creates Yandex Cloud resources.

Examples

Examples codified under the 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 >= 1.3
archive >= 2.0.0
yandex >= 0.72.0

Providers

Name Version
yandex >= 0.72.0

Modules

No modules.

Resources

Name Type
yandex_function.test_function resource
yandex_function_iam_binding.invoker resource

Inputs

Name Description Type Default Required
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 Entrypoint for Yandex Cloud Function string n/a yes
execution_timeout Execution timeout in seconds for Yandex Cloud Function string "3" no
function_description Description of the Yandex Cloud Function string null no
function_name Yandex Cloud Function name string n/a yes
log_options Options for logging from Yandex Cloud Function
object({
log_group_id = string
min_level = string
})
null no
memory Memory in megabytes (aligned to 128MB) for Yandex Cloud Function string n/a yes
public_function Determines if the function should be publicly accessible bool false no
runtime Runtime for Yandex Cloud Function string n/a yes
secrets Secrets for Yandex Cloud Function
list(object({
id = string
version_id = string
key = string
environment_variable = string
}))
[] no
service_account_id Service account ID for Yandex Cloud Function string null no
tags Tags for Yandex Cloud Function list(string) [] no
user_hash User-defined string for current function version string n/a yes
zip_filename Filename to zip archive for the version string n/a yes

Outputs

No outputs.

License

Apache-2.0 Licensed. See LICENSE.

About

Terraform module to manage Function resources within the Yandex.Cloud.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages