Skip to content

Latest commit

 

History

History
123 lines (82 loc) · 3.4 KB

File metadata and controls

123 lines (82 loc) · 3.4 KB
page_title subcategory description
epilot-webhook_webhook Resource - terraform-provider-epilot-webhook
Webhook Resource

epilot-webhook_webhook (Resource)

Webhook Resource

Example Usage

resource "epilot-webhook_webhook" "my_webhook" {
  event_name       = "automation_flow_target"
  name        = "Generated by Terraform"
}

Schema

Required

  • event_name (String)
  • name (String)

Optional

  • auth (Attributes) (see below for nested schema)
  • creation_time (String) creation timestamp
  • enable_static_ip (Boolean)
  • enabled (Boolean)
  • filter (Attributes) (see below for nested schema)
  • http_method (String) must be one of ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"]
  • payload_configuration (Attributes) Configuration for the webhook payload (see below for nested schema)
  • status (String) must be one of ["active", "inactive", "incomplete"]
  • url (String)

Read-Only

  • id (String) The ID of this resource.

Nested Schema for auth

Optional:

  • api_key_config (Attributes) To be sent only if authType is API_KEY (see below for nested schema)
  • auth_type (String) Not Null; must be one of ["BASIC", "OAUTH_CLIENT_CREDENTIALS", "API_KEY"]
  • basic_auth_config (Attributes) To be sent only if authType is BASIC (see below for nested schema)
  • oauth_config (Attributes) To be sent only if authType is OAUTH_CLIENT_CREDENTIALS (see below for nested schema)

Nested Schema for auth.api_key_config

Optional:

  • key_name (String) Not Null
  • key_value (String)

Nested Schema for auth.basic_auth_config

Optional:

  • password (String)
  • username (String) Not Null

Nested Schema for auth.oauth_config

Optional:

  • client_id (String) Not Null
  • client_secret (String)
  • custom_parameter_list (Attributes List) (see below for nested schema)
  • endpoint (String) Https Endpoint for authentication. Not Null
  • http_method (String) Not Null; must be one of ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"]

Nested Schema for auth.oauth_config.custom_parameter_list

Optional:

  • key (String) Not Null
  • type (String) Not Null; must be one of ["body", "query", "header"]
  • value (String) Not Null

Nested Schema for filter

Optional:

  • key_to_filter (String) Not Null
  • supported_values (List of String) Not Null

Nested Schema for payload_configuration

Optional:

  • custom_headers (Map of String) Object representing custom headers as key-value pairs.
  • hydrate_entity (Boolean)
  • include_activity (Boolean)
  • include_changed_attributes (Boolean)
  • include_relations (Boolean)

Import

Import is supported using the following syntax:

terraform import epilot-webhook_webhook.my_epilot-webhook_webhook ""