Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 2.57 KB

File metadata and controls

63 lines (49 loc) · 2.57 KB
page_title stackit_edgecloud_instance Resource - stackit
subcategory
description Edge Cloud is in private Beta and not generally available. You can contact support if you are interested in trying it out. ~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources.

stackit_edgecloud_instance (Resource)

Edge Cloud is in private Beta and not generally available. You can contact support if you are interested in trying it out.

~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.

Example Usage

locals {
  project_id   = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  display_name = "edge"
  plan_id      = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  description  = "cats live on the edge"
  region       = "eu01"
}

resource "stackit_edgecloud_instance" "this" {
  project_id   = local.project_id
  display_name = local.display_name
  plan_id      = local.plan_id
  description  = local.description
}

# Only use the import statement, if you want to import an existing Edge Cloud instance resource
import {
  to = stackit_edgecloud_instance.this
  id = "${local.project_id},${local.region},INSTANCE_ID"
}

Schema

Required

  • display_name (String) Display name shown for the Edge Cloud instance. Has to be a valid hostname, with a length between 4 and 8 characters.
  • plan_id (String) STACKIT Edge Plan ID for the Edge Cloud instance, has to be the UUID of an existing plan.
  • project_id (String) STACKIT project ID to which the Edge Cloud instance is associated.

Optional

  • description (String) Description for your STACKIT Edge Cloud instance. Max length is 256 characters
  • region (String) STACKIT region to use for the instance, providers default_region will be used if unset.

Read-Only

  • created (String) The date and time the creation of the instance was triggered.
  • frontend_url (String) Frontend URL for the Edge Cloud instance.
  • id (String) Terraform's internal resource ID, structured as "project_id,region,instance_id".
  • instance_id (String) -
  • status (String) instance status