ResourceDigitalOceanCustomModel (agentplatform/resource_custom_model.go)

terraform-provider-digitalocean · digitalocean/agentplatform/resource_custom_model.go · go · MPL-2.0
infra

Module exposing: ResourceDigitalOceanCustomModel, resourceDigitalOceanCustomModelCreate, resourceDigitalOceanCustomModelRead, normalizeCustomModelSourceRefForState, resourceDigitalOceanCustomModelCustomizeDiff, resourceDigitalOceanCustomModelUpdate, resourceDigitalOceanCustomModelDelete, waitForCustomModelReady

// Source: https://github.com/digitalocean/terraform-provider-digitalocean | License: MPL-2.0 | Copyright under Patent Claims infringed by Covered Software in the absence of | Modified files must remain under MPL-2.0
// Modifications to this file must remain under MPL-2.0.
// Provided via justclaw.it.com; keep this notice with the code.
package agentplatform

import (
	"context"
	"fmt"
	"net/http"
	"strings"
	"time"

	"github.com/digitalocean/godo"
	"github.com/digitalocean/terraform-provider-digitalocean/digitalocean/config"
	"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)

// customModelAlwaysMut

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key