Viewing docs for constellix 0.4.6
published on Friday, Mar 7, 2025 by constellix
published on Friday, Mar 7, 2025 by constellix
Constellix Provider
I want to use the Pulumi constellix package (constellix) in my project.
## Provider details
- Package: constellix
- Version: 0.4.6
- Publisher: constellix
- Source: opentofu
- Repository: https://github.com/constellix/terraform-provider-constellix
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/opentofu/constellix/constellix/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/opentofu/constellix/constellix/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/opentofu/constellix/constellix/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/opentofu/constellix/constellix/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for constellix 0.4.6
published on Friday, Mar 7, 2025 by constellix
published on Friday, Mar 7, 2025 by constellix
Generate Provider
The Constellix provider must be installed as a Local Package by following the instructions for Any Terraform Provider:
pulumi package add terraform-provider constellix/constellix
Constellix Provider
Constellix is a leading DNS service provider with a feature rich DNS services which includes, various kinds of dns records such as Aname record, Cname record, HTTPredirection, MX record, a granular filtering method using Geofilter and Geoproximity. The Constellix provider is used to manage various DNS Objects supported by Constellix DNS platform. The provider needs to be configured with the proper credentials before it can be used.
Authentication
The Provider supports authentication with Constellix using API-key and SECRET-key.
- Authentication with user-id and password.example:
# Pulumi.yaml provider configuration file
name: configuration-example
runtime:
config:
constellix:apikey:
value: apikey
constellix:insecure:
value: true
constellix:proxyUrl:
value: https://proxy_server:proxy_port
constellix:secretkey:
value: secretkey
Example Usage
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: nodejs
config:
constellix:apikey:
value: apikey
constellix:insecure:
value: true
constellix:proxyUrl:
value: https://proxy_server:proxy_port
constellix:secretkey:
value: secretkey
import * as pulumi from "@pulumi/pulumi";
import * as constellix from "@pulumi/constellix";
const domain1 = new constellix.Domain("domain1", {
name: "domain1.com",
soa: {
primary_nameserver: "ns41.constellix.com.",
ttl: "1800",
refresh: "48100",
retry: "7200",
expire: "1209",
negcache: "8000",
},
});
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: python
config:
constellix:apikey:
value: apikey
constellix:insecure:
value: true
constellix:proxyUrl:
value: https://proxy_server:proxy_port
constellix:secretkey:
value: secretkey
import pulumi
import pulumi_constellix as constellix
domain1 = constellix.Domain("domain1",
name="domain1.com",
soa={
"primary_nameserver": "ns41.constellix.com.",
"ttl": "1800",
"refresh": "48100",
"retry": "7200",
"expire": "1209",
"negcache": "8000",
})
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: dotnet
config:
constellix:apikey:
value: apikey
constellix:insecure:
value: true
constellix:proxyUrl:
value: https://proxy_server:proxy_port
constellix:secretkey:
value: secretkey
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Constellix = Pulumi.Constellix;
return await Deployment.RunAsync(() =>
{
var domain1 = new Constellix.Domain("domain1", new()
{
Name = "domain1.com",
Soa =
{
{ "primary_nameserver", "ns41.constellix.com." },
{ "ttl", "1800" },
{ "refresh", "48100" },
{ "retry", "7200" },
{ "expire", "1209" },
{ "negcache", "8000" },
},
});
});
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: go
config:
constellix:apikey:
value: apikey
constellix:insecure:
value: true
constellix:proxyUrl:
value: https://proxy_server:proxy_port
constellix:secretkey:
value: secretkey
package main
import (
"github.com/pulumi/pulumi-pulumi-provider/sdks/go/constellix/constellix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := constellix.NewDomain(ctx, "domain1", &constellix.DomainArgs{
Name: pulumi.String("domain1.com"),
Soa: pulumi.StringMap{
"primary_nameserver": pulumi.String("ns41.constellix.com."),
"ttl": pulumi.String("1800"),
"refresh": pulumi.String("48100"),
"retry": pulumi.String("7200"),
"expire": pulumi.String("1209"),
"negcache": pulumi.String("8000"),
},
})
if err != nil {
return err
}
return nil
})
}
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: yaml
config:
constellix:apikey:
value: apikey
constellix:insecure:
value: true
constellix:proxyUrl:
value: https://proxy_server:proxy_port
constellix:secretkey:
value: secretkey
resources:
domain1:
type: constellix:Domain
properties:
name: domain1.com
soa:
primary_nameserver: ns41.constellix.com.
ttl: 1800
refresh: 48100
retry: 7200
expire: 1209
negcache: 8000
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: java
config:
constellix:apikey:
value: apikey
constellix:insecure:
value: true
constellix:proxyUrl:
value: https://proxy_server:proxy_port
constellix:secretkey:
value: secretkey
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.constellix.Domain;
import com.pulumi.constellix.DomainArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var domain1 = new Domain("domain1", DomainArgs.builder()
.name("domain1.com")
.soa(Map.ofEntries(
Map.entry("primary_nameserver", "ns41.constellix.com."),
Map.entry("ttl", 1800),
Map.entry("refresh", 48100),
Map.entry("retry", 7200),
Map.entry("expire", 1209),
Map.entry("negcache", 8000)
))
.build());
}
}
Configuration Reference
Following arguments are supported with Constellix pulumi provider.
apikey- (Required) API key of a user which has the access to perform CRUD operations on all the DNS objects of Constellix platform.secretkey- (Required) Secret key of a user which has the access to perform CRUD operations on all the DNS objects of Constellix platform.insecure- (Optional) This determines whether to use insecure HTTP connection or not. Default value istrue.proxyUrl- (Optional) A proxy server URL when configured, all the requests to Constellix platform will be passed through the proxy-server configured.
Viewing docs for constellix 0.4.6
published on Friday, Mar 7, 2025 by constellix
published on Friday, Mar 7, 2025 by constellix
