diff --git a/dist/snowflake_resources/password_policy.d.ts b/dist/snowflake_resources/password_policy.d.ts index 8f32c7f..86dc2af 100644 --- a/dist/snowflake_resources/password_policy.d.ts +++ b/dist/snowflake_resources/password_policy.d.ts @@ -5,11 +5,13 @@ export interface Password_PolicyConfig extends TerraformMetaArguments { name: string; schema: string; comment?: string; + history?: number; if_not_exists?: boolean; lockout_time_mins?: number; max_age_days?: number; max_length?: number; max_retries?: number; + min_age_days?: number; min_length?: number; min_lower_case_chars?: number; min_numeric_chars?: number; @@ -22,11 +24,13 @@ export declare class Password_Policy extends TerraformResource { _name: string; _schema: string; _comment?: string; + _history?: number; _if_not_exists?: boolean; _lockout_time_mins?: number; _max_age_days?: number; _max_length?: number; _max_retries?: number; + _min_age_days?: number; _min_length?: number; _min_lower_case_chars?: number; _min_numeric_chars?: number; @@ -48,6 +52,8 @@ export declare class Password_Policy extends TerraformResource { set schema(value: string); get comment(): string | undefined; set comment(value: string | undefined); + get history(): number | undefined; + set history(value: number | undefined); get if_not_exists(): boolean | undefined; set if_not_exists(value: boolean | undefined); get lockout_time_mins(): number | undefined; @@ -58,6 +64,8 @@ export declare class Password_Policy extends TerraformResource { set max_length(value: number | undefined); get max_retries(): number | undefined; set max_retries(value: number | undefined); + get min_age_days(): number | undefined; + set min_age_days(value: number | undefined); get min_length(): number | undefined; set min_length(value: number | undefined); get min_lower_case_chars(): number | undefined; diff --git a/dist/snowflake_resources/password_policy.js b/dist/snowflake_resources/password_policy.js index 0766b79..990b94d 100644 --- a/dist/snowflake_resources/password_policy.js +++ b/dist/snowflake_resources/password_policy.js @@ -10,11 +10,13 @@ class Password_Policy extends cdktf_1.TerraformResource { _name; _schema; _comment; + _history; _if_not_exists; _lockout_time_mins; _max_age_days; _max_length; _max_retries; + _min_age_days; _min_length; _min_lower_case_chars; _min_numeric_chars; @@ -38,11 +40,13 @@ class Password_Policy extends cdktf_1.TerraformResource { this._name = config.name; this._schema = config.schema; this._comment = config.comment; + this._history = config.history; this._if_not_exists = config.if_not_exists; this._lockout_time_mins = config.lockout_time_mins; this._max_age_days = config.max_age_days; this._max_length = config.max_length; this._max_retries = config.max_retries; + this._min_age_days = config.min_age_days; this._min_length = config.min_length; this._min_lower_case_chars = config.min_lower_case_chars; this._min_numeric_chars = config.min_numeric_chars; @@ -56,11 +60,13 @@ class Password_Policy extends cdktf_1.TerraformResource { name: this._name, schema: this._schema, comment: this._comment, + history: this._history, if_not_exists: this._if_not_exists, lockout_time_mins: this._lockout_time_mins, max_age_days: this._max_age_days, max_length: this._max_length, max_retries: this._max_retries, + min_age_days: this._min_age_days, min_length: this._min_length, min_lower_case_chars: this._min_lower_case_chars, min_numeric_chars: this._min_numeric_chars, @@ -99,6 +105,12 @@ class Password_Policy extends cdktf_1.TerraformResource { set comment(value) { this._comment = value; } + get history() { + return this._history; + } + set history(value) { + this._history = value; + } get if_not_exists() { return this._if_not_exists; } @@ -129,6 +141,12 @@ class Password_Policy extends cdktf_1.TerraformResource { set max_retries(value) { this._max_retries = value; } + get min_age_days() { + return this._min_age_days; + } + set min_age_days(value) { + this._min_age_days = value; + } get min_length() { return this._min_length; } diff --git a/dist/snowflake_resources/snowflake_provider.js b/dist/snowflake_resources/snowflake_provider.js index 6dfa20f..4fea388 100644 --- a/dist/snowflake_resources/snowflake_provider.js +++ b/dist/snowflake_resources/snowflake_provider.js @@ -20,7 +20,7 @@ class SnowflakeProvider extends cdktf_1.TerraformProvider { terraformResourceType: "snowflake", terraformGeneratorMetadata: { providerName: "snowflake", - providerVersionConstraint: "0.77.0" + providerVersionConstraint: "0.78.0" }, terraformProviderSource: "terraform-cdk-provider-snowflake" }); diff --git a/src/snowflake_resources/password_policy.ts b/src/snowflake_resources/password_policy.ts index 6b51c6b..13c0171 100644 --- a/src/snowflake_resources/password_policy.ts +++ b/src/snowflake_resources/password_policy.ts @@ -11,11 +11,13 @@ export interface Password_PolicyConfig extends TerraformMetaArguments { name: string; schema: string; comment?: string; + history?: number; if_not_exists?: boolean; lockout_time_mins?: number; max_age_days?: number; max_length?: number; max_retries?: number; + min_age_days?: number; min_length?: number; min_lower_case_chars?: number; min_numeric_chars?: number; @@ -29,11 +31,13 @@ export class Password_Policy extends TerraformResource { _name: string; _schema: string; _comment?: string; + _history?: number; _if_not_exists?: boolean; _lockout_time_mins?: number; _max_age_days?: number; _max_length?: number; _max_retries?: number; + _min_age_days?: number; _min_length?: number; _min_lower_case_chars?: number; _min_numeric_chars?: number; @@ -63,6 +67,8 @@ export class Password_Policy extends TerraformResource { this._comment = config.comment; + this._history = config.history; + this._if_not_exists = config.if_not_exists; this._lockout_time_mins = config.lockout_time_mins; @@ -73,6 +79,8 @@ export class Password_Policy extends TerraformResource { this._max_retries = config.max_retries; + this._min_age_days = config.min_age_days; + this._min_length = config.min_length; this._min_lower_case_chars = config.min_lower_case_chars; @@ -91,11 +99,13 @@ export class Password_Policy extends TerraformResource { name: this._name, schema: this._schema, comment: this._comment, + history: this._history, if_not_exists: this._if_not_exists, lockout_time_mins: this._lockout_time_mins, max_age_days: this._max_age_days, max_length: this._max_length, max_retries: this._max_retries, + min_age_days: this._min_age_days, min_length: this._min_length, min_lower_case_chars: this._min_lower_case_chars, min_numeric_chars: this._min_numeric_chars, @@ -145,6 +155,14 @@ export class Password_Policy extends TerraformResource { this._comment = value; } + public get history(): number | undefined { + return this._history + } + + public set history(value: number | undefined) { + this._history = value; + } + public get if_not_exists(): boolean | undefined { return this._if_not_exists } @@ -185,6 +203,14 @@ export class Password_Policy extends TerraformResource { this._max_retries = value; } + public get min_age_days(): number | undefined { + return this._min_age_days + } + + public set min_age_days(value: number | undefined) { + this._min_age_days = value; + } + public get min_length(): number | undefined { return this._min_length } diff --git a/src/snowflake_resources/snowflake_provider.ts b/src/snowflake_resources/snowflake_provider.ts index f057ab1..bbd028c 100644 --- a/src/snowflake_resources/snowflake_provider.ts +++ b/src/snowflake_resources/snowflake_provider.ts @@ -33,7 +33,7 @@ export class SnowflakeProvider extends TerraformProvider { terraformResourceType: "snowflake", terraformGeneratorMetadata: { providerName: "snowflake", - providerVersionConstraint: "0.77.0" + providerVersionConstraint: "0.78.0" }, terraformProviderSource: "terraform-cdk-provider-snowflake" }) diff --git a/terraform-provider-snowflake b/terraform-provider-snowflake index 1fcd393..6b563ac 160000 --- a/terraform-provider-snowflake +++ b/terraform-provider-snowflake @@ -1 +1 @@ -Subproject commit 1fcd3935f3cd3357ffb4cc3052b85f886c53cc95 +Subproject commit 6b563acef0f702fc6a366219afac602fa106129c diff --git a/tools/snowflake_resources.json b/tools/snowflake_resources.json index 630f72b..40c4a37 100644 --- a/tools/snowflake_resources.json +++ b/tools/snowflake_resources.json @@ -1898,6 +1898,11 @@ "type": "string", "required": false }, + { + "name": "history", + "type": "number", + "required": false + }, { "name": "if_not_exists", "type": "boolean", @@ -1923,6 +1928,11 @@ "type": "number", "required": false }, + { + "name": "min_age_days", + "type": "number", + "required": false + }, { "name": "min_length", "type": "number",