1. Packages
  2. Snowflake Provider
  3. API Docs
  4. Account
Snowflake v1.2.0 published on Monday, Apr 14, 2025 by Pulumi

snowflake.Account

Explore with Pulumi AI

Import

$ pulumi import snowflake:index/account:Account example '"<organization_name>"."<account_name>"'
Copy

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,
            grace_period_in_days: Optional[int] = None,
            email: Optional[str] = None,
            admin_name: Optional[str] = None,
            admin_user_type: Optional[str] = None,
            comment: Optional[str] = None,
            admin_rsa_public_key: Optional[str] = None,
            first_name: Optional[str] = None,
            admin_password: Optional[str] = None,
            is_org_admin: Optional[str] = None,
            last_name: Optional[str] = None,
            must_change_password: Optional[str] = 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 This property is required. string
The unique name of the resource.
args This property is required. AccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. AccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AccountArgs
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 accountResource = new Snowflake.Account("accountResource", new()
{
    Edition = "string",
    GracePeriodInDays = 0,
    Email = "string",
    AdminName = "string",
    AdminUserType = "string",
    Comment = "string",
    AdminRsaPublicKey = "string",
    FirstName = "string",
    AdminPassword = "string",
    IsOrgAdmin = "string",
    LastName = "string",
    MustChangePassword = "string",
    Name = "string",
    Region = "string",
    RegionGroup = "string",
});
Copy
example, err := snowflake.NewAccount(ctx, "accountResource", &snowflake.AccountArgs{
	Edition:            pulumi.String("string"),
	GracePeriodInDays:  pulumi.Int(0),
	Email:              pulumi.String("string"),
	AdminName:          pulumi.String("string"),
	AdminUserType:      pulumi.String("string"),
	Comment:            pulumi.String("string"),
	AdminRsaPublicKey:  pulumi.String("string"),
	FirstName:          pulumi.String("string"),
	AdminPassword:      pulumi.String("string"),
	IsOrgAdmin:         pulumi.String("string"),
	LastName:           pulumi.String("string"),
	MustChangePassword: pulumi.String("string"),
	Name:               pulumi.String("string"),
	Region:             pulumi.String("string"),
	RegionGroup:        pulumi.String("string"),
})
Copy
var accountResource = new Account("accountResource", AccountArgs.builder()
    .edition("string")
    .gracePeriodInDays(0)
    .email("string")
    .adminName("string")
    .adminUserType("string")
    .comment("string")
    .adminRsaPublicKey("string")
    .firstName("string")
    .adminPassword("string")
    .isOrgAdmin("string")
    .lastName("string")
    .mustChangePassword("string")
    .name("string")
    .region("string")
    .regionGroup("string")
    .build());
Copy
account_resource = snowflake.Account("accountResource",
    edition="string",
    grace_period_in_days=0,
    email="string",
    admin_name="string",
    admin_user_type="string",
    comment="string",
    admin_rsa_public_key="string",
    first_name="string",
    admin_password="string",
    is_org_admin="string",
    last_name="string",
    must_change_password="string",
    name="string",
    region="string",
    region_group="string")
Copy
const accountResource = new snowflake.Account("accountResource", {
    edition: "string",
    gracePeriodInDays: 0,
    email: "string",
    adminName: "string",
    adminUserType: "string",
    comment: "string",
    adminRsaPublicKey: "string",
    firstName: "string",
    adminPassword: "string",
    isOrgAdmin: "string",
    lastName: "string",
    mustChangePassword: "string",
    name: "string",
    region: "string",
    regionGroup: "string",
});
Copy
type: snowflake:Account
properties:
    adminName: string
    adminPassword: string
    adminRsaPublicKey: string
    adminUserType: string
    comment: string
    edition: string
    email: string
    firstName: string
    gracePeriodInDays: 0
    isOrgAdmin: string
    lastName: string
    mustChangePassword: string
    name: string
    region: string
    regionGroup: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Account resource accepts the following input properties:

