1. Packages
  2. Packages
  3. Snowflake Provider
  4. API Docs
  5. PostgresInstance
Viewing docs for Snowflake v2.18.0
published on Wednesday, Jul 8, 2026 by Pulumi
snowflake logo
Viewing docs for Snowflake v2.18.0
published on Wednesday, Jul 8, 2026 by Pulumi

    Caution: Preview Feature This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to previewFeaturesEnabled field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.

    Note Postgres instance operations (create, update, delete) can take significantly longer than the default provider timeout values. If you encounter timeout errors, use a timeouts block to set higher limits for your environment.

    Known limitation postgresVersion is required in this provider even though Snowflake treats it as optional. Modeling the optional-with-computed-default behavior correctly in Terraform requires non-trivial logic, so the field is required for now to keep the resource predictable.

    Resource used to manage Postgres instance objects. For more information, check Postgres instance documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as snowflake from "@pulumi/snowflake";
    
    // basic resource
    const basic = new snowflake.PostgresInstance("basic", {
        name: "my_postgres_instance",
        computeFamily: "STANDARD_M",
        storageSizeGb: 10,
        authenticationAuthority: "POSTGRES",
    });
    // with custom timeouts (postgres operations can take longer than the defaults)
    const withTimeouts = new snowflake.PostgresInstance("with_timeouts", {
        name: "my_postgres_instance",
        computeFamily: "STANDARD_M",
        storageSizeGb: 10,
        authenticationAuthority: "POSTGRES",
    });
    // complete resource
    const complete = new snowflake.PostgresInstance("complete", {
        name: "my_postgres_instance_complete",
        computeFamily: "STANDARD_M",
        storageSizeGb: 10,
        authenticationAuthority: "POSTGRES_OR_SNOWFLAKE",
        postgresVersion: 16,
        networkPolicy: "my_network_policy",
        storageIntegration: "my_storage_integration",
        highAvailability: "true",
        postgresSettings: "{\"max_connections\": 100}",
        maintenanceWindowStart: 8,
        comment: "My Postgres instance",
    });
    
    import pulumi
    import pulumi_snowflake as snowflake
    
    # basic resource
    basic = snowflake.PostgresInstance("basic",
        name="my_postgres_instance",
        compute_family="STANDARD_M",
        storage_size_gb=10,
        authentication_authority="POSTGRES")
    # with custom timeouts (postgres operations can take longer than the defaults)
    with_timeouts = snowflake.PostgresInstance("with_timeouts",
        name="my_postgres_instance",
        compute_family="STANDARD_M",
        storage_size_gb=10,
        authentication_authority="POSTGRES")
    # complete resource
    complete = snowflake.PostgresInstance("complete",
        name="my_postgres_instance_complete",
        compute_family="STANDARD_M",
        storage_size_gb=10,
        authentication_authority="POSTGRES_OR_SNOWFLAKE",
        postgres_version=16,
        network_policy="my_network_policy",
        storage_integration="my_storage_integration",
        high_availability="true",
        postgres_settings="{\"max_connections\": 100}",
        maintenance_window_start=8,
        comment="My Postgres instance")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-snowflake/sdk/v2/go/snowflake"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// basic resource
    		_, err := snowflake.NewPostgresInstance(ctx, "basic", &snowflake.PostgresInstanceArgs{
    			Name:                    pulumi.String("my_postgres_instance"),
    			ComputeFamily:           pulumi.String("STANDARD_M"),
    			StorageSizeGb:           pulumi.Int(10),
    			AuthenticationAuthority: pulumi.String("POSTGRES"),
    		})
    		if err != nil {
    			return err
    		}
    		// with custom timeouts (postgres operations can take longer than the defaults)
    		_, err = snowflake.NewPostgresInstance(ctx, "with_timeouts", &snowflake.PostgresInstanceArgs{
    			Name:                    pulumi.String("my_postgres_instance"),
    			ComputeFamily:           pulumi.String("STANDARD_M"),
    			StorageSizeGb:           pulumi.Int(10),
    			AuthenticationAuthority: pulumi.String("POSTGRES"),
    		})
    		if err != nil {
    			return err
    		}
    		// complete resource
    		_, err = snowflake.NewPostgresInstance(ctx, "complete", &snowflake.PostgresInstanceArgs{
    			Name:                    pulumi.String("my_postgres_instance_complete"),
    			ComputeFamily:           pulumi.String("STANDARD_M"),
    			StorageSizeGb:           pulumi.Int(10),
    			AuthenticationAuthority: pulumi.String("POSTGRES_OR_SNOWFLAKE"),
    			PostgresVersion:         pulumi.Int(16),
    			NetworkPolicy:           pulumi.String("my_network_policy"),
    			StorageIntegration:      pulumi.String("my_storage_integration"),
    			HighAvailability:        pulumi.String("true"),
    			PostgresSettings:        pulumi.String("{\"max_connections\": 100}"),
    			MaintenanceWindowStart:  pulumi.Int(8),
    			Comment:                 pulumi.String("My Postgres instance"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Snowflake = Pulumi.Snowflake;
    
    return await Deployment.RunAsync(() => 
    {
        // basic resource
        var basic = new Snowflake.PostgresInstance("basic", new()
        {
            Name = "my_postgres_instance",
            ComputeFamily = "STANDARD_M",
            StorageSizeGb = 10,
            AuthenticationAuthority = "POSTGRES",
        });
    
        // with custom timeouts (postgres operations can take longer than the defaults)
        var withTimeouts = new Snowflake.PostgresInstance("with_timeouts", new()
        {
            Name = "my_postgres_instance",
            ComputeFamily = "STANDARD_M",
            StorageSizeGb = 10,
            AuthenticationAuthority = "POSTGRES",
        });
    
        // complete resource
        var complete = new Snowflake.PostgresInstance("complete", new()
        {
            Name = "my_postgres_instance_complete",
            ComputeFamily = "STANDARD_M",
            StorageSizeGb = 10,
            AuthenticationAuthority = "POSTGRES_OR_SNOWFLAKE",
            PostgresVersion = 16,
            NetworkPolicy = "my_network_policy",
            StorageIntegration = "my_storage_integration",
            HighAvailability = "true",
            PostgresSettings = "{\"max_connections\": 100}",
            MaintenanceWindowStart = 8,
            Comment = "My Postgres instance",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.snowflake.PostgresInstance;
    import com.pulumi.snowflake.PostgresInstanceArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            // basic resource
            var basic = new PostgresInstance("basic", PostgresInstanceArgs.builder()
                .name("my_postgres_instance")
                .computeFamily("STANDARD_M")
                .storageSizeGb(10)
                .authenticationAuthority("POSTGRES")
                .build());
    
            // with custom timeouts (postgres operations can take longer than the defaults)
            var withTimeouts = new PostgresInstance("withTimeouts", PostgresInstanceArgs.builder()
                .name("my_postgres_instance")
                .computeFamily("STANDARD_M")
                .storageSizeGb(10)
                .authenticationAuthority("POSTGRES")
                .build());
    
            // complete resource
            var complete = new PostgresInstance("complete", PostgresInstanceArgs.builder()
                .name("my_postgres_instance_complete")
                .computeFamily("STANDARD_M")
                .storageSizeGb(10)
                .authenticationAuthority("POSTGRES_OR_SNOWFLAKE")
                .postgresVersion(16)
                .networkPolicy("my_network_policy")
                .storageIntegration("my_storage_integration")
                .highAvailability("true")
                .postgresSettings("{\"max_connections\": 100}")
                .maintenanceWindowStart(8)
                .comment("My Postgres instance")
                .build());
    
        }
    }
    
    resources:
      # basic resource
      basic:
        type: snowflake:PostgresInstance
        properties:
          name: my_postgres_instance
          computeFamily: STANDARD_M
          storageSizeGb: 10
          authenticationAuthority: POSTGRES
      # with custom timeouts (postgres operations can take longer than the defaults)
      withTimeouts:
        type: snowflake:PostgresInstance
        name: with_timeouts
        properties:
          name: my_postgres_instance
          computeFamily: STANDARD_M
          storageSizeGb: 10
          authenticationAuthority: POSTGRES
      # complete resource
      complete:
        type: snowflake:PostgresInstance
        properties:
          name: my_postgres_instance_complete
          computeFamily: STANDARD_M
          storageSizeGb: 10
          authenticationAuthority: POSTGRES_OR_SNOWFLAKE
          postgresVersion: 16
          networkPolicy: my_network_policy
          storageIntegration: my_storage_integration
          highAvailability: 'true'
          postgresSettings: '{"max_connections": 100}'
          maintenanceWindowStart: 8
          comment: My Postgres instance
    
    pulumi {
      required_providers {
        snowflake = {
          source = "pulumi/snowflake"
        }
      }
    }
    
    # basic resource
    resource "snowflake_postgresinstance" "basic" {
      name                     = "my_postgres_instance"
      compute_family           = "STANDARD_M"
      storage_size_gb          = 10
      authentication_authority = "POSTGRES"
    }
    # with custom timeouts (postgres operations can take longer than the defaults)
    resource "snowflake_postgresinstance" "with_timeouts" {
      name                     = "my_postgres_instance"
      compute_family           = "STANDARD_M"
      storage_size_gb          = 10
      authentication_authority = "POSTGRES"
    }
    # complete resource
    resource "snowflake_postgresinstance" "complete" {
      name                     = "my_postgres_instance_complete"
      compute_family           = "STANDARD_M"
      storage_size_gb          = 10
      authentication_authority = "POSTGRES_OR_SNOWFLAKE"
      postgres_version         = 16
      network_policy           = "my_network_policy"
      storage_integration      = "my_storage_integration"
      high_availability        = "true"
      postgres_settings        = "{\"max_connections\": 100}"
      maintenance_window_start = 8
      comment                  = "My Postgres instance"
    }
    

    Note Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.

    Note If a field has a default value, it is shown next to the type in the schema.

    Create PostgresInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PostgresInstance(name: string, args: PostgresInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def PostgresInstance(resource_name: str,
                         args: PostgresInstanceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PostgresInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         authentication_authority: Optional[str] = None,
                         compute_family: Optional[str] = None,
                         postgres_version: Optional[int] = None,
                         storage_size_gb: Optional[int] = None,
                         comment: Optional[str] = None,
                         high_availability: Optional[str] = None,
                         maintenance_window_start: Optional[int] = None,
                         name: Optional[str] = None,
                         network_policy: Optional[str] = None,
                         postgres_settings: Optional[str] = None,
                         storage_integration: Optional[str] = None)
    func NewPostgresInstance(ctx *Context, name string, args PostgresInstanceArgs, opts ...ResourceOption) (*PostgresInstance, error)
    public PostgresInstance(string name, PostgresInstanceArgs args, CustomResourceOptions? opts = null)
    public PostgresInstance(String name, PostgresInstanceArgs args)
    public PostgresInstance(String name, PostgresInstanceArgs args, CustomResourceOptions options)
    
    type: snowflake:PostgresInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "snowflake_postgres_instance" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PostgresInstanceArgs
    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 PostgresInstanceArgs
    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 PostgresInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PostgresInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PostgresInstanceArgs
    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 postgresInstanceResource = new Snowflake.PostgresInstance("postgresInstanceResource", new()
    {
        AuthenticationAuthority = "string",
        ComputeFamily = "string",
        PostgresVersion = 0,
        StorageSizeGb = 0,
        Comment = "string",
        HighAvailability = "string",
        MaintenanceWindowStart = 0,
        Name = "string",
        NetworkPolicy = "string",
        PostgresSettings = "string",
        StorageIntegration = "string",
    });
    
    example, err := snowflake.NewPostgresInstance(ctx, "postgresInstanceResource", &snowflake.PostgresInstanceArgs{
    	AuthenticationAuthority: pulumi.String("string"),
    	ComputeFamily:           pulumi.String("string"),
    	PostgresVersion:         pulumi.Int(0),
    	StorageSizeGb:           pulumi.Int(0),
    	Comment:                 pulumi.String("string"),
    	HighAvailability:        pulumi.String("string"),
    	MaintenanceWindowStart:  pulumi.Int(0),
    	Name:                    pulumi.String("string"),
    	NetworkPolicy:           pulumi.String("string"),
    	PostgresSettings:        pulumi.String("string"),
    	StorageIntegration:      pulumi.String("string"),
    })
    
    resource "snowflake_postgres_instance" "postgresInstanceResource" {
      lifecycle {
        create_before_destroy = true
      }
      authentication_authority = "string"
      compute_family           = "string"
      postgres_version         = 0
      storage_size_gb          = 0
      comment                  = "string"
      high_availability        = "string"
      maintenance_window_start = 0
      name                     = "string"
      network_policy           = "string"
      postgres_settings        = "string"
      storage_integration      = "string"
    }
    
    var postgresInstanceResource = new PostgresInstance("postgresInstanceResource", PostgresInstanceArgs.builder()
        .authenticationAuthority("string")
        .computeFamily("string")
        .postgresVersion(0)
        .storageSizeGb(0)
        .comment("string")
        .highAvailability("string")
        .maintenanceWindowStart(0)
        .name("string")
        .networkPolicy("string")
        .postgresSettings("string")
        .storageIntegration("string")
        .build());
    
    postgres_instance_resource = snowflake.PostgresInstance("postgresInstanceResource",
        authentication_authority="string",
        compute_family="string",
        postgres_version=0,
        storage_size_gb=0,
        comment="string",
        high_availability="string",
        maintenance_window_start=0,
        name="string",
        network_policy="string",
        postgres_settings="string",
        storage_integration="string")
    
    const postgresInstanceResource = new snowflake.PostgresInstance("postgresInstanceResource", {
        authenticationAuthority: "string",
        computeFamily: "string",
        postgresVersion: 0,
        storageSizeGb: 0,
        comment: "string",
        highAvailability: "string",
        maintenanceWindowStart: 0,
        name: "string",
        networkPolicy: "string",
        postgresSettings: "string",
        storageIntegration: "string",
    });
    
    type: snowflake:PostgresInstance
    properties:
        authenticationAuthority: string
        comment: string
        computeFamily: string
        highAvailability: string
        maintenanceWindowStart: 0
        name: string
        networkPolicy: string
        postgresSettings: string
        postgresVersion: 0
        storageIntegration: string
        storageSizeGb: 0
    

    PostgresInstance 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 PostgresInstance resource accepts the following input properties:

    AuthenticationAuthority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    ComputeFamily string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    PostgresVersion int
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    StorageSizeGb int
    Specifies the storage size in GB for the Postgres instance.
    Comment string
    Specifies a comment for the Postgres instance.
    HighAvailability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    MaintenanceWindowStart int
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    Name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    NetworkPolicy string
    Specifies the network policy to associate with the Postgres instance.
    PostgresSettings string
    Specifies custom Postgres settings as a JSON string.
    StorageIntegration string
    Specifies the storage integration for the Postgres instance.
    AuthenticationAuthority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    ComputeFamily string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    PostgresVersion int
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    StorageSizeGb int
    Specifies the storage size in GB for the Postgres instance.
    Comment string
    Specifies a comment for the Postgres instance.
    HighAvailability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    MaintenanceWindowStart int
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    Name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    NetworkPolicy string
    Specifies the network policy to associate with the Postgres instance.
    PostgresSettings string
    Specifies custom Postgres settings as a JSON string.
    StorageIntegration string
    Specifies the storage integration for the Postgres instance.
    authentication_authority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    compute_family string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    postgres_version number
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    storage_size_gb number
    Specifies the storage size in GB for the Postgres instance.
    comment string
    Specifies a comment for the Postgres instance.
    high_availability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenance_window_start number
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    network_policy string
    Specifies the network policy to associate with the Postgres instance.
    postgres_settings string
    Specifies custom Postgres settings as a JSON string.
    storage_integration string
    Specifies the storage integration for the Postgres instance.
    authenticationAuthority String
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    computeFamily String
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    postgresVersion Integer
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    storageSizeGb Integer
    Specifies the storage size in GB for the Postgres instance.
    comment String
    Specifies a comment for the Postgres instance.
    highAvailability String
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenanceWindowStart Integer
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name String
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    networkPolicy String
    Specifies the network policy to associate with the Postgres instance.
    postgresSettings String
    Specifies custom Postgres settings as a JSON string.
    storageIntegration String
    Specifies the storage integration for the Postgres instance.
    authenticationAuthority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    computeFamily string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    postgresVersion number
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    storageSizeGb number
    Specifies the storage size in GB for the Postgres instance.
    comment string
    Specifies a comment for the Postgres instance.
    highAvailability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenanceWindowStart number
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    networkPolicy string
    Specifies the network policy to associate with the Postgres instance.
    postgresSettings string
    Specifies custom Postgres settings as a JSON string.
    storageIntegration string
    Specifies the storage integration for the Postgres instance.
    authentication_authority str
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    compute_family str
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    postgres_version int
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    storage_size_gb int
    Specifies the storage size in GB for the Postgres instance.
    comment str
    Specifies a comment for the Postgres instance.
    high_availability str
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenance_window_start int
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name str
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    network_policy str
    Specifies the network policy to associate with the Postgres instance.
    postgres_settings str
    Specifies custom Postgres settings as a JSON string.
    storage_integration str
    Specifies the storage integration for the Postgres instance.
    authenticationAuthority String
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    computeFamily String
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    postgresVersion Number
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    storageSizeGb Number
    Specifies the storage size in GB for the Postgres instance.
    comment String
    Specifies a comment for the Postgres instance.
    highAvailability String
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenanceWindowStart Number
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name String
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    networkPolicy String
    Specifies the network policy to associate with the Postgres instance.
    postgresSettings String
    Specifies custom Postgres settings as a JSON string.
    storageIntegration String
    Specifies the storage integration for the Postgres instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PostgresInstance resource produces the following output properties:

    DescribeOutputs List<PostgresInstanceDescribeOutput>
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    ShowOutputs List<PostgresInstanceShowOutput>
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    DescribeOutputs []PostgresInstanceDescribeOutput
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    ShowOutputs []PostgresInstanceShowOutput
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    describe_outputs list(object)
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fully_qualified_name string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    show_outputs list(object)
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    describeOutputs List<PostgresInstanceDescribeOutput>
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    showOutputs List<PostgresInstanceShowOutput>
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    describeOutputs PostgresInstanceDescribeOutput[]
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    showOutputs PostgresInstanceShowOutput[]
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    describe_outputs Sequence[PostgresInstanceDescribeOutput]
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    id str
    The provider-assigned unique ID for this managed resource.
    show_outputs Sequence[PostgresInstanceShowOutput]
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    describeOutputs List<Property Map>
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    showOutputs List<Property Map>
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.

    Look up Existing PostgresInstance Resource

    Get an existing PostgresInstance 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?: PostgresInstanceState, opts?: CustomResourceOptions): PostgresInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication_authority: Optional[str] = None,
            comment: Optional[str] = None,
            compute_family: Optional[str] = None,
            describe_outputs: Optional[Sequence[PostgresInstanceDescribeOutputArgs]] = None,
            fully_qualified_name: Optional[str] = None,
            high_availability: Optional[str] = None,
            maintenance_window_start: Optional[int] = None,
            name: Optional[str] = None,
            network_policy: Optional[str] = None,
            postgres_settings: Optional[str] = None,
            postgres_version: Optional[int] = None,
            show_outputs: Optional[Sequence[PostgresInstanceShowOutputArgs]] = None,
            storage_integration: Optional[str] = None,
            storage_size_gb: Optional[int] = None) -> PostgresInstance
    func GetPostgresInstance(ctx *Context, name string, id IDInput, state *PostgresInstanceState, opts ...ResourceOption) (*PostgresInstance, error)
    public static PostgresInstance Get(string name, Input<string> id, PostgresInstanceState? state, CustomResourceOptions? opts = null)
    public static PostgresInstance get(String name, Output<String> id, PostgresInstanceState state, CustomResourceOptions options)
    resources:  _:    type: snowflake:PostgresInstance    get:      id: ${id}
    import {
      to = snowflake_postgres_instance.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.
    The following state arguments are supported:
    AuthenticationAuthority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    Comment string
    Specifies a comment for the Postgres instance.
    ComputeFamily string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    DescribeOutputs List<PostgresInstanceDescribeOutput>
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    HighAvailability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    MaintenanceWindowStart int
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    Name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    NetworkPolicy string
    Specifies the network policy to associate with the Postgres instance.
    PostgresSettings string
    Specifies custom Postgres settings as a JSON string.
    PostgresVersion int
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    ShowOutputs List<PostgresInstanceShowOutput>
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    StorageIntegration string
    Specifies the storage integration for the Postgres instance.
    StorageSizeGb int
    Specifies the storage size in GB for the Postgres instance.
    AuthenticationAuthority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    Comment string
    Specifies a comment for the Postgres instance.
    ComputeFamily string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    DescribeOutputs []PostgresInstanceDescribeOutputArgs
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    HighAvailability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    MaintenanceWindowStart int
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    Name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    NetworkPolicy string
    Specifies the network policy to associate with the Postgres instance.
    PostgresSettings string
    Specifies custom Postgres settings as a JSON string.
    PostgresVersion int
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    ShowOutputs []PostgresInstanceShowOutputArgs
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    StorageIntegration string
    Specifies the storage integration for the Postgres instance.
    StorageSizeGb int
    Specifies the storage size in GB for the Postgres instance.
    authentication_authority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    comment string
    Specifies a comment for the Postgres instance.
    compute_family string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    describe_outputs list(object)
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fully_qualified_name string
    Fully qualified name of the resource. For more information, see object name resolution.
    high_availability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenance_window_start number
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    network_policy string
    Specifies the network policy to associate with the Postgres instance.
    postgres_settings string
    Specifies custom Postgres settings as a JSON string.
    postgres_version number
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    show_outputs list(object)
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    storage_integration string
    Specifies the storage integration for the Postgres instance.
    storage_size_gb number
    Specifies the storage size in GB for the Postgres instance.
    authenticationAuthority String
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    comment String
    Specifies a comment for the Postgres instance.
    computeFamily String
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    describeOutputs List<PostgresInstanceDescribeOutput>
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    highAvailability String
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenanceWindowStart Integer
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name String
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    networkPolicy String
    Specifies the network policy to associate with the Postgres instance.
    postgresSettings String
    Specifies custom Postgres settings as a JSON string.
    postgresVersion Integer
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    showOutputs List<PostgresInstanceShowOutput>
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    storageIntegration String
    Specifies the storage integration for the Postgres instance.
    storageSizeGb Integer
    Specifies the storage size in GB for the Postgres instance.
    authenticationAuthority string
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    comment string
    Specifies a comment for the Postgres instance.
    computeFamily string
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    describeOutputs PostgresInstanceDescribeOutput[]
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    highAvailability string
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenanceWindowStart number
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name string
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    networkPolicy string
    Specifies the network policy to associate with the Postgres instance.
    postgresSettings string
    Specifies custom Postgres settings as a JSON string.
    postgresVersion number
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    showOutputs PostgresInstanceShowOutput[]
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    storageIntegration string
    Specifies the storage integration for the Postgres instance.
    storageSizeGb number
    Specifies the storage size in GB for the Postgres instance.
    authentication_authority str
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    comment str
    Specifies a comment for the Postgres instance.
    compute_family str
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    describe_outputs Sequence[PostgresInstanceDescribeOutputArgs]
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    high_availability str
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenance_window_start int
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name str
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    network_policy str
    Specifies the network policy to associate with the Postgres instance.
    postgres_settings str
    Specifies custom Postgres settings as a JSON string.
    postgres_version int
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    show_outputs Sequence[PostgresInstanceShowOutputArgs]
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    storage_integration str
    Specifies the storage integration for the Postgres instance.
    storage_size_gb int
    Specifies the storage size in GB for the Postgres instance.
    authenticationAuthority String
    Specifies the authentication authority for the Postgres instance. Valid values are (case-insensitive): POSTGRES | POSTGRES_OR_SNOWFLAKE.
    comment String
    Specifies a comment for the Postgres instance.
    computeFamily String
    Specifies the compute family for the Postgres instance. Valid values are (case-insensitive): STANDARD_M | STANDARD_L | STANDARD_XL | STANDARD_2XL | STANDARD_4XL | STANDARD_8XL | STANDARD_12XL | STANDARD_24XL | HIGHMEM_L | HIGHMEM_XL | HIGHMEM_2XL | HIGHMEM_4XL | HIGHMEM_8XL | HIGHMEM_12XL | HIGHMEM_16XL | HIGHMEM_24XL | HIGHMEM_32XL | HIGHMEM_48XL | BURST_XS | BURST_S | BURST_M.
    describeOutputs List<Property Map>
    Outputs the result of DESCRIBE POSTGRES INSTANCE for the given Postgres instance.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    highAvailability String
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether the Postgres instance should be configured for high availability. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
    maintenanceWindowStart Number
    (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the hour (0-23 UTC) at which the maintenance window starts.
    name String
    Specifies the identifier for the Postgres instance; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    networkPolicy String
    Specifies the network policy to associate with the Postgres instance.
    postgresSettings String
    Specifies custom Postgres settings as a JSON string.
    postgresVersion Number
    Specifies the Postgres version for the instance. Note that Snowflake does not allow downgrading; the version can only be upgraded.
    showOutputs List<Property Map>
    Outputs the result of SHOW POSTGRES INSTANCES for the given Postgres instance.
    storageIntegration String
    Specifies the storage integration for the Postgres instance.
    storageSizeGb Number
    Specifies the storage size in GB for the Postgres instance.

    Supporting Types

    PostgresInstanceDescribeOutput, PostgresInstanceDescribeOutputArgs

    PostgresInstanceShowOutput, PostgresInstanceShowOutputArgs

    authenticationAuthority String
    comment String
    computeFamily String
    createdOn String
    host String
    isHa Boolean
    name String
    origin String
    owner String
    ownerRoleType String
    postgresSettings String
    postgresVersion String
    privatelinkServiceIdentifier String
    retentionTime Integer
    state String
    storageSize Integer
    type String
    updatedOn String
    authenticationAuthority string
    comment string
    computeFamily string
    createdOn string
    host string
    isHa boolean
    name string
    origin string
    owner string
    ownerRoleType string
    postgresSettings string
    postgresVersion string
    privatelinkServiceIdentifier string
    retentionTime number
    state string
    storageSize number
    type string
    updatedOn string
    authenticationAuthority String
    comment String
    computeFamily String
    createdOn String
    host String
    isHa Boolean
    name String
    origin String
    owner String
    ownerRoleType String
    postgresSettings String
    postgresVersion String
    privatelinkServiceIdentifier String
    retentionTime Number
    state String
    storageSize Number
    type String
    updatedOn String

    Import

    $ pulumi import snowflake:index/postgresInstance:PostgresInstance example '"<postgres_instance_name>"'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Snowflake pulumi/pulumi-snowflake
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the snowflake Terraform Provider.
    snowflake logo
    Viewing docs for Snowflake v2.18.0
    published on Wednesday, Jul 8, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial