snowflake.Account
Explore with Pulumi AI
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
Note ORGADMIN priviliges are required for this resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";
const ac1 = new snowflake.Account("ac1", {
name: "SNOWFLAKE_TEST_ACCOUNT",
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",
});
import pulumi
import pulumi_snowflake as snowflake
ac1 = snowflake.Account("ac1",
name="SNOWFLAKE_TEST_ACCOUNT",
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")
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.NewAccount(ctx, "ac1", &snowflake.AccountArgs{
Name: pulumi.String("SNOWFLAKE_TEST_ACCOUNT"),
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"),
})
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 ac1 = new Snowflake.Account("ac1", new()
{
Name = "SNOWFLAKE_TEST_ACCOUNT",
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",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.snowflake.Account;
import com.pulumi.snowflake.AccountArgs;
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 ac1 = new Account("ac1", AccountArgs.builder()
.name("SNOWFLAKE_TEST_ACCOUNT")
.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());
}
}
resources:
ac1:
type: snowflake:Account
properties:
name: SNOWFLAKE_TEST_ACCOUNT
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
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.
Constructor 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:
- Admin
Name 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.
- Admin
Password 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. - Admin
Rsa stringPublic Key - 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.
- First
Name string - First name of the initial administrative user of the account
- Grace
Period intIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- Last
Name string - Last name of the initial administrative user of the account
- Must
Change boolPassword - 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.)
- Region
Group 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 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.
- Admin
Password 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. - Admin
Rsa stringPublic Key - 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.
- First
Name string - First name of the initial administrative user of the account
- Grace
Period intIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- Last
Name string - Last name of the initial administrative user of the account
- Must
Change boolPassword - 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.)
- Region
Group 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 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.
- admin
Password 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. - admin
Rsa StringPublic Key - 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.
- first
Name String - First name of the initial administrative user of the account
- grace
Period IntegerIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- last
Name String - Last name of the initial administrative user of the account
- must
Change BooleanPassword - 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.)
- region
Group 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 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.
- admin
Password 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. - admin
Rsa stringPublic Key - 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.
- first
Name string - First name of the initial administrative user of the account
- grace
Period numberIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- last
Name string - Last name of the initial administrative user of the account
- must
Change booleanPassword - 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.)
- region
Group 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_ strpublic_ key - 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_ intin_ days - 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_ boolpassword - 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.)
- admin
Name 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.
- admin
Password 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. - admin
Rsa StringPublic Key - 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.
- first
Name String - First name of the initial administrative user of the account
- grace
Period NumberIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- last
Name String - Last name of the initial administrative user of the account
- must
Change BooleanPassword - 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.)
- region
Group 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.
- Is
Org boolAdmin - 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.
- Is
Org boolAdmin - 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.
- is
Org BooleanAdmin - 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.
- is
Org booleanAdmin - 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_ booladmin - 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.
- is
Org BooleanAdmin - 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.
- Admin
Name 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.
- Admin
Password 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. - Admin
Rsa stringPublic Key - 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.
- First
Name string - First name of the initial administrative user of the account
- Grace
Period intIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- Is
Org boolAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- Last
Name string - Last name of the initial administrative user of the account
- Must
Change boolPassword - 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.)
- Region
Group 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 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.
- Admin
Password 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. - Admin
Rsa stringPublic Key - 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.
- First
Name string - First name of the initial administrative user of the account
- Grace
Period intIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- Is
Org boolAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- Last
Name string - Last name of the initial administrative user of the account
- Must
Change boolPassword - 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.)
- Region
Group 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 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.
- admin
Password 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. - admin
Rsa StringPublic Key - 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.
- first
Name String - First name of the initial administrative user of the account
- grace
Period IntegerIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- is
Org BooleanAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- last
Name String - Last name of the initial administrative user of the account
- must
Change BooleanPassword - 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.)
- region
Group 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 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.
- admin
Password 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. - admin
Rsa stringPublic Key - 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.
- first
Name string - First name of the initial administrative user of the account
- grace
Period numberIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- is
Org booleanAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- last
Name string - Last name of the initial administrative user of the account
- must
Change booleanPassword - 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.)
- region
Group 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_ strpublic_ key - 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_ intin_ days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- is_
org_ booladmin - 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_ boolpassword - 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.)
- admin
Name 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.
- admin
Password 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. - admin
Rsa StringPublic Key - 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.
- first
Name String - First name of the initial administrative user of the account
- grace
Period NumberIn Days - Specifies the number of days to wait before dropping the account. The default is 3 days.
- is
Org BooleanAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- last
Name String - Last name of the initial administrative user of the account
- must
Change BooleanPassword - 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.)
- region
Group 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.