AdminName This property is required. string
Edition
This property is required.
Changes to this property will trigger replacement.
string
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
Email This property is required. string
GracePeriodInDays This property is required. int
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
AdminPassword string
AdminRsaPublicKey string
AdminUserType string
Comment Changes to this property will trigger replacement. string
Specifies a comment for the account.
FirstName string
IsOrgAdmin string
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
LastName string
MustChangePassword string
Name string
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. string
Snowflake Region ID of the 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 Changes to this property will trigger replacement. string
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
AdminName This property is required. string
Edition
This property is required.
Changes to this property will trigger replacement.
string
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
Email This property is required. string
GracePeriodInDays This property is required. int
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
AdminPassword string
AdminRsaPublicKey string
AdminUserType string
Comment Changes to this property will trigger replacement. string
Specifies a comment for the account.
FirstName string
IsOrgAdmin string
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
LastName string
MustChangePassword string
Name string
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. string
Snowflake Region ID of the 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 Changes to this property will trigger replacement. string
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
adminName This property is required. String
edition
This property is required.
Changes to this property will trigger replacement.
String
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email This property is required. String
gracePeriodInDays This property is required. Integer
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
adminPassword String
adminRsaPublicKey String
adminUserType String
comment Changes to this property will trigger replacement. String
Specifies a comment for the account.
firstName String
isOrgAdmin String
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
lastName String
mustChangePassword String
name String
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. String
Snowflake Region ID of the 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 Changes to this property will trigger replacement. String
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
adminName This property is required. string
edition
This property is required.
Changes to this property will trigger replacement.
string
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email This property is required. string
gracePeriodInDays This property is required. number
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
adminPassword string
adminRsaPublicKey string
adminUserType string
comment Changes to this property will trigger replacement. string
Specifies a comment for the account.
firstName string
isOrgAdmin string
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
lastName string
mustChangePassword string
name string
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. string
Snowflake Region ID of the 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 Changes to this property will trigger replacement. string
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
admin_name This property is required. str
edition
This property is required.
Changes to this property will trigger replacement.
str
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email This property is required. str
grace_period_in_days This property is required. int
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
admin_password str
admin_rsa_public_key str
admin_user_type str
comment Changes to this property will trigger replacement. str
Specifies a comment for the account.
first_name str
is_org_admin str
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
last_name str
must_change_password str
name str
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. str
Snowflake Region ID of the 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 Changes to this property will trigger replacement. str
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
adminName This property is required. String
edition
This property is required.
Changes to this property will trigger replacement.
String
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email This property is required. String
gracePeriodInDays This property is required. Number
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
adminPassword String
adminRsaPublicKey String
adminUserType String
comment Changes to this property will trigger replacement. String
Specifies a comment for the account.
firstName String
isOrgAdmin String
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
lastName String
mustChangePassword String
name String
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. String
Snowflake Region ID of the 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 Changes to this property will trigger replacement. String
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.

Outputs

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

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<AccountShowOutput>
Outputs the result of SHOW ACCOUNTS for the given account.
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 []AccountShowOutput
Outputs the result of SHOW ACCOUNTS for the given account.
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<AccountShowOutput>
Outputs the result of SHOW ACCOUNTS for the given account.
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 AccountShowOutput[]
Outputs the result of SHOW ACCOUNTS for the given account.
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[AccountShowOutput]
Outputs the result of SHOW ACCOUNTS for the given account.
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 ACCOUNTS for the given account.

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,
        admin_user_type: Optional[str] = None,
        comment: Optional[str] = None,
        edition: Optional[str] = None,
        email: Optional[str] = None,
        first_name: Optional[str] = None,
        fully_qualified_name: Optional[str] = None,
        grace_period_in_days: Optional[int] = None,
        is_org_admin: Optional[str] = None,
        last_name: Optional[str] = None,
        must_change_password: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        region_group: Optional[str] = None,
        show_outputs: Optional[Sequence[AccountShowOutputArgs]] = 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)
