published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
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
# the instance resource only exists here to illustrate the usage of it's attribute
resource "stackit_edgecloud_instance" "this" {
project_id = local.project_id
display_name = "example"
plan_id = var.plan_id
description = "some_description"
}
resource "stackit_edgecloud_kubeconfig" "by_name" {
project_id = var.project_id
instance_name = stackit_edgecloud_instance.this.display_name
expiration = 3600 # seconds
}
resource "stackit_edgecloud_kubeconfig" "by_id" {
project_id = var.project_id
instance_id = stackit_edgecloud_instance.this.instance_id
expiration = 3600 # seconds
}
Create EdgecloudKubeconfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgecloudKubeconfig(name: string, args: EdgecloudKubeconfigArgs, opts?: CustomResourceOptions);@overload
def EdgecloudKubeconfig(resource_name: str,
args: EdgecloudKubeconfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgecloudKubeconfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
expiration: Optional[int] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
recreate_before: Optional[int] = None,
region: Optional[str] = None)func NewEdgecloudKubeconfig(ctx *Context, name string, args EdgecloudKubeconfigArgs, opts ...ResourceOption) (*EdgecloudKubeconfig, error)public EdgecloudKubeconfig(string name, EdgecloudKubeconfigArgs args, CustomResourceOptions? opts = null)
public EdgecloudKubeconfig(String name, EdgecloudKubeconfigArgs args)
public EdgecloudKubeconfig(String name, EdgecloudKubeconfigArgs args, CustomResourceOptions options)
type: stackit:EdgecloudKubeconfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EdgecloudKubeconfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EdgecloudKubeconfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EdgecloudKubeconfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgecloudKubeconfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgecloudKubeconfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var edgecloudKubeconfigResource = new Stackit.EdgecloudKubeconfig("edgecloudKubeconfigResource", new()
{
ProjectId = "string",
Expiration = 0,
InstanceId = "string",
InstanceName = "string",
RecreateBefore = 0,
Region = "string",
});
example, err := stackit.NewEdgecloudKubeconfig(ctx, "edgecloudKubeconfigResource", &stackit.EdgecloudKubeconfigArgs{
ProjectId: pulumi.String("string"),
Expiration: pulumi.Int(0),
InstanceId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
RecreateBefore: pulumi.Int(0),
Region: pulumi.String("string"),
})
var edgecloudKubeconfigResource = new EdgecloudKubeconfig("edgecloudKubeconfigResource", EdgecloudKubeconfigArgs.builder()
.projectId("string")
.expiration(0)
.instanceId("string")
.instanceName("string")
.recreateBefore(0)
.region("string")
.build());
edgecloud_kubeconfig_resource = stackit.EdgecloudKubeconfig("edgecloudKubeconfigResource",
project_id="string",
expiration=0,
instance_id="string",
instance_name="string",
recreate_before=0,
region="string")
const edgecloudKubeconfigResource = new stackit.EdgecloudKubeconfig("edgecloudKubeconfigResource", {
projectId: "string",
expiration: 0,
instanceId: "string",
instanceName: "string",
recreateBefore: 0,
region: "string",
});
type: stackit:EdgecloudKubeconfig
properties:
expiration: 0
instanceId: string
instanceName: string
projectId: string
recreateBefore: 0
region: string
EdgecloudKubeconfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EdgecloudKubeconfig resource accepts the following input properties:
- Project
Id string - STACKIT project ID to which the Edge Cloud instance is associated.
- Expiration int
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - Instance
Id string - ID of the Edge Cloud instance.
- Instance
Name string - Name of the Edge Cloud instance.
- Recreate
Before int - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- Region string
- The resource region. If not defined, the provider region is used.
- Project
Id string - STACKIT project ID to which the Edge Cloud instance is associated.
- Expiration int
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - Instance
Id string - ID of the Edge Cloud instance.
- Instance
Name string - Name of the Edge Cloud instance.
- Recreate
Before int - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- Region string
- The resource region. If not defined, the provider region is used.
- project
Id String - STACKIT project ID to which the Edge Cloud instance is associated.
- expiration Integer
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - instance
Id String - ID of the Edge Cloud instance.
- instance
Name String - Name of the Edge Cloud instance.
- recreate
Before Integer - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region String
- The resource region. If not defined, the provider region is used.
- project
Id string - STACKIT project ID to which the Edge Cloud instance is associated.
- expiration number
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - instance
Id string - ID of the Edge Cloud instance.
- instance
Name string - Name of the Edge Cloud instance.
- recreate
Before number - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region string
- The resource region. If not defined, the provider region is used.
- project_
id str - STACKIT project ID to which the Edge Cloud instance is associated.
- expiration int
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - instance_
id str - ID of the Edge Cloud instance.
- instance_
name str - Name of the Edge Cloud instance.
- recreate_
before int - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region str
- The resource region. If not defined, the provider region is used.
- project
Id String - STACKIT project ID to which the Edge Cloud instance is associated.
- expiration Number
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - instance
Id String - ID of the Edge Cloud instance.
- instance
Name String - Name of the Edge Cloud instance.
- recreate
Before Number - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgecloudKubeconfig resource produces the following output properties:
- Creation
Time string - Date-time when the kubeconfig was created
- Expires
At string - Timestamp when the kubeconfig expires
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- Raw kubeconfig.
- Kubeconfig
Id string
- Creation
Time string - Date-time when the kubeconfig was created
- Expires
At string - Timestamp when the kubeconfig expires
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- Raw kubeconfig.
- Kubeconfig
Id string
- creation
Time String - Date-time when the kubeconfig was created
- expires
At String - Timestamp when the kubeconfig expires
- id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- Raw kubeconfig.
- kubeconfig
Id String
- creation
Time string - Date-time when the kubeconfig was created
- expires
At string - Timestamp when the kubeconfig expires
- id string
- The provider-assigned unique ID for this managed resource.
- kubeconfig string
- Raw kubeconfig.
- kubeconfig
Id string
- creation_
time str - Date-time when the kubeconfig was created
- expires_
at str - Timestamp when the kubeconfig expires
- id str
- The provider-assigned unique ID for this managed resource.
- kubeconfig str
- Raw kubeconfig.
- kubeconfig_
id str
- creation
Time String - Date-time when the kubeconfig was created
- expires
At String - Timestamp when the kubeconfig expires
- id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- Raw kubeconfig.
- kubeconfig
Id String
Look up Existing EdgecloudKubeconfig Resource
Get an existing EdgecloudKubeconfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EdgecloudKubeconfigState, opts?: CustomResourceOptions): EdgecloudKubeconfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_time: Optional[str] = None,
expiration: Optional[int] = None,
expires_at: Optional[str] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
kubeconfig: Optional[str] = None,
kubeconfig_id: Optional[str] = None,
project_id: Optional[str] = None,
recreate_before: Optional[int] = None,
region: Optional[str] = None) -> EdgecloudKubeconfigfunc GetEdgecloudKubeconfig(ctx *Context, name string, id IDInput, state *EdgecloudKubeconfigState, opts ...ResourceOption) (*EdgecloudKubeconfig, error)public static EdgecloudKubeconfig Get(string name, Input<string> id, EdgecloudKubeconfigState? state, CustomResourceOptions? opts = null)public static EdgecloudKubeconfig get(String name, Output<String> id, EdgecloudKubeconfigState state, CustomResourceOptions options)resources: _: type: stackit:EdgecloudKubeconfig get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Creation
Time string - Date-time when the kubeconfig was created
- Expiration int
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - Expires
At string - Timestamp when the kubeconfig expires
- Instance
Id string - ID of the Edge Cloud instance.
- Instance
Name string - Name of the Edge Cloud instance.
- Kubeconfig string
- Raw kubeconfig.
- Kubeconfig
Id string - Project
Id string - STACKIT project ID to which the Edge Cloud instance is associated.
- Recreate
Before int - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- Region string
- The resource region. If not defined, the provider region is used.
- Creation
Time string - Date-time when the kubeconfig was created
- Expiration int
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - Expires
At string - Timestamp when the kubeconfig expires
- Instance
Id string - ID of the Edge Cloud instance.
- Instance
Name string - Name of the Edge Cloud instance.
- Kubeconfig string
- Raw kubeconfig.
- Kubeconfig
Id string - Project
Id string - STACKIT project ID to which the Edge Cloud instance is associated.
- Recreate
Before int - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- Region string
- The resource region. If not defined, the provider region is used.
- creation
Time String - Date-time when the kubeconfig was created
- expiration Integer
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - expires
At String - Timestamp when the kubeconfig expires
- instance
Id String - ID of the Edge Cloud instance.
- instance
Name String - Name of the Edge Cloud instance.
- kubeconfig String
- Raw kubeconfig.
- kubeconfig
Id String - project
Id String - STACKIT project ID to which the Edge Cloud instance is associated.
- recreate
Before Integer - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region String
- The resource region. If not defined, the provider region is used.
- creation
Time string - Date-time when the kubeconfig was created
- expiration number
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - expires
At string - Timestamp when the kubeconfig expires
- instance
Id string - ID of the Edge Cloud instance.
- instance
Name string - Name of the Edge Cloud instance.
- kubeconfig string
- Raw kubeconfig.
- kubeconfig
Id string - project
Id string - STACKIT project ID to which the Edge Cloud instance is associated.
- recreate
Before number - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region string
- The resource region. If not defined, the provider region is used.
- creation_
time str - Date-time when the kubeconfig was created
- expiration int
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - expires_
at str - Timestamp when the kubeconfig expires
- instance_
id str - ID of the Edge Cloud instance.
- instance_
name str - Name of the Edge Cloud instance.
- kubeconfig str
- Raw kubeconfig.
- kubeconfig_
id str - project_
id str - STACKIT project ID to which the Edge Cloud instance is associated.
- recreate_
before int - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region str
- The resource region. If not defined, the provider region is used.
- creation
Time String - Date-time when the kubeconfig was created
- expiration Number
- Expiration time of the kubeconfig, in seconds. Minimum is 600, Maximum is 15552000. Defaults to
3600 - expires
At String - Timestamp when the kubeconfig expires
- instance
Id String - ID of the Edge Cloud instance.
- instance
Name String - Name of the Edge Cloud instance.
- kubeconfig String
- Raw kubeconfig.
- kubeconfig
Id String - project
Id String - STACKIT project ID to which the Edge Cloud instance is associated.
- recreate
Before Number - Number of seconds before expiration to trigger recreation of the kubeconfig at.
- region String
- The resource region. If not defined, the provider region is used.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
