hcloud.Rdns
Explore with Pulumi AI
Provides a Hetzner Cloud Reverse DNS Entry to create, modify and reset reverse dns entries for Hetzner Cloud Servers, Primary IPs, Floating IPs or Load Balancers.
Example Usage
For servers:
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const node1 = new hcloud.Server("node1", {
name: "node1",
image: "debian-11",
serverType: "cx22",
});
const master = new hcloud.Rdns("master", {
serverId: node1.id,
ipAddress: node1.ipv4Address,
dnsPtr: "example.com",
});
import pulumi
import pulumi_hcloud as hcloud
node1 = hcloud.Server("node1",
name="node1",
image="debian-11",
server_type="cx22")
master = hcloud.Rdns("master",
server_id=node1.id,
ip_address=node1.ipv4_address,
dns_ptr="example.com")
package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{
Name: pulumi.String("node1"),
Image: pulumi.String("debian-11"),
ServerType: pulumi.String("cx22"),
})
if err != nil {
return err
}
_, err = hcloud.NewRdns(ctx, "master", &hcloud.RdnsArgs{
ServerId: node1.ID(),
IpAddress: node1.Ipv4Address,
DnsPtr: pulumi.String("example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using HCloud = Pulumi.HCloud;
return await Deployment.RunAsync(() =>
{
var node1 = new HCloud.Server("node1", new()
{
Name = "node1",
Image = "debian-11",
ServerType = "cx22",
});
var master = new HCloud.Rdns("master", new()
{
ServerId = node1.Id,
IpAddress = node1.Ipv4Address,
DnsPtr = "example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hcloud.Server;
import com.pulumi.hcloud.ServerArgs;
import com.pulumi.hcloud.Rdns;
import com.pulumi.hcloud.RdnsArgs;
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 node1 = new Server("node1", ServerArgs.builder()
.name("node1")
.image("debian-11")
.serverType("cx22")
.build());
var master = new Rdns("master", RdnsArgs.builder()
.serverId(node1.id())
.ipAddress(node1.ipv4Address())
.dnsPtr("example.com")
.build());
}
}
resources:
node1:
type: hcloud:Server
properties:
name: node1
image: debian-11
serverType: cx22
master:
type: hcloud:Rdns
properties:
serverId: ${node1.id}
ipAddress: ${node1.ipv4Address}
dnsPtr: example.com
For Primary IPs:
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const primary1 = new hcloud.PrimaryIp("primary1", {
datacenter: "nbg1-dc3",
type: "ipv4",
});
const primary1Rdns = new hcloud.Rdns("primary1", {
primaryIpId: primary1.id,
ipAddress: primary1.ipAddress,
dnsPtr: "example.com",
});
import pulumi
import pulumi_hcloud as hcloud
primary1 = hcloud.PrimaryIp("primary1",
datacenter="nbg1-dc3",
type="ipv4")
primary1_rdns = hcloud.Rdns("primary1",
primary_ip_id=primary1.id,
ip_address=primary1.ip_address,
dns_ptr="example.com")
package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
primary1, err := hcloud.NewPrimaryIp(ctx, "primary1", &hcloud.PrimaryIpArgs{
Datacenter: pulumi.String("nbg1-dc3"),
Type: pulumi.String("ipv4"),
})
if err != nil {
return err
}
_, err = hcloud.NewRdns(ctx, "primary1", &hcloud.RdnsArgs{
PrimaryIpId: primary1.ID(),
IpAddress: primary1.IpAddress,
DnsPtr: pulumi.String("example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using HCloud = Pulumi.HCloud;
return await Deployment.RunAsync(() =>
{
var primary1 = new HCloud.PrimaryIp("primary1", new()
{
Datacenter = "nbg1-dc3",
Type = "ipv4",
});
var primary1Rdns = new HCloud.Rdns("primary1", new()
{
PrimaryIpId = primary1.Id,
IpAddress = primary1.IpAddress,
DnsPtr = "example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hcloud.PrimaryIp;
import com.pulumi.hcloud.PrimaryIpArgs;
import com.pulumi.hcloud.Rdns;
import com.pulumi.hcloud.RdnsArgs;
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 primary1 = new PrimaryIp("primary1", PrimaryIpArgs.builder()
.datacenter("nbg1-dc3")
.type("ipv4")
.build());
var primary1Rdns = new Rdns("primary1Rdns", RdnsArgs.builder()
.primaryIpId(primary1.id())
.ipAddress(primary1.ipAddress())
.dnsPtr("example.com")
.build());
}
}
resources:
primary1:
type: hcloud:PrimaryIp
properties:
datacenter: nbg1-dc3
type: ipv4
primary1Rdns:
type: hcloud:Rdns
name: primary1
properties:
primaryIpId: ${primary1.id}
ipAddress: ${primary1.ipAddress}
dnsPtr: example.com
For Floating IPs:
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const floating1 = new hcloud.FloatingIp("floating1", {
homeLocation: "nbg1",
type: "ipv4",
});
const floatingMaster = new hcloud.Rdns("floating_master", {
floatingIpId: floating1.id,
ipAddress: floating1.ipAddress,
dnsPtr: "example.com",
});
import pulumi
import pulumi_hcloud as hcloud
floating1 = hcloud.FloatingIp("floating1",
home_location="nbg1",
type="ipv4")
floating_master = hcloud.Rdns("floating_master",
floating_ip_id=floating1.id,
ip_address=floating1.ip_address,
dns_ptr="example.com")
package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
floating1, err := hcloud.NewFloatingIp(ctx, "floating1", &hcloud.FloatingIpArgs{
HomeLocation: pulumi.String("nbg1"),
Type: pulumi.String("ipv4"),
})
if err != nil {
return err
}
_, err = hcloud.NewRdns(ctx, "floating_master", &hcloud.RdnsArgs{
FloatingIpId: floating1.ID(),
IpAddress: floating1.IpAddress,
DnsPtr: pulumi.String("example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using HCloud = Pulumi.HCloud;
return await Deployment.RunAsync(() =>
{
var floating1 = new HCloud.FloatingIp("floating1", new()
{
HomeLocation = "nbg1",
Type = "ipv4",
});
var floatingMaster = new HCloud.Rdns("floating_master", new()
{
FloatingIpId = floating1.Id,
IpAddress = floating1.IpAddress,
DnsPtr = "example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hcloud.FloatingIp;
import com.pulumi.hcloud.FloatingIpArgs;
import com.pulumi.hcloud.Rdns;
import com.pulumi.hcloud.RdnsArgs;
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 floating1 = new FloatingIp("floating1", FloatingIpArgs.builder()
.homeLocation("nbg1")
.type("ipv4")
.build());
var floatingMaster = new Rdns("floatingMaster", RdnsArgs.builder()
.floatingIpId(floating1.id())
.ipAddress(floating1.ipAddress())
.dnsPtr("example.com")
.build());
}
}
resources:
floating1:
type: hcloud:FloatingIp
properties:
homeLocation: nbg1
type: ipv4
floatingMaster:
type: hcloud:Rdns
name: floating_master
properties:
floatingIpId: ${floating1.id}
ipAddress: ${floating1.ipAddress}
dnsPtr: example.com
For Load Balancers:
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const loadBalancer1 = new hcloud.LoadBalancer("load_balancer1", {
name: "load_balancer1",
loadBalancerType: "lb11",
location: "fsn1",
});
const loadBalancerMaster = new hcloud.Rdns("load_balancer_master", {
loadBalancerId: loadBalancer1.id,
ipAddress: loadBalancer1.ipv4,
dnsPtr: "example.com",
});
import pulumi
import pulumi_hcloud as hcloud
load_balancer1 = hcloud.LoadBalancer("load_balancer1",
name="load_balancer1",
load_balancer_type="lb11",
location="fsn1")
load_balancer_master = hcloud.Rdns("load_balancer_master",
load_balancer_id=load_balancer1.id,
ip_address=load_balancer1.ipv4,
dns_ptr="example.com")
package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
loadBalancer1, err := hcloud.NewLoadBalancer(ctx, "load_balancer1", &hcloud.LoadBalancerArgs{
Name: pulumi.String("load_balancer1"),
LoadBalancerType: pulumi.String("lb11"),
Location: pulumi.String("fsn1"),
})
if err != nil {
return err
}
_, err = hcloud.NewRdns(ctx, "load_balancer_master", &hcloud.RdnsArgs{
LoadBalancerId: loadBalancer1.ID(),
IpAddress: loadBalancer1.Ipv4,
DnsPtr: pulumi.String("example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using HCloud = Pulumi.HCloud;
return await Deployment.RunAsync(() =>
{
var loadBalancer1 = new HCloud.LoadBalancer("load_balancer1", new()
{
Name = "load_balancer1",
LoadBalancerType = "lb11",
Location = "fsn1",
});
var loadBalancerMaster = new HCloud.Rdns("load_balancer_master", new()
{
LoadBalancerId = loadBalancer1.Id,
IpAddress = loadBalancer1.Ipv4,
DnsPtr = "example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hcloud.LoadBalancer;
import com.pulumi.hcloud.LoadBalancerArgs;
import com.pulumi.hcloud.Rdns;
import com.pulumi.hcloud.RdnsArgs;
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 loadBalancer1 = new LoadBalancer("loadBalancer1", LoadBalancerArgs.builder()
.name("load_balancer1")
.loadBalancerType("lb11")
.location("fsn1")
.build());
var loadBalancerMaster = new Rdns("loadBalancerMaster", RdnsArgs.builder()
.loadBalancerId(loadBalancer1.id())
.ipAddress(loadBalancer1.ipv4())
.dnsPtr("example.com")
.build());
}
}
resources:
loadBalancer1:
type: hcloud:LoadBalancer
name: load_balancer1
properties:
name: load_balancer1
loadBalancerType: lb11
location: fsn1
loadBalancerMaster:
type: hcloud:Rdns
name: load_balancer_master
properties:
loadBalancerId: ${loadBalancer1.id}
ipAddress: ${loadBalancer1.ipv4}
dnsPtr: example.com
Create Rdns Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Rdns(name: string, args: RdnsArgs, opts?: CustomResourceOptions);
@overload
def Rdns(resource_name: str,
args: RdnsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Rdns(resource_name: str,
opts: Optional[ResourceOptions] = None,
dns_ptr: Optional[str] = None,
ip_address: Optional[str] = None,
floating_ip_id: Optional[int] = None,
load_balancer_id: Optional[int] = None,
primary_ip_id: Optional[int] = None,
server_id: Optional[int] = None)
func NewRdns(ctx *Context, name string, args RdnsArgs, opts ...ResourceOption) (*Rdns, error)
public Rdns(string name, RdnsArgs args, CustomResourceOptions? opts = null)
type: hcloud:Rdns
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 RdnsArgs
- 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 RdnsArgs
- 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 RdnsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RdnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RdnsArgs
- 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 rdnsResource = new HCloud.Rdns("rdnsResource", new()
{
DnsPtr = "string",
IpAddress = "string",
FloatingIpId = 0,
LoadBalancerId = 0,
PrimaryIpId = 0,
ServerId = 0,
});
example, err := hcloud.NewRdns(ctx, "rdnsResource", &hcloud.RdnsArgs{
DnsPtr: pulumi.String("string"),
IpAddress: pulumi.String("string"),
FloatingIpId: pulumi.Int(0),
LoadBalancerId: pulumi.Int(0),
PrimaryIpId: pulumi.Int(0),
ServerId: pulumi.Int(0),
})
var rdnsResource = new Rdns("rdnsResource", RdnsArgs.builder()
.dnsPtr("string")
.ipAddress("string")
.floatingIpId(0)
.loadBalancerId(0)
.primaryIpId(0)
.serverId(0)
.build());
rdns_resource = hcloud.Rdns("rdnsResource",
dns_ptr="string",
ip_address="string",
floating_ip_id=0,
load_balancer_id=0,
primary_ip_id=0,
server_id=0)
const rdnsResource = new hcloud.Rdns("rdnsResource", {
dnsPtr: "string",
ipAddress: "string",
floatingIpId: 0,
loadBalancerId: 0,
primaryIpId: 0,
serverId: 0,
});
type: hcloud:Rdns
properties:
dnsPtr: string
floatingIpId: 0
ipAddress: string
loadBalancerId: 0
primaryIpId: 0
serverId: 0
Rdns 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 Rdns resource accepts the following input properties:
- Dns
Ptr string - The DNS address the
ip_address
should resolve to. - Ip
Address string - The IP address that should point to
dns_ptr
. - Floating
Ip intId - The Floating IP the
ip_address
belongs to. - Load
Balancer intId - The Load Balancer the
ip_address
belongs to. - Primary
Ip intId - The Primary IP the
ip_address
belongs to. - Server
Id int - The server the
ip_address
belongs to.
- Dns
Ptr string - The DNS address the
ip_address
should resolve to. - Ip
Address string - The IP address that should point to
dns_ptr
. - Floating
Ip intId - The Floating IP the
ip_address
belongs to. - Load
Balancer intId - The Load Balancer the
ip_address
belongs to. - Primary
Ip intId - The Primary IP the
ip_address
belongs to. - Server
Id int - The server the
ip_address
belongs to.
- dns
Ptr String - The DNS address the
ip_address
should resolve to. - ip
Address String - The IP address that should point to
dns_ptr
. - floating
Ip IntegerId - The Floating IP the
ip_address
belongs to. - load
Balancer IntegerId - The Load Balancer the
ip_address
belongs to. - primary
Ip IntegerId - The Primary IP the
ip_address
belongs to. - server
Id Integer - The server the
ip_address
belongs to.
- dns
Ptr string - The DNS address the
ip_address
should resolve to. - ip
Address string - The IP address that should point to
dns_ptr
. - floating
Ip numberId - The Floating IP the
ip_address
belongs to. - load
Balancer numberId - The Load Balancer the
ip_address
belongs to. - primary
Ip numberId - The Primary IP the
ip_address
belongs to. - server
Id number - The server the
ip_address
belongs to.
- dns_
ptr str - The DNS address the
ip_address
should resolve to. - ip_
address str - The IP address that should point to
dns_ptr
. - floating_
ip_ intid - The Floating IP the
ip_address
belongs to. - load_
balancer_ intid - The Load Balancer the
ip_address
belongs to. - primary_
ip_ intid - The Primary IP the
ip_address
belongs to. - server_
id int - The server the
ip_address
belongs to.
- dns
Ptr String - The DNS address the
ip_address
should resolve to. - ip
Address String - The IP address that should point to
dns_ptr
. - floating
Ip NumberId - The Floating IP the
ip_address
belongs to. - load
Balancer NumberId - The Load Balancer the
ip_address
belongs to. - primary
Ip NumberId - The Primary IP the
ip_address
belongs to. - server
Id Number - The server the
ip_address
belongs to.
Outputs
All input properties are implicitly available as output properties. Additionally, the Rdns resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Rdns Resource
Get an existing Rdns 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?: RdnsState, opts?: CustomResourceOptions): Rdns
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dns_ptr: Optional[str] = None,
floating_ip_id: Optional[int] = None,
ip_address: Optional[str] = None,
load_balancer_id: Optional[int] = None,
primary_ip_id: Optional[int] = None,
server_id: Optional[int] = None) -> Rdns
func GetRdns(ctx *Context, name string, id IDInput, state *RdnsState, opts ...ResourceOption) (*Rdns, error)
public static Rdns Get(string name, Input<string> id, RdnsState? state, CustomResourceOptions? opts = null)
public static Rdns get(String name, Output<String> id, RdnsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Dns
Ptr string - The DNS address the
ip_address
should resolve to. - Floating
Ip intId - The Floating IP the
ip_address
belongs to. - Ip
Address string - The IP address that should point to
dns_ptr
. - Load
Balancer intId - The Load Balancer the
ip_address
belongs to. - Primary
Ip intId - The Primary IP the
ip_address
belongs to. - Server
Id int - The server the
ip_address
belongs to.
- Dns
Ptr string - The DNS address the
ip_address
should resolve to. - Floating
Ip intId - The Floating IP the
ip_address
belongs to. - Ip
Address string - The IP address that should point to
dns_ptr
. - Load
Balancer intId - The Load Balancer the
ip_address
belongs to. - Primary
Ip intId - The Primary IP the
ip_address
belongs to. - Server
Id int - The server the
ip_address
belongs to.
- dns
Ptr String - The DNS address the
ip_address
should resolve to. - floating
Ip IntegerId - The Floating IP the
ip_address
belongs to. - ip
Address String - The IP address that should point to
dns_ptr
. - load
Balancer IntegerId - The Load Balancer the
ip_address
belongs to. - primary
Ip IntegerId - The Primary IP the
ip_address
belongs to. - server
Id Integer - The server the
ip_address
belongs to.
- dns
Ptr string - The DNS address the
ip_address
should resolve to. - floating
Ip numberId - The Floating IP the
ip_address
belongs to. - ip
Address string - The IP address that should point to
dns_ptr
. - load
Balancer numberId - The Load Balancer the
ip_address
belongs to. - primary
Ip numberId - The Primary IP the
ip_address
belongs to. - server
Id number - The server the
ip_address
belongs to.
- dns_
ptr str - The DNS address the
ip_address
should resolve to. - floating_
ip_ intid - The Floating IP the
ip_address
belongs to. - ip_
address str - The IP address that should point to
dns_ptr
. - load_
balancer_ intid - The Load Balancer the
ip_address
belongs to. - primary_
ip_ intid - The Primary IP the
ip_address
belongs to. - server_
id int - The server the
ip_address
belongs to.
- dns
Ptr String - The DNS address the
ip_address
should resolve to. - floating
Ip NumberId - The Floating IP the
ip_address
belongs to. - ip
Address String - The IP address that should point to
dns_ptr
. - load
Balancer NumberId - The Load Balancer the
ip_address
belongs to. - primary
Ip NumberId - The Primary IP the
ip_address
belongs to. - server
Id Number - The server the
ip_address
belongs to.
Import
Reverse DNS entries can be imported using a compound ID with the following format:
<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>
import reverse dns entry on server with id 123, ip 192.168.100.1
$ pulumi import hcloud:index/rdns:Rdns myrdns s-123-192.168.100.1
import reverse dns entry on primary ip with id 123, ip 2001:db8::1
$ pulumi import hcloud:index/rdns:Rdns myrdns p-123-2001:db8::1
import reverse dns entry on floating ip with id 123, ip 2001:db8::1
$ pulumi import hcloud:index/rdns:Rdns myrdns f-123-2001:db8::1
import reverse dns entry on load balancer with id 123, ip 2001:db8::1
$ pulumi import hcloud:index/rdns:Rdns myrdns l-123-2001:db8::1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Hetzner Cloud pulumi/pulumi-hcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
hcloud
Terraform Provider.