Files

2.0 KiB

page_title, subcategory, description
page_title subcategory description
kms_app_connection_render Resource - terraform-provider App Connections Create and manage Render App Connection

kms_app_connection_render (Resource)

Create and manage Render App Connection

Example Usage

terraform {
  required_providers {
    kms = {
      # version = <latest version>
      source = "hanzokms/kms"
    }
  }
}

provider "kms" {
  host = "https://kms.hanzo.ai" # Only required if using self hosted instance of Hanzo KMS, default is https://kms.hanzo.ai
  auth = {
    universal = {
      client_id     = "<machine-identity-client-id>"
      client_secret = "<machine-identity-client-secret>"
    }
  }
}

resource "kms_app_connection_render" "render-demo" {
  name        = "render-demo"
  description = "This is a demo render connection."
  method      = "api-key"
  credentials = {
    api_key = "<api-key>"
  }
}

Schema

Required

  • credentials (Attributes) The credentials for the Render App Connection (see below for nested schema)
  • method (String) The method used to authenticate with Render. Possible values are: api-key
  • name (String) The name of the Render App Connection to create. Must be slug-friendly

Optional

  • description (String) An optional description for the Render App Connection.
  • project_id (String) The ID of the project to scope the app connection to. If not provided, the app connection will be scoped to the organization.

Read-Only

  • credentials_hash (String) The hash of the Render App Connection credentials
  • id (String) The ID of the app connection

Nested Schema for credentials

Required:

  • api_key (String, Sensitive) The API key to use for authentication. For more details, refer to the documentation here hanzo.ai/docs/integrations/app-connections/render