modules/dapr_component/variables.tf (72 lines of code) (raw):

variable "component_type" { type = string description = "The type of the Dapr component." } variable "managed_environment" { type = object({ resource_id = string }) description = "The Dapr component resource." } variable "name" { type = string description = "The name of the Dapr component." nullable = false } variable "dapr_component_version" { type = string default = null description = "The version of the Dapr component." } variable "ignore_errors" { type = bool default = false description = "Whether to ignore errors for the Dapr component." } variable "init_timeout" { type = string default = null description = "The initialization timeout for the Dapr component." } variable "metadata" { type = list(object({ name = string secret_name = string value = string })) default = null description = "The metadata for the Dapr component." } variable "scopes" { type = list(string) default = [] description = "The scopes for the Dapr component." } variable "secret" { type = set(object({ # identity = string # key_vault_secret_id = string name = string value = string })) default = null description = "The secrets for the Dapr component." } variable "secret_store_component" { type = string default = null description = "The secret store component for the Dapr component." } variable "timeouts" { type = object({ create = optional(string) delete = optional(string) read = optional(string) update = optional(string) }) default = null description = <<DESCRIPTION - `create` - (Defaults to 30 minutes) Used when creating the Dapr component. - `delete` - (Defaults to 30 minutes) Used when deleting the Dapr component. - `read` - (Defaults to 5 minutes) Used when retrieving the Dapr component. - `update` - (Defaults to 30 minutes) Used when updating the Dapr component. DESCRIPTION }