Skip to content

Commit

Permalink
Update Triggered by GitHub Actions Workflow for New Release v0.76.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcazalas committed Nov 16, 2023
1 parent f88786f commit ce41d7b
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/snowflake_resources/snowflake_provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SnowflakeProvider extends cdktf_1.TerraformProvider {
terraformResourceType: "snowflake",
terraformGeneratorMetadata: {
providerName: "snowflake",
providerVersionConstraint: "0.75.0"
providerVersionConstraint: "0.76.0"
},
terraformProviderSource: "terraform-cdk-provider-snowflake"
});
Expand Down
4 changes: 4 additions & 0 deletions dist/snowflake_resources/task.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface TaskConfig extends TerraformMetaArguments {
error_integration?: string;
schedule?: string;
session_parameters?: Record<string, string>;
suspend_task_after_num_failures?: number;
user_task_managed_initial_warehouse_size?: string;
user_task_timeout_ms?: number;
warehouse?: string;
Expand All @@ -29,6 +30,7 @@ export declare class Task extends TerraformResource {
_error_integration?: string;
_schedule?: string;
_session_parameters?: Record<string, string>;
_suspend_task_after_num_failures?: number;
_user_task_managed_initial_warehouse_size?: string;
_user_task_timeout_ms?: number;
_warehouse?: string;
Expand Down Expand Up @@ -62,6 +64,8 @@ export declare class Task extends TerraformResource {
set schedule(value: string | undefined);
get session_parameters(): Record<string, string> | undefined;
set session_parameters(value: Record<string, string> | undefined);
get suspend_task_after_num_failures(): number | undefined;
set suspend_task_after_num_failures(value: number | undefined);
get user_task_managed_initial_warehouse_size(): string | undefined;
set user_task_managed_initial_warehouse_size(value: string | undefined);
get user_task_timeout_ms(): number | undefined;
Expand Down
9 changes: 9 additions & 0 deletions dist/snowflake_resources/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Task extends cdktf_1.TerraformResource {
_error_integration;
_schedule;
_session_parameters;
_suspend_task_after_num_failures;
_user_task_managed_initial_warehouse_size;
_user_task_timeout_ms;
_warehouse;
Expand Down Expand Up @@ -45,6 +46,7 @@ class Task extends cdktf_1.TerraformResource {
this._error_integration = config.error_integration;
this._schedule = config.schedule;
this._session_parameters = config.session_parameters;
this._suspend_task_after_num_failures = config.suspend_task_after_num_failures;
this._user_task_managed_initial_warehouse_size = config.user_task_managed_initial_warehouse_size;
this._user_task_timeout_ms = config.user_task_timeout_ms;
this._warehouse = config.warehouse;
Expand All @@ -63,6 +65,7 @@ class Task extends cdktf_1.TerraformResource {
error_integration: this._error_integration,
schedule: this._schedule,
session_parameters: this._session_parameters,
suspend_task_after_num_failures: this._suspend_task_after_num_failures,
user_task_managed_initial_warehouse_size: this._user_task_managed_initial_warehouse_size,
user_task_timeout_ms: this._user_task_timeout_ms,
warehouse: this._warehouse,
Expand Down Expand Up @@ -141,6 +144,12 @@ class Task extends cdktf_1.TerraformResource {
set session_parameters(value) {
this._session_parameters = value;
}
get suspend_task_after_num_failures() {
return this._suspend_task_after_num_failures;
}
set suspend_task_after_num_failures(value) {
this._suspend_task_after_num_failures = value;
}
get user_task_managed_initial_warehouse_size() {
return this._user_task_managed_initial_warehouse_size;
}
Expand Down
2 changes: 1 addition & 1 deletion src/snowflake_resources/snowflake_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class SnowflakeProvider extends TerraformProvider {
terraformResourceType: "snowflake",
terraformGeneratorMetadata: {
providerName: "snowflake",
providerVersionConstraint: "0.75.0"
providerVersionConstraint: "0.76.0"
},
terraformProviderSource: "terraform-cdk-provider-snowflake"
})
Expand Down
13 changes: 13 additions & 0 deletions src/snowflake_resources/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export interface TaskConfig extends TerraformMetaArguments {
error_integration?: string;
schedule?: string;
session_parameters?: Record<string, string>;
suspend_task_after_num_failures?: number;
user_task_managed_initial_warehouse_size?: string;
user_task_timeout_ms?: number;
warehouse?: string;
Expand All @@ -36,6 +37,7 @@ export class Task extends TerraformResource {
_error_integration?: string;
_schedule?: string;
_session_parameters?: Record<string, string>;
_suspend_task_after_num_failures?: number;
_user_task_managed_initial_warehouse_size?: string;
_user_task_timeout_ms?: number;
_warehouse?: string;
Expand Down Expand Up @@ -77,6 +79,8 @@ export class Task extends TerraformResource {

this._session_parameters = config.session_parameters;

this._suspend_task_after_num_failures = config.suspend_task_after_num_failures;

this._user_task_managed_initial_warehouse_size = config.user_task_managed_initial_warehouse_size;

this._user_task_timeout_ms = config.user_task_timeout_ms;
Expand All @@ -98,6 +102,7 @@ export class Task extends TerraformResource {
error_integration: this._error_integration,
schedule: this._schedule,
session_parameters: this._session_parameters,
suspend_task_after_num_failures: this._suspend_task_after_num_failures,
user_task_managed_initial_warehouse_size: this._user_task_managed_initial_warehouse_size,
user_task_timeout_ms: this._user_task_timeout_ms,
warehouse: this._warehouse,
Expand Down Expand Up @@ -201,6 +206,14 @@ export class Task extends TerraformResource {
this._session_parameters = value;
}

public get suspend_task_after_num_failures(): number | undefined {
return this._suspend_task_after_num_failures
}

public set suspend_task_after_num_failures(value: number | undefined) {
this._suspend_task_after_num_failures = value;
}

public get user_task_managed_initial_warehouse_size(): string | undefined {
return this._user_task_managed_initial_warehouse_size
}
Expand Down
2 changes: 1 addition & 1 deletion terraform-provider-snowflake
Submodule terraform-provider-snowflake updated from d33a41 to a1cb41
5 changes: 5 additions & 0 deletions tools/snowflake_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -3573,6 +3573,11 @@
"type": "Record<string, string>",
"required": false
},
{
"name": "suspend_task_after_num_failures",
"type": "number",
"required": false
},
{
"name": "user_task_managed_initial_warehouse_size",
"type": "string",
Expand Down

0 comments on commit ce41d7b

Please sign in to comment.