Skip to content

Commit

Permalink
Upgrade terraform-provider-snowflake to v0.29.0 (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkodroff authored Mar 30, 2022
1 parent 5c7784f commit a54d344
Show file tree
Hide file tree
Showing 96 changed files with 3,297 additions and 3 deletions.
308 changes: 308 additions & 0 deletions provider/cmd/pulumi-resource-snowflake/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (

require (
cloud.google.com/go/kms v1.4.0 // indirect
github.com/chanzuckerberg/terraform-provider-snowflake v0.28.8
github.com/chanzuckerberg/terraform-provider-snowflake v0.29.0
github.com/hashicorp/terraform-plugin-sdk v1.9.1 // indirect
github.com/pulumi/pulumi-terraform-bridge/v3 v3.19.1
github.com/pulumi/pulumi/sdk/v3 v3.25.0
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ github.com/chanzuckerberg/aws-oidc v0.23.1/go.mod h1:AbN6f7tGQ1aR8kJdr5Mpnyk3iab
github.com/chanzuckerberg/go-misc v0.0.0-20200814145037-61fd36eedee6/go.mod h1:5GljuH2+xw/T7ovs4sRj9WbNRrgePgom8sMzJJPlAAo=
github.com/chanzuckerberg/go-misc v0.0.0-20220309145137-a6d9e8c090d2 h1:yQ3ygwbCH0Wp0YPQSlILa21yGLD5guv4eUZrVaJ0ZPw=
github.com/chanzuckerberg/go-misc v0.0.0-20220309145137-a6d9e8c090d2/go.mod h1:josvORVy6Us8JVr+O3qkNUgFmqu2I0Goy/5ZXKK5bVQ=
github.com/chanzuckerberg/terraform-provider-snowflake v0.28.8 h1:r0LVx9Ptukaraw4eG8BIBTeK7H6pMkeEeQLzSStr2vA=
github.com/chanzuckerberg/terraform-provider-snowflake v0.28.8/go.mod h1:1vwIUm8Ot8i1AcxqVksNTIq4tTzp3F46qR1PrS/oX5k=
github.com/chanzuckerberg/terraform-provider-snowflake v0.29.0 h1:SG1QXNj+YnoyPxqFGcjlJ4t3xFH7U+EiTs1GmCsR4EA=
github.com/chanzuckerberg/terraform-provider-snowflake v0.29.0/go.mod h1:1vwIUm8Ot8i1AcxqVksNTIq4tTzp3F46qR1PrS/oX5k=
github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw=
github.com/cheggaaa/pb v1.0.18/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s=
github.com/cheggaaa/pb v1.0.27 h1:wIkZHkNfC7R6GI5w7l/PdAdzXzlrbcI3p8OAlnkTsnc=
Expand Down
1 change: 1 addition & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func Provider() tfbridge.ProviderInfo {
"snowflake_oauth_integration": {Tok: makeResource(mainMod, "OauthIntegration")},
"snowflake_saml_integration": {Tok: makeResource(mainMod, "SamlIntegration")},
"snowflake_external_oauth_integration": {Tok: makeResource(mainMod, "ExternalOauthIntegration")},
"snowflake_role_ownership_grant": {Tok: makeResource(mainMod, "RoleOwnershipGrant")},
},
DataSources: map[string]*tfbridge.DataSourceInfo{
"snowflake_current_account": {Tok: makeDataSource(mainMod, "getCurrentAccount")},
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/AccountGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ namespace Pulumi.Snowflake
[SnowflakeResourceType("snowflake:index/accountGrant:AccountGrant")]
public partial class AccountGrant : Pulumi.CustomResource
{
/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// The privilege to grant on the account.
/// </summary>
Expand Down Expand Up @@ -110,6 +117,13 @@ public static AccountGrant Get(string name, Input<string> id, AccountGrantState?

public sealed class AccountGrantArgs : Pulumi.ResourceArgs
{
/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The privilege to grant on the account.
/// </summary>
Expand Down Expand Up @@ -141,6 +155,13 @@ public AccountGrantArgs()

public sealed class AccountGrantState : Pulumi.ResourceArgs
{
/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The privilege to grant on the account.
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/DatabaseGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ public partial class DatabaseGrant : Pulumi.CustomResource
[Output("databaseName")]
public Output<string> DatabaseName { get; private set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// The privilege to grant on the database.
/// </summary>
Expand Down Expand Up @@ -134,6 +141,13 @@ public sealed class DatabaseGrantArgs : Pulumi.ResourceArgs
[Input("databaseName", required: true)]
public Input<string> DatabaseName { get; set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The privilege to grant on the database.
/// </summary>
Expand Down Expand Up @@ -183,6 +197,13 @@ public sealed class DatabaseGrantState : Pulumi.ResourceArgs
[Input("databaseName")]
public Input<string>? DatabaseName { get; set; }

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The privilege to grant on the database.
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/ExternalTableGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ public partial class ExternalTableGrant : Pulumi.CustomResource
[Output("databaseName")]
public Output<string> DatabaseName { get; private set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// The name of the external table on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -155,6 +162,13 @@ public sealed class ExternalTableGrantArgs : Pulumi.ResourceArgs
[Input("databaseName", required: true)]
public Input<string> DatabaseName { get; set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the external table on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -222,6 +236,13 @@ public sealed class ExternalTableGrantState : Pulumi.ResourceArgs
[Input("databaseName")]
public Input<string>? DatabaseName { get; set; }

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the external table on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/FileFormatGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ public partial class FileFormatGrant : Pulumi.CustomResource
[Output("databaseName")]
public Output<string> DatabaseName { get; private set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// The name of the file format on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -144,6 +151,13 @@ public sealed class FileFormatGrantArgs : Pulumi.ResourceArgs
[Input("databaseName", required: true)]
public Input<string> DatabaseName { get; set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the file format on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -199,6 +213,13 @@ public sealed class FileFormatGrantState : Pulumi.ResourceArgs
[Input("databaseName")]
public Input<string>? DatabaseName { get; set; }

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the file format on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/FunctionGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ public partial class FunctionGrant : Pulumi.CustomResource
[Output("databaseName")]
public Output<string> DatabaseName { get; private set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// The name of the function on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -189,6 +196,13 @@ public InputList<Inputs.FunctionGrantArgumentArgs> Arguments
[Input("databaseName", required: true)]
public Input<string> DatabaseName { get; set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the function on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -274,6 +288,13 @@ public InputList<Inputs.FunctionGrantArgumentGetArgs> Arguments
[Input("databaseName")]
public Input<string>? DatabaseName { get; set; }

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the function on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/IntegrationGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ namespace Pulumi.Snowflake
[SnowflakeResourceType("snowflake:index/integrationGrant:IntegrationGrant")]
public partial class IntegrationGrant : Pulumi.CustomResource
{
/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// Identifier for the integration; must be unique for your account.
/// </summary>
Expand Down Expand Up @@ -117,6 +124,13 @@ public static IntegrationGrant Get(string name, Input<string> id, IntegrationGra

public sealed class IntegrationGrantArgs : Pulumi.ResourceArgs
{
/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// Identifier for the integration; must be unique for your account.
/// </summary>
Expand Down Expand Up @@ -154,6 +168,13 @@ public IntegrationGrantArgs()

public sealed class IntegrationGrantState : Pulumi.ResourceArgs
{
/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// Identifier for the integration; must be unique for your account.
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/MaskingPolicyGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ public partial class MaskingPolicyGrant : Pulumi.CustomResource
[Output("databaseName")]
public Output<string> DatabaseName { get; private set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// The name of the masking policy on which to grant privileges immediately.
/// </summary>
Expand Down Expand Up @@ -100,6 +107,13 @@ public sealed class MaskingPolicyGrantArgs : Pulumi.ResourceArgs
[Input("databaseName", required: true)]
public Input<string> DatabaseName { get; set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the masking policy on which to grant privileges immediately.
/// </summary>
Expand Down Expand Up @@ -149,6 +163,13 @@ public sealed class MaskingPolicyGrantState : Pulumi.ResourceArgs
[Input("databaseName")]
public Input<string>? DatabaseName { get; set; }

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the masking policy on which to grant privileges immediately.
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/MaterializedViewGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ public partial class MaterializedViewGrant : Pulumi.CustomResource
[Output("databaseName")]
public Output<string> DatabaseName { get; private set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Output("enableMultipleGrants")]
public Output<bool?> EnableMultipleGrants { get; private set; } = null!;

/// <summary>
/// The name of the materialized view on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -155,6 +162,13 @@ public sealed class MaterializedViewGrantArgs : Pulumi.ResourceArgs
[Input("databaseName", required: true)]
public Input<string> DatabaseName { get; set; } = null!;

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the materialized view on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down Expand Up @@ -222,6 +236,13 @@ public sealed class MaterializedViewGrantState : Pulumi.ResourceArgs
[Input("databaseName")]
public Input<string>? DatabaseName { get; set; }

/// <summary>
/// When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
/// grants applied to roles and objects outside Terraform.
/// </summary>
[Input("enableMultipleGrants")]
public Input<bool>? EnableMultipleGrants { get; set; }

/// <summary>
/// The name of the materialized view on which to grant privileges immediately (only valid if on_future is false).
/// </summary>
Expand Down
Loading

0 comments on commit a54d344

Please sign in to comment.