Skip to content

Commit

Permalink
Update Triggered by GitHub Actions Workflow for New Release v0.77.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcazalas committed Dec 1, 2023
1 parent ce41d7b commit f4bb99d
Show file tree
Hide file tree
Showing 10 changed files with 193 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/snowflake_resources/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export * from "./tag_grant";
export * from "./tag_masking_policy_association";
export * from "./task";
export * from "./task_grant";
export * from "./unsafe_execute";
export * from "./user";
export * from "./user_grant";
export * from "./user_ownership_grant";
Expand Down
1 change: 1 addition & 0 deletions dist/snowflake_resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ __exportStar(require("./tag_grant"), exports);
__exportStar(require("./tag_masking_policy_association"), exports);
__exportStar(require("./task"), exports);
__exportStar(require("./task_grant"), exports);
__exportStar(require("./unsafe_execute"), exports);
__exportStar(require("./user"), exports);
__exportStar(require("./user_grant"), exports);
__exportStar(require("./user_ownership_grant"), exports);
Expand Down
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.76.0"
providerVersionConstraint: "0.77.0"
},
terraformProviderSource: "terraform-cdk-provider-snowflake"
});
Expand Down
25 changes: 25 additions & 0 deletions dist/snowflake_resources/unsafe_execute.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { TerraformMetaArguments, TerraformResource } from "cdktf";
import { Construct } from "constructs";
export interface Unsafe_ExecuteConfig extends TerraformMetaArguments {
execute: string;
revert: string;
query?: string;
}
export declare class Unsafe_Execute extends TerraformResource {
_execute: string;
_revert: string;
_query?: string;
readonly _id: string;
constructor(scope: Construct, id: string, config: Unsafe_ExecuteConfig);
getAttributes(): {
[name: string]: any;
};
get id(): string;
ref(attribute: string): string;
get execute(): string;
set execute(value: string);
get revert(): string;
set revert(value: string);
get query(): string | undefined;
set query(value: string | undefined);
}
61 changes: 61 additions & 0 deletions dist/snowflake_resources/unsafe_execute.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
"use strict";
/*
DO NOT EDIT - Generated by main.js. Refer to the README for more info.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Unsafe_Execute = void 0;
const cdktf_1 = require("cdktf");
class Unsafe_Execute extends cdktf_1.TerraformResource {
_execute;
_revert;
_query;
_id;
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: "snowflake_unsafe_execute",
terraformGeneratorMetadata: {
providerName: "snowflake"
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle
});
this._id = id;
this._execute = config.execute;
this._revert = config.revert;
this._query = config.query;
}
getAttributes() {
return {
execute: this._execute,
revert: this._revert,
query: this._query,
};
}
get id() {
return this._id;
}
ref(attribute) {
return `\${snowflake_unsafe_execute.${this.friendlyUniqueId}.${attribute}}`;
}
get execute() {
return this._execute;
}
set execute(value) {
this._execute = value;
}
get revert() {
return this._revert;
}
set revert(value) {
this._revert = value;
}
get query() {
return this._query;
}
set query(value) {
this._query = value;
}
}
exports.Unsafe_Execute = Unsafe_Execute;
1 change: 1 addition & 0 deletions src/snowflake_resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export * from "./tag_grant";
export * from "./tag_masking_policy_association";
export * from "./task";
export * from "./task_grant";
export * from "./unsafe_execute";
export * from "./user";
export * from "./user_grant";
export * from "./user_ownership_grant";
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.76.0"
providerVersionConstraint: "0.77.0"
},
terraformProviderSource: "terraform-cdk-provider-snowflake"
})
Expand Down
81 changes: 81 additions & 0 deletions src/snowflake_resources/unsafe_execute.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/*
DO NOT EDIT - Generated by main.js. Refer to the README for more info.
*/

import { TerraformMetaArguments, TerraformResource } from "cdktf";
import { Construct } from "constructs";


export interface Unsafe_ExecuteConfig extends TerraformMetaArguments {
execute: string;
revert: string;
query?: string;
}

export class Unsafe_Execute extends TerraformResource {
_execute: string;
_revert: string;
_query?: string;
readonly _id: string;

public constructor(scope: Construct, id: string, config: Unsafe_ExecuteConfig) {
super(scope, id, {
terraformResourceType: "snowflake_unsafe_execute",
terraformGeneratorMetadata: {
providerName: "snowflake"
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle
});
this._id = id;

this._execute = config.execute;

this._revert = config.revert;

this._query = config.query;
}
public getAttributes(): { [name: string]: any } {
return {
execute: this._execute,
revert: this._revert,
query: this._query,
}
}

public get id(): string {
return this._id;
}

public ref(attribute: string): string {
return `\${snowflake_unsafe_execute.${this.friendlyUniqueId}.${attribute}}`;
}

public get execute(): string {
return this._execute
}

public set execute(value: string) {
this._execute = value;
}

public get revert(): string {
return this._revert
}

public set revert(value: string) {
this._revert = value;
}

public get query(): string | undefined {
return this._query
}

public set query(value: string | undefined) {
this._query = value;
}

}

2 changes: 1 addition & 1 deletion terraform-provider-snowflake
Submodule terraform-provider-snowflake updated from a1cb41 to 1fcd39
20 changes: 20 additions & 0 deletions tools/snowflake_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -3655,6 +3655,26 @@
}
]
},
{
"name": "Unsafe_Execute",
"properties": [
{
"name": "execute",
"type": "string",
"required": true
},
{
"name": "revert",
"type": "string",
"required": true
},
{
"name": "query",
"type": "string",
"required": false
}
]
},
{
"name": "User",
"properties": [
Expand Down

0 comments on commit f4bb99d

Please sign in to comment.