| page_title | supabase_function Resource - terraform-provider-supabase |
|---|---|
| subcategory | |
| description | Function Resource |
Function Resource
resource "supabase_function" "my_function" {
body = "...my_body..."
compute_multiplier = 2.57
entrypoint_path = "...my_entrypoint_path..."
import_map = false
import_map_path = "...my_import_map_path..."
name = "...my_name..."
ref = "...my_ref..."
slug = "...my_slug..."
verify_jwt = true
}body(String)ref(String) Project ref
compute_multiplier(Number)entrypoint_path(String)import_map(Boolean)import_map_path(String)name(String)slug(String) Function slugverify_jwt(Boolean)
created_at(Number)id(String) The ID of this resource.status(String) must be one of ["ACTIVE", "REMOVED", "THROTTLED"]updated_at(Number)version(Number)
Import is supported using the following syntax:
terraform import supabase_function.my_supabase_function "{ \"ref\": \"\", \"slug\": \"\"}"