published on Thursday, Sep 10, 2026 by opentelekomcloud
published on Thursday, Sep 10, 2026 by opentelekomcloud
Up-to-date reference of API arguments for RDS Postgres extension you can get at documentation portal
Manages a PostgreSQL extension of an RDS instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const instanceId = config.requireObject<any>("instanceId");
const databaseName = config.requireObject<any>("databaseName");
const extension = new opentelekomcloud.RdsPostgresExtensionV3("extension", {
instanceId: instanceId,
databaseName: databaseName,
extensionName: "hstore",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
database_name = config.require_object("databaseName")
extension = opentelekomcloud.RdsPostgresExtensionV3("extension",
instance_id=instance_id,
database_name=database_name,
extension_name="hstore")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
instanceId := cfg.RequireObject("instanceId")
databaseName := cfg.RequireObject("databaseName")
_, err := opentelekomcloud.NewRdsPostgresExtensionV3(ctx, "extension", &opentelekomcloud.RdsPostgresExtensionV3Args{
InstanceId: pulumi.Any(instanceId),
DatabaseName: pulumi.Any(databaseName),
ExtensionName: pulumi.String("hstore"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var instanceId = config.RequireObject<dynamic>("instanceId");
var databaseName = config.RequireObject<dynamic>("databaseName");
var extension = new Opentelekomcloud.RdsPostgresExtensionV3("extension", new()
{
InstanceId = instanceId,
DatabaseName = databaseName,
ExtensionName = "hstore",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.RdsPostgresExtensionV3;
import com.pulumi.opentelekomcloud.RdsPostgresExtensionV3Args;
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) {
final var config = ctx.config();
final var instanceId = config.get("instanceId");
final var databaseName = config.get("databaseName");
var extension = new RdsPostgresExtensionV3("extension", RdsPostgresExtensionV3Args.builder()
.instanceId(instanceId)
.databaseName(databaseName)
.extensionName("hstore")
.build());
}
}
configuration:
instanceId:
type: dynamic
databaseName:
type: dynamic
resources:
extension:
type: opentelekomcloud:RdsPostgresExtensionV3
properties:
instanceId: ${instanceId}
databaseName: ${databaseName}
extensionName: hstore
Example coming soon!
Create RdsPostgresExtensionV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RdsPostgresExtensionV3(name: string, args: RdsPostgresExtensionV3Args, opts?: CustomResourceOptions);@overload
def RdsPostgresExtensionV3(resource_name: str,
args: RdsPostgresExtensionV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def RdsPostgresExtensionV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_name: Optional[str] = None,
extension_name: Optional[str] = None,
instance_id: Optional[str] = None,
rds_postgres_extension_v3_id: Optional[str] = None)func NewRdsPostgresExtensionV3(ctx *Context, name string, args RdsPostgresExtensionV3Args, opts ...ResourceOption) (*RdsPostgresExtensionV3, error)public RdsPostgresExtensionV3(string name, RdsPostgresExtensionV3Args args, CustomResourceOptions? opts = null)
public RdsPostgresExtensionV3(String name, RdsPostgresExtensionV3Args args)
public RdsPostgresExtensionV3(String name, RdsPostgresExtensionV3Args args, CustomResourceOptions options)
type: opentelekomcloud:RdsPostgresExtensionV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "opentelekomcloud_rds_postgres_extension_v3" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RdsPostgresExtensionV3Args
- 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 RdsPostgresExtensionV3Args
- 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 RdsPostgresExtensionV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RdsPostgresExtensionV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RdsPostgresExtensionV3Args
- 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 rdsPostgresExtensionV3Resource = new Opentelekomcloud.RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource", new()
{
DatabaseName = "string",
ExtensionName = "string",
InstanceId = "string",
RdsPostgresExtensionV3Id = "string",
});
example, err := opentelekomcloud.NewRdsPostgresExtensionV3(ctx, "rdsPostgresExtensionV3Resource", &opentelekomcloud.RdsPostgresExtensionV3Args{
DatabaseName: pulumi.String("string"),
ExtensionName: pulumi.String("string"),
InstanceId: pulumi.String("string"),
RdsPostgresExtensionV3Id: pulumi.String("string"),
})
resource "opentelekomcloud_rds_postgres_extension_v3" "rdsPostgresExtensionV3Resource" {
lifecycle {
create_before_destroy = true
}
database_name = "string"
extension_name = "string"
instance_id = "string"
rds_postgres_extension_v3_id = "string"
}
var rdsPostgresExtensionV3Resource = new RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource", RdsPostgresExtensionV3Args.builder()
.databaseName("string")
.extensionName("string")
.instanceId("string")
.rdsPostgresExtensionV3Id("string")
.build());
rds_postgres_extension_v3_resource = opentelekomcloud.RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource",
database_name="string",
extension_name="string",
instance_id="string",
rds_postgres_extension_v3_id="string")
const rdsPostgresExtensionV3Resource = new opentelekomcloud.RdsPostgresExtensionV3("rdsPostgresExtensionV3Resource", {
databaseName: "string",
extensionName: "string",
instanceId: "string",
rdsPostgresExtensionV3Id: "string",
});
type: opentelekomcloud:RdsPostgresExtensionV3
properties:
databaseName: string
extensionName: string
instanceId: string
rdsPostgresExtensionV3Id: string
RdsPostgresExtensionV3 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 RdsPostgresExtensionV3 resource accepts the following input properties:
- Database
Name string - Specifies the name of the database in which the extension is created.
- Extension
Name string - Specifies the name of the extension.
- Instance
Id string - Specifies the ID of the RDS PostgreSQL instance.
- Rds
Postgres stringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}.
- Database
Name string - Specifies the name of the database in which the extension is created.
- Extension
Name string - Specifies the name of the extension.
- Instance
Id string - Specifies the ID of the RDS PostgreSQL instance.
- Rds
Postgres stringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}.
- database_
name string - Specifies the name of the database in which the extension is created.
- extension_
name string - Specifies the name of the extension.
- instance_
id string - Specifies the ID of the RDS PostgreSQL instance.
- rds_
postgres_ stringextension_ v3_ id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}.
- database
Name String - Specifies the name of the database in which the extension is created.
- extension
Name String - Specifies the name of the extension.
- instance
Id String - Specifies the ID of the RDS PostgreSQL instance.
- rds
Postgres StringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}.
- database
Name string - Specifies the name of the database in which the extension is created.
- extension
Name string - Specifies the name of the extension.
- instance
Id string - Specifies the ID of the RDS PostgreSQL instance.
- rds
Postgres stringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}.
- database_
name str - Specifies the name of the database in which the extension is created.
- extension_
name str - Specifies the name of the extension.
- instance_
id str - Specifies the ID of the RDS PostgreSQL instance.
- rds_
postgres_ strextension_ v3_ id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}.
- database
Name String - Specifies the name of the database in which the extension is created.
- extension
Name String - Specifies the name of the extension.
- instance
Id String - Specifies the ID of the RDS PostgreSQL instance.
- rds
Postgres StringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}.
Outputs
All input properties are implicitly available as output properties. Additionally, the RdsPostgresExtensionV3 resource produces the following output properties:
- Description string
- Specifies the description of the extension.
- Enable
Install bool - Specifies whether the extension can be installed..
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- Specifies the dependent preloaded library..
- Version string
- Specifies the current version of the extension.
- Version
Update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- Description string
- Specifies the description of the extension.
- Enable
Install bool - Specifies whether the extension can be installed..
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- Specifies the dependent preloaded library..
- Version string
- Specifies the current version of the extension.
- Version
Update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- description string
- Specifies the description of the extension.
- enable_
install bool - Specifies whether the extension can be installed..
- id string
- The provider-assigned unique ID for this managed resource.
- string
- Specifies the dependent preloaded library..
- version string
- Specifies the current version of the extension.
- version_
update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- description String
- Specifies the description of the extension.
- enable
Install Boolean - Specifies whether the extension can be installed..
- id String
- The provider-assigned unique ID for this managed resource.
- String
- Specifies the dependent preloaded library..
- version String
- Specifies the current version of the extension.
- version
Update String - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- description string
- Specifies the description of the extension.
- enable
Install boolean - Specifies whether the extension can be installed..
- id string
- The provider-assigned unique ID for this managed resource.
- string
- Specifies the dependent preloaded library..
- version string
- Specifies the current version of the extension.
- version
Update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- description str
- Specifies the description of the extension.
- enable_
install bool - Specifies whether the extension can be installed..
- id str
- The provider-assigned unique ID for this managed resource.
- str
- Specifies the dependent preloaded library..
- version str
- Specifies the current version of the extension.
- version_
update str - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- description String
- Specifies the description of the extension.
- enable
Install Boolean - Specifies whether the extension can be installed..
- id String
- The provider-assigned unique ID for this managed resource.
- String
- Specifies the dependent preloaded library..
- version String
- Specifies the current version of the extension.
- version
Update String - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
Look up Existing RdsPostgresExtensionV3 Resource
Get an existing RdsPostgresExtensionV3 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?: RdsPostgresExtensionV3State, opts?: CustomResourceOptions): RdsPostgresExtensionV3@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
database_name: Optional[str] = None,
description: Optional[str] = None,
enable_install: Optional[bool] = None,
extension_name: Optional[str] = None,
instance_id: Optional[str] = None,
rds_postgres_extension_v3_id: Optional[str] = None,
shared_preload_libraries: Optional[str] = None,
version: Optional[str] = None,
version_update: Optional[str] = None) -> RdsPostgresExtensionV3func GetRdsPostgresExtensionV3(ctx *Context, name string, id IDInput, state *RdsPostgresExtensionV3State, opts ...ResourceOption) (*RdsPostgresExtensionV3, error)public static RdsPostgresExtensionV3 Get(string name, Input<string> id, RdsPostgresExtensionV3State? state, CustomResourceOptions? opts = null)public static RdsPostgresExtensionV3 get(String name, Output<String> id, RdsPostgresExtensionV3State state, CustomResourceOptions options)resources: _: type: opentelekomcloud:RdsPostgresExtensionV3 get: id: ${id}import {
to = opentelekomcloud_rds_postgres_extension_v3.example
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.
- Database
Name string - Specifies the name of the database in which the extension is created.
- Description string
- Specifies the description of the extension.
- Enable
Install bool - Specifies whether the extension can be installed..
- Extension
Name string - Specifies the name of the extension.
- Instance
Id string - Specifies the ID of the RDS PostgreSQL instance.
- Rds
Postgres stringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}. - string
- Specifies the dependent preloaded library..
- Version string
- Specifies the current version of the extension.
- Version
Update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- Database
Name string - Specifies the name of the database in which the extension is created.
- Description string
- Specifies the description of the extension.
- Enable
Install bool - Specifies whether the extension can be installed..
- Extension
Name string - Specifies the name of the extension.
- Instance
Id string - Specifies the ID of the RDS PostgreSQL instance.
- Rds
Postgres stringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}. - string
- Specifies the dependent preloaded library..
- Version string
- Specifies the current version of the extension.
- Version
Update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- database_
name string - Specifies the name of the database in which the extension is created.
- description string
- Specifies the description of the extension.
- enable_
install bool - Specifies whether the extension can be installed..
- extension_
name string - Specifies the name of the extension.
- instance_
id string - Specifies the ID of the RDS PostgreSQL instance.
- rds_
postgres_ stringextension_ v3_ id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}. - string
- Specifies the dependent preloaded library..
- version string
- Specifies the current version of the extension.
- version_
update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- database
Name String - Specifies the name of the database in which the extension is created.
- description String
- Specifies the description of the extension.
- enable
Install Boolean - Specifies whether the extension can be installed..
- extension
Name String - Specifies the name of the extension.
- instance
Id String - Specifies the ID of the RDS PostgreSQL instance.
- rds
Postgres StringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}. - String
- Specifies the dependent preloaded library..
- version String
- Specifies the current version of the extension.
- version
Update String - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- database
Name string - Specifies the name of the database in which the extension is created.
- description string
- Specifies the description of the extension.
- enable
Install boolean - Specifies whether the extension can be installed..
- extension
Name string - Specifies the name of the extension.
- instance
Id string - Specifies the ID of the RDS PostgreSQL instance.
- rds
Postgres stringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}. - string
- Specifies the dependent preloaded library..
- version string
- Specifies the current version of the extension.
- version
Update string - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- database_
name str - Specifies the name of the database in which the extension is created.
- description str
- Specifies the description of the extension.
- enable_
install bool - Specifies whether the extension can be installed..
- extension_
name str - Specifies the name of the extension.
- instance_
id str - Specifies the ID of the RDS PostgreSQL instance.
- rds_
postgres_ strextension_ v3_ id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}. - str
- Specifies the dependent preloaded library..
- version str
- Specifies the current version of the extension.
- version_
update str - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
- database
Name String - Specifies the name of the database in which the extension is created.
- description String
- Specifies the description of the extension.
- enable
Install Boolean - Specifies whether the extension can be installed..
- extension
Name String - Specifies the name of the extension.
- instance
Id String - Specifies the ID of the RDS PostgreSQL instance.
- rds
Postgres StringExtension V3Id - Specifies the resource ID, which is
{instance_id}/{database_name}/{extension_name}. - String
- Specifies the dependent preloaded library..
- version String
- Specifies the current version of the extension.
- version
Update String - Specifies the new version that the extension can be upgraded to. If the value of this parameter is different from that of
version, the extension can be upgraded.
Import
RDS Postgres extensions can be imported using instance_id/database_name/extension_name, e.g.
$ pulumi import opentelekomcloud:index/rdsPostgresExtensionV3:RdsPostgresExtensionV3 extension 58760797-f992-44e9-a128-0ff3129989b5/my_db/hstore
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
published on Thursday, Sep 10, 2026 by opentelekomcloud