Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.31 KB

File metadata and controls

61 lines (47 loc) · 1.31 KB
page_title subcategory description
supabase_function Resource - terraform-provider-supabase
Function Resource

supabase_function (Resource)

Function Resource

Example Usage

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
}

Schema

Required

  • body (String)
  • ref (String) Project ref

Optional

  • compute_multiplier (Number)
  • entrypoint_path (String)
  • import_map (Boolean)
  • import_map_path (String)
  • name (String)
  • slug (String)
  • verify_jwt (Boolean)

Read-Only

  • 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

Import is supported using the following syntax:

terraform import supabase_function.my_supabase_function "{ \"ref\": \"\",  \"slug\": \"\"}"