resources:  _:    type: snowflake:Account    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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
AdminPassword string
AdminRsaPublicKey string
AdminUserType string
Comment Changes to this property will trigger replacement. string
Specifies a comment for the account.
Edition Changes to this property will trigger replacement. string
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
Email string
FirstName string
FullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
GracePeriodInDays int
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
IsOrgAdmin string
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
LastName string
MustChangePassword string
Name string
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. string
Snowflake Region ID of the 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 Changes to this property will trigger replacement. string
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
ShowOutputs List<AccountShowOutput>
Outputs the result of SHOW ACCOUNTS for the given account.
AdminName string
AdminPassword string
AdminRsaPublicKey string
AdminUserType string
Comment Changes to this property will trigger replacement. string
Specifies a comment for the account.
Edition Changes to this property will trigger replacement. string
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
Email string
FirstName string
FullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
GracePeriodInDays int
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
IsOrgAdmin string
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
LastName string
MustChangePassword string
Name string
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. string
Snowflake Region ID of the 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 Changes to this property will trigger replacement. string
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
ShowOutputs []AccountShowOutputArgs
Outputs the result of SHOW ACCOUNTS for the given account.
adminName String
adminPassword String
adminRsaPublicKey String
adminUserType String
comment Changes to this property will trigger replacement. String
Specifies a comment for the account.
edition Changes to this property will trigger replacement. String
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email String
firstName String
fullyQualifiedName String
Fully qualified name of the resource. For more information, see object name resolution.
gracePeriodInDays Integer
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
isOrgAdmin String
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
lastName String
mustChangePassword String
name String
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. String
Snowflake Region ID of the 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 Changes to this property will trigger replacement. String
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
showOutputs List<AccountShowOutput>
Outputs the result of SHOW ACCOUNTS for the given account.
adminName string
adminPassword string
adminRsaPublicKey string
adminUserType string
comment Changes to this property will trigger replacement. string
Specifies a comment for the account.
edition Changes to this property will trigger replacement. string
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email string
firstName string
fullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
gracePeriodInDays number
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
isOrgAdmin string
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
lastName string
mustChangePassword string
name string
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. string
Snowflake Region ID of the 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 Changes to this property will trigger replacement. string
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
showOutputs AccountShowOutput[]
Outputs the result of SHOW ACCOUNTS for the given account.
admin_name str
admin_password str
admin_rsa_public_key str
admin_user_type str
comment Changes to this property will trigger replacement. str
Specifies a comment for the account.
edition Changes to this property will trigger replacement. str
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email str
first_name str
fully_qualified_name str
Fully qualified name of the resource. For more information, see object name resolution.
grace_period_in_days int
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
is_org_admin str
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
last_name str
must_change_password str
name str
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. str
Snowflake Region ID of the 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 Changes to this property will trigger replacement. str
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
show_outputs Sequence[AccountShowOutputArgs]
Outputs the result of SHOW ACCOUNTS for the given account.
adminName String
adminPassword String
adminRsaPublicKey String
adminUserType String
comment Changes to this property will trigger replacement. String
Specifies a comment for the account.
edition Changes to this property will trigger replacement. String
Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are: STANDARD | ENTERPRISE | BUSINESS_CRITICAL
email String
firstName String
fullyQualifiedName String
Fully qualified name of the resource. For more information, see object name resolution.
gracePeriodInDays Number
Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
isOrgAdmin String
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
lastName String
mustChangePassword String
name String
Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and 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 Changes to this property will trigger replacement. String
Snowflake Region ID of the 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 Changes to this property will trigger replacement. String
ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
showOutputs List<Property Map>
Outputs the result of SHOW ACCOUNTS for the given account.

Supporting Types

AccountShowOutput
, AccountShowOutputArgs

Package Details

Repository
Snowflake pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.