Skip to content

Commit

Permalink
chore(deps): Updated (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
team-tf-cdk authored Jan 3, 2023
1 parent e6263e7 commit ceff748
Show file tree
Hide file tree
Showing 109 changed files with 5,795 additions and 117 deletions.
4,720 changes: 4,710 additions & 10 deletions API.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/account-grant/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface AccountGrantConfig extends cdktf.TerraformMetaArguments {
*/
readonly id?: string;
/**
* The privilege to grant on the account.
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html)
*
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_grant#privilege AccountGrant#privilege}
*/
Expand Down Expand Up @@ -66,7 +66,7 @@ export class AccountGrant extends cdktf.TerraformResource {
terraformResourceType: 'snowflake_account_grant',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
3 changes: 3 additions & 0 deletions src/account-parameter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `snowflake_account_parameter`

Refer to the Terraform Registory for docs: [`snowflake_account_parameter`](https://www.terraform.io/docs/providers/snowflake/r/account_parameter).
130 changes: 130 additions & 0 deletions src/account-parameter/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
// https://www.terraform.io/docs/providers/snowflake/r/account_parameter
// generated from terraform resource schema

import { Construct } from 'constructs';
import * as cdktf from 'cdktf';

// Configuration

export interface AccountParameterConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter#id AccountParameter#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Name of account parameter. Valid values are those in [account parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#account-parameters).
*
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter#key AccountParameter#key}
*/
readonly key: string;
/**
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
*
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter#value AccountParameter#value}
*/
readonly value: string;
}

/**
* Represents a {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter snowflake_account_parameter}
*/
export class AccountParameter extends cdktf.TerraformResource {

// =================
// STATIC PROPERTIES
// =================
public static readonly tfResourceType = "snowflake_account_parameter";

// ===========
// INITIALIZER
// ===========

/**
* Create a new {@link https://www.terraform.io/docs/providers/snowflake/r/account_parameter snowflake_account_parameter} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options AccountParameterConfig
*/
public constructor(scope: Construct, id: string, config: AccountParameterConfig) {
super(scope, id, {
terraformResourceType: 'snowflake_account_parameter',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
this._id = config.id;
this._key = config.key;
this._value = config.value;
}

// ==========
// ATTRIBUTES
// ==========

// id - computed: true, optional: true, required: false
private _id?: string;
public get id() {
return this.getStringAttribute('id');
}
public set id(value: string) {
this._id = value;
}
public resetId() {
this._id = undefined;
}
// Temporarily expose input value. Use with caution.
public get idInput() {
return this._id;
}

// key - computed: false, optional: false, required: true
private _key?: string;
public get key() {
return this.getStringAttribute('key');
}
public set key(value: string) {
this._key = value;
}
// Temporarily expose input value. Use with caution.
public get keyInput() {
return this._key;
}

// value - computed: false, optional: false, required: true
private _value?: string;
public get value() {
return this.getStringAttribute('value');
}
public set value(value: string) {
this._value = value;
}
// Temporarily expose input value. Use with caution.
public get valueInput() {
return this._value;
}

// =========
// SYNTHESIS
// =========

protected synthesizeAttributes(): { [name: string]: any } {
return {
id: cdktf.stringToTerraform(this._id),
key: cdktf.stringToTerraform(this._key),
value: cdktf.stringToTerraform(this._value),
};
}
}
2 changes: 1 addition & 1 deletion src/api-integration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class ApiIntegration extends cdktf.TerraformResource {
terraformResourceType: 'snowflake_api_integration',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-current-account/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class DataSnowflakeCurrentAccount extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_current_account',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
3 changes: 3 additions & 0 deletions src/data-snowflake-current-role/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `data_snowflake_current_role`

Refer to the Terraform Registory for docs: [`data_snowflake_current_role`](https://www.terraform.io/docs/providers/snowflake/d/current_role).
93 changes: 93 additions & 0 deletions src/data-snowflake-current-role/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
// https://www.terraform.io/docs/providers/snowflake/d/current_role
// generated from terraform resource schema

import { Construct } from 'constructs';
import * as cdktf from 'cdktf';

// Configuration

export interface DataSnowflakeCurrentRoleConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/snowflake/d/current_role#id DataSnowflakeCurrentRole#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
}

/**
* Represents a {@link https://www.terraform.io/docs/providers/snowflake/d/current_role snowflake_current_role}
*/
export class DataSnowflakeCurrentRole extends cdktf.TerraformDataSource {

// =================
// STATIC PROPERTIES
// =================
public static readonly tfResourceType = "snowflake_current_role";

// ===========
// INITIALIZER
// ===========

/**
* Create a new {@link https://www.terraform.io/docs/providers/snowflake/d/current_role snowflake_current_role} Data Source
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options DataSnowflakeCurrentRoleConfig = {}
*/
public constructor(scope: Construct, id: string, config: DataSnowflakeCurrentRoleConfig = {}) {
super(scope, id, {
terraformResourceType: 'snowflake_current_role',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
this._id = config.id;
}

// ==========
// ATTRIBUTES
// ==========

// id - computed: true, optional: true, required: false
private _id?: string;
public get id() {
return this.getStringAttribute('id');
}
public set id(value: string) {
this._id = value;
}
public resetId() {
this._id = undefined;
}
// Temporarily expose input value. Use with caution.
public get idInput() {
return this._id;
}

// name - computed: true, optional: false, required: false
public get name() {
return this.getStringAttribute('name');
}

// =========
// SYNTHESIS
// =========

protected synthesizeAttributes(): { [name: string]: any } {
return {
id: cdktf.stringToTerraform(this._id),
};
}
}
2 changes: 1 addition & 1 deletion src/data-snowflake-database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DataSnowflakeDatabase extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_database',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-databases/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export class DataSnowflakeDatabases extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_databases',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-external-functions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class DataSnowflakeExternalFunctions extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_external_functions',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-external-tables/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class DataSnowflakeExternalTables extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_external_tables',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-file-formats/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class DataSnowflakeFileFormats extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_file_formats',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-functions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class DataSnowflakeFunctions extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_functions',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-grants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ export class DataSnowflakeGrants extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_grants',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-masking-policies/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class DataSnowflakeMaskingPolicies extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_masking_policies',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-snowflake-materialized-views/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class DataSnowflakeMaterializedViews extends cdktf.TerraformDataSource {
terraformResourceType: 'snowflake_materialized_views',
terraformGeneratorMetadata: {
providerName: 'snowflake',
providerVersion: '0.53.0',
providerVersion: '0.54.0',
providerVersionConstraint: ' ~> 0.40'
},
provider: config.provider,
Expand Down
3 changes: 3 additions & 0 deletions src/data-snowflake-parameters/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `data_snowflake_parameters`

Refer to the Terraform Registory for docs: [`data_snowflake_parameters`](https://www.terraform.io/docs/providers/snowflake/d/parameters).
Loading

0 comments on commit ceff748

Please sign in to comment.