1. Packages
  2. Snowflake
  3. API Docs
  4. Account
Snowflake v0.52.0 published on Thursday, Apr 18, 2024 by Pulumi

snowflake.Account

Explore with Pulumi AI

snowflake logo
Snowflake v0.52.0 published on Thursday, Apr 18, 2024 by Pulumi

    The account resource allows you to create and manage Snowflake accounts.

    **WARNING** This resource cannot be destroyed!!! The only way to delete accounts is to go through [Snowflake Support](https://docs.snowflake.com/en/user-guide/organizations-manage-accounts.html#deleting-an-account)
    
    **NOTE** ORGADMIN priviliges are required for this resource
    

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as snowflake from "@pulumi/snowflake";
    
    const orgadmin = new snowflake.Provider("orgadmin", {role: "ORGADMIN"});
    const ac1 = new snowflake.Account("ac1", {
        adminName: "John Doe",
        adminPassword: "Abcd1234!",
        email: "john.doe@snowflake.com",
        firstName: "John",
        lastName: "Doe",
        mustChangePassword: true,
        edition: "STANDARD",
        comment: "Snowflake Test Account",
        region: "AWS_US_WEST_2",
    }, {
        provider: snowflake.orgadmin,
    });
    
    import pulumi
    import pulumi_snowflake as snowflake
    
    orgadmin = snowflake.Provider("orgadmin", role="ORGADMIN")
    ac1 = snowflake.Account("ac1",
        admin_name="John Doe",
        admin_password="Abcd1234!",
        email="john.doe@snowflake.com",
        first_name="John",
        last_name="Doe",
        must_change_password=True,
        edition="STANDARD",
        comment="Snowflake Test Account",
        region="AWS_US_WEST_2",
        opts=pulumi.ResourceOptions(provider=snowflake["orgadmin"]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-snowflake/sdk/go/snowflake"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := snowflake.NewProvider(ctx, "orgadmin", &snowflake.ProviderArgs{
    			Role: pulumi.String("ORGADMIN"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = snowflake.NewAccount(ctx, "ac1", &snowflake.AccountArgs{
    			AdminName:          pulumi.String("John Doe"),
    			AdminPassword:      pulumi.String("Abcd1234!"),
    			Email:              pulumi.String("john.doe@snowflake.com"),
    			FirstName:          pulumi.String("John"),
    			LastName:           pulumi.String("Doe"),
    			MustChangePassword: pulumi.Bool(true),
    			Edition:            pulumi.String("STANDARD"),
    			Comment:            pulumi.String("Snowflake Test Account"),
    			Region:             pulumi.String("AWS_US_WEST_2"),
    		}, pulumi.Provider(snowflake.Orgadmin))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Snowflake = Pulumi.Snowflake;
    
    return await Deployment.RunAsync(() => 
    {
        var orgadmin = new Snowflake.Provider("orgadmin", new()
        {
            Role = "ORGADMIN",
        });
    
        var ac1 = new Snowflake.Account("ac1", new()
        {
            AdminName = "John Doe",
            AdminPassword = "Abcd1234!",
            Email = "john.doe@snowflake.com",
            FirstName = "John",
            LastName = "Doe",
            MustChangePassword = true,
            Edition = "STANDARD",
            Comment = "Snowflake Test Account",
            Region = "AWS_US_WEST_2",
        }, new CustomResourceOptions
        {
            Provider = snowflake.Orgadmin,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.snowflake.Provider;
    import com.pulumi.snowflake.ProviderArgs;
    import com.pulumi.snowflake.Account;
    import com.pulumi.snowflake.AccountArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 orgadmin = new Provider("orgadmin", ProviderArgs.builder()        
                .role("ORGADMIN")
                .build());
    
            var ac1 = new Account("ac1", AccountArgs.builder()        
                .adminName("John Doe")
                .adminPassword("Abcd1234!")
                .email("john.doe@snowflake.com")
                .firstName("John")
                .lastName("Doe")
                .mustChangePassword(true)
                .edition("STANDARD")
                .comment("Snowflake Test Account")
                .region("AWS_US_WEST_2")
                .build(), CustomResourceOptions.builder()
                    .provider(snowflake.orgadmin())
                    .build());
    
        }
    }
    
    resources:
      orgadmin:
        type: pulumi:providers:snowflake
        properties:
          role: ORGADMIN
      ac1:
        type: snowflake:Account
        properties:
          adminName: John Doe
          adminPassword: Abcd1234!
          email: john.doe@snowflake.com
          firstName: John
          lastName: Doe
          mustChangePassword: true
          edition: STANDARD
          comment: Snowflake Test Account
          region: AWS_US_WEST_2
        options:
          provider: ${snowflake.orgadmin}
    

    Create Account Resource

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

    Constructor syntax

    new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
    @overload
    def Account(resource_name: str,
                args: AccountArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Account(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                edition: Optional[str] = None,
                admin_name: Optional[str] = None,
                email: Optional[str] = None,
                first_name: Optional[str] = None,
                comment: Optional[str] = None,
                admin_rsa_public_key: Optional[str] = None,
                admin_password: Optional[str] = None,
                grace_period_in_days: Optional[int] = None,
                last_name: Optional[str] = None,
                must_change_password: Optional[bool] = None,
                name: Optional[str] = None,
                region: Optional[str] = None,
                region_group: Optional[str] = None)
    func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
    public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
    public Account(String name, AccountArgs args)
    public Account(String name, AccountArgs args, CustomResourceOptions options)
    
    type: snowflake:Account
    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 AccountArgs
    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 AccountArgs
    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 AccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var accountResource = new Snowflake.Account("accountResource", new()
    {
        Edition = "string",
        AdminName = "string",
        Email = "string",
        FirstName = "string",
        Comment = "string",
        AdminRsaPublicKey = "string",
        AdminPassword = "string",
        GracePeriodInDays = 0,
        LastName = "string",
        MustChangePassword = false,
        Name = "string",
        Region = "string",
        RegionGroup = "string",
    });
    
    example, err := snowflake.NewAccount(ctx, "accountResource", &snowflake.AccountArgs{
    	Edition:            pulumi.String("string"),
    	AdminName:          pulumi.String("string"),
    	Email:              pulumi.String("string"),
    	FirstName:          pulumi.String("string"),
    	Comment:            pulumi.String("string"),
    	AdminRsaPublicKey:  pulumi.String("string"),
    	AdminPassword:      pulumi.String("string"),
    	GracePeriodInDays:  pulumi.Int(0),
    	LastName:           pulumi.String("string"),
    	MustChangePassword: pulumi.Bool(false),
    	Name:               pulumi.String("string"),
    	Region:             pulumi.String("string"),
    	RegionGroup:        pulumi.String("string"),
    })
    
    var accountResource = new Account("accountResource", AccountArgs.builder()        
        .edition("string")
        .adminName("string")
        .email("string")
        .firstName("string")
        .comment("string")
        .adminRsaPublicKey("string")
        .adminPassword("string")
        .gracePeriodInDays(0)
        .lastName("string")
        .mustChangePassword(false)
        .name("string")
        .region("string")
        .regionGroup("string")
        .build());
    
    account_resource = snowflake.Account("accountResource",
        edition="string",
        admin_name="string",
        email="string",
        first_name="string",
        comment="string",
        admin_rsa_public_key="string",
        admin_password="string",
        grace_period_in_days=0,
        last_name="string",
        must_change_password=False,
        name="string",
        region="string",
        region_group="string")
    
    const accountResource = new snowflake.Account("accountResource", {
        edition: "string",
        adminName: "string",
        email: "string",
        firstName: "string",
        comment: "string",
        adminRsaPublicKey: "string",
        adminPassword: "string",
        gracePeriodInDays: 0,
        lastName: "string",
        mustChangePassword: false,
        name: "string",
        region: "string",
        regionGroup: "string",
    });
    
    type: snowflake:Account
    properties:
        adminName: string
        adminPassword: string
        adminRsaPublicKey: string
        comment: string
        edition: string
        email: string
        firstName: string
        gracePeriodInDays: 0
        lastName: string
        mustChangePassword: false
        name: string
        region: string
        regionGroup: string
    

    Account Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Account resource accepts the following input properties:

    AdminName string
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    Edition string
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    Email string
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    AdminPassword string
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    AdminRsaPublicKey string
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    Comment string
    Specifies a comment for the account.
    FirstName string
    First name of the initial administrative user of the account
    GracePeriodInDays int
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    LastName string
    Last name of the initial administrative user of the account
    MustChangePassword bool
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    Name string
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    Region string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    RegionGroup string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    AdminName string
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    Edition string
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    Email string
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    AdminPassword string
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    AdminRsaPublicKey string
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    Comment string
    Specifies a comment for the account.
    FirstName string
    First name of the initial administrative user of the account
    GracePeriodInDays int
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    LastName string
    Last name of the initial administrative user of the account
    MustChangePassword bool
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    Name string
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    Region string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    RegionGroup string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    adminName String
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    edition String
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email String
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    adminPassword String
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    adminRsaPublicKey String
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment String
    Specifies a comment for the account.
    firstName String
    First name of the initial administrative user of the account
    gracePeriodInDays Integer
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    lastName String
    Last name of the initial administrative user of the account
    mustChangePassword Boolean
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name String
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    regionGroup String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    adminName string
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    edition string
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email string
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    adminPassword string
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    adminRsaPublicKey string
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment string
    Specifies a comment for the account.
    firstName string
    First name of the initial administrative user of the account
    gracePeriodInDays number
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    lastName string
    Last name of the initial administrative user of the account
    mustChangePassword boolean
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name string
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    regionGroup string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    admin_name str
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    edition str
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email str
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    admin_password str
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    admin_rsa_public_key str
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment str
    Specifies a comment for the account.
    first_name str
    First name of the initial administrative user of the account
    grace_period_in_days int
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    last_name str
    Last name of the initial administrative user of the account
    must_change_password bool
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name str
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region str
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    region_group str
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    adminName String
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    edition String
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email String
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    adminPassword String
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    adminRsaPublicKey String
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment String
    Specifies a comment for the account.
    firstName String
    First name of the initial administrative user of the account
    gracePeriodInDays Number
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    lastName String
    Last name of the initial administrative user of the account
    mustChangePassword Boolean
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name String
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    regionGroup String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    IsOrgAdmin bool
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsOrgAdmin bool
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    isOrgAdmin Boolean
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    isOrgAdmin boolean
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    id str
    The provider-assigned unique ID for this managed resource.
    is_org_admin bool
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    isOrgAdmin Boolean
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.

    Look up Existing Account Resource

    Get an existing Account 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?: AccountState, opts?: CustomResourceOptions): Account
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_name: Optional[str] = None,
            admin_password: Optional[str] = None,
            admin_rsa_public_key: Optional[str] = None,
            comment: Optional[str] = None,
            edition: Optional[str] = None,
            email: Optional[str] = None,
            first_name: Optional[str] = None,
            grace_period_in_days: Optional[int] = None,
            is_org_admin: Optional[bool] = None,
            last_name: Optional[str] = None,
            must_change_password: Optional[bool] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            region_group: Optional[str] = None) -> Account
    func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
    public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
    public static Account get(String name, Output<String> id, AccountState 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.
    The following state arguments are supported:
    AdminName string
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    AdminPassword string
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    AdminRsaPublicKey string
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    Comment string
    Specifies a comment for the account.
    Edition string
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    Email string
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    FirstName string
    First name of the initial administrative user of the account
    GracePeriodInDays int
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    IsOrgAdmin bool
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    LastName string
    Last name of the initial administrative user of the account
    MustChangePassword bool
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    Name string
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    Region string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    RegionGroup string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    AdminName string
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    AdminPassword string
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    AdminRsaPublicKey string
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    Comment string
    Specifies a comment for the account.
    Edition string
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    Email string
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    FirstName string
    First name of the initial administrative user of the account
    GracePeriodInDays int
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    IsOrgAdmin bool
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    LastName string
    Last name of the initial administrative user of the account
    MustChangePassword bool
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    Name string
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    Region string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    RegionGroup string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    adminName String
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    adminPassword String
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    adminRsaPublicKey String
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment String
    Specifies a comment for the account.
    edition String
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email String
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    firstName String
    First name of the initial administrative user of the account
    gracePeriodInDays Integer
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    isOrgAdmin Boolean
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    lastName String
    Last name of the initial administrative user of the account
    mustChangePassword Boolean
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name String
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    regionGroup String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    adminName string
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    adminPassword string
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    adminRsaPublicKey string
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment string
    Specifies a comment for the account.
    edition string
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email string
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    firstName string
    First name of the initial administrative user of the account
    gracePeriodInDays number
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    isOrgAdmin boolean
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    lastName string
    Last name of the initial administrative user of the account
    mustChangePassword boolean
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name string
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    regionGroup string
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    admin_name str
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    admin_password str
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    admin_rsa_public_key str
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment str
    Specifies a comment for the account.
    edition str
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email str
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    first_name str
    First name of the initial administrative user of the account
    grace_period_in_days int
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    is_org_admin bool
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    last_name str
    Last name of the initial administrative user of the account
    must_change_password bool
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name str
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region str
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    region_group str
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    adminName String
    Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
    adminPassword String
    Password for the initial administrative user of the account. Optional if the ADMIN_RSA_PUBLIC_KEY parameter is specified. For more information about passwords in Snowflake, see Snowflake-provided Password Policy.
    adminRsaPublicKey String
    Assigns a public key to the initial administrative user of the account in order to implement key pair authentication for the user. Optional if the ADMIN_PASSWORD parameter is specified.
    comment String
    Specifies a comment for the account.
    edition String
    Snowflake Edition of the account. Valid values are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
    email String
    Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
    firstName String
    First name of the initial administrative user of the account
    gracePeriodInDays Number
    Specifies the number of days to wait before dropping the account. The default is 3 days.
    isOrgAdmin Boolean
    Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
    lastName String
    Last name of the initial administrative user of the account
    mustChangePassword Boolean
    Specifies whether the new user created to administer the account is forced to change their password upon first login into the account.
    name String
    Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
    region String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
    regionGroup String
    ID of the Snowflake Region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)

    Import

    $ pulumi import snowflake:index/account:Account account <account_locator>
    

    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
    Snowflake v0.52.0 published on Thursday, Apr 18, 2024 by Pulumi