Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade terraform-provider-snowflake to v0.25.33 #50

Merged
merged 1 commit into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-snowflake/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7950,7 +7950,7 @@
}
},
"snowflake:index/task:Task": {
"description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as snowflake from \"@pulumi/snowflake\";\n\nconst task = new snowflake.Task(\"task\", {\n comment: \"my task\",\n database: \"db\",\n schema: \"schema\",\n warehouse: \"warehouse\",\n schedule: \"10\",\n sqlStatement: \"select * from foo;\",\n sessionParameters: {\n foo: \"bar\",\n },\n userTaskTimeoutMs: 10000,\n after: \"preceding_task\",\n when: \"foo AND bar\",\n enabled: true,\n});\nconst serverlessTask = new snowflake.Task(\"serverlessTask\", {\n comment: \"my serverless task\",\n database: \"db\",\n schema: \"schema\",\n schedule: \"10\",\n sqlStatement: \"select * from foo;\",\n sessionParameters: {\n foo: \"bar\",\n },\n userTaskTimeoutMs: 10000,\n userTaskManagedInitialWarehouseSize: \"XSMALL\",\n after: \"preceding_task\",\n when: \"foo AND bar\",\n enabled: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_snowflake as snowflake\n\ntask = snowflake.Task(\"task\",\n comment=\"my task\",\n database=\"db\",\n schema=\"schema\",\n warehouse=\"warehouse\",\n schedule=\"10\",\n sql_statement=\"select * from foo;\",\n session_parameters={\n \"foo\": \"bar\",\n },\n user_task_timeout_ms=10000,\n after=\"preceding_task\",\n when=\"foo AND bar\",\n enabled=True)\nserverless_task = snowflake.Task(\"serverlessTask\",\n comment=\"my serverless task\",\n database=\"db\",\n schema=\"schema\",\n schedule=\"10\",\n sql_statement=\"select * from foo;\",\n session_parameters={\n \"foo\": \"bar\",\n },\n user_task_timeout_ms=10000,\n user_task_managed_initial_warehouse_size=\"XSMALL\",\n after=\"preceding_task\",\n when=\"foo AND bar\",\n enabled=True)\n```\n```csharp\nusing Pulumi;\nusing Snowflake = Pulumi.Snowflake;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var task = new Snowflake.Task(\"task\", new Snowflake.TaskArgs\n {\n Comment = \"my task\",\n Database = \"db\",\n Schema = \"schema\",\n Warehouse = \"warehouse\",\n Schedule = \"10\",\n SqlStatement = \"select * from foo;\",\n SessionParameters = \n {\n { \"foo\", \"bar\" },\n },\n UserTaskTimeoutMs = 10000,\n After = \"preceding_task\",\n When = \"foo AND bar\",\n Enabled = true,\n });\n var serverlessTask = new Snowflake.Task(\"serverlessTask\", new Snowflake.TaskArgs\n {\n Comment = \"my serverless task\",\n Database = \"db\",\n Schema = \"schema\",\n Schedule = \"10\",\n SqlStatement = \"select * from foo;\",\n SessionParameters = \n {\n { \"foo\", \"bar\" },\n },\n UserTaskTimeoutMs = 10000,\n UserTaskManagedInitialWarehouseSize = \"XSMALL\",\n After = \"preceding_task\",\n When = \"foo AND bar\",\n Enabled = true,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-snowflake/sdk/go/snowflake\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := snowflake.NewTask(ctx, \"task\", \u0026snowflake.TaskArgs{\n\t\t\tComment: pulumi.String(\"my task\"),\n\t\t\tDatabase: pulumi.String(\"db\"),\n\t\t\tSchema: pulumi.String(\"schema\"),\n\t\t\tWarehouse: pulumi.String(\"warehouse\"),\n\t\t\tSchedule: pulumi.String(\"10\"),\n\t\t\tSqlStatement: pulumi.String(\"select * from foo;\"),\n\t\t\tSessionParameters: pulumi.StringMap{\n\t\t\t\t\"foo\": pulumi.String(\"bar\"),\n\t\t\t},\n\t\t\tUserTaskTimeoutMs: pulumi.Int(10000),\n\t\t\tAfter: pulumi.String(\"preceding_task\"),\n\t\t\tWhen: pulumi.String(\"foo AND bar\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = snowflake.NewTask(ctx, \"serverlessTask\", \u0026snowflake.TaskArgs{\n\t\t\tComment: pulumi.String(\"my serverless task\"),\n\t\t\tDatabase: pulumi.String(\"db\"),\n\t\t\tSchema: pulumi.String(\"schema\"),\n\t\t\tSchedule: pulumi.String(\"10\"),\n\t\t\tSqlStatement: pulumi.String(\"select * from foo;\"),\n\t\t\tSessionParameters: pulumi.StringMap{\n\t\t\t\t\"foo\": pulumi.String(\"bar\"),\n\t\t\t},\n\t\t\tUserTaskTimeoutMs: pulumi.Int(10000),\n\t\t\tUserTaskManagedInitialWarehouseSize: pulumi.String(\"XSMALL\"),\n\t\t\tAfter: pulumi.String(\"preceding_task\"),\n\t\t\tWhen: pulumi.String(\"foo AND bar\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n# format is database name | schema name | task name\n\n```sh\n $ pulumi import snowflake:index/task:Task example 'dbName|schemaName|taskName'\n```\n\n ",
"description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as snowflake from \"@pulumi/snowflake\";\n\nconst task = new snowflake.Task(\"task\", {\n comment: \"my task\",\n database: \"db\",\n schema: \"schema\",\n warehouse: \"warehouse\",\n schedule: \"10 MINUTE\",\n sqlStatement: \"select * from foo;\",\n sessionParameters: {\n foo: \"bar\",\n },\n userTaskTimeoutMs: 10000,\n after: \"preceding_task\",\n when: \"foo AND bar\",\n enabled: true,\n});\nconst serverlessTask = new snowflake.Task(\"serverlessTask\", {\n comment: \"my serverless task\",\n database: \"db\",\n schema: \"schema\",\n schedule: \"10 MINUTE\",\n sqlStatement: \"select * from foo;\",\n sessionParameters: {\n foo: \"bar\",\n },\n userTaskTimeoutMs: 10000,\n userTaskManagedInitialWarehouseSize: \"XSMALL\",\n after: \"preceding_task\",\n when: \"foo AND bar\",\n enabled: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_snowflake as snowflake\n\ntask = snowflake.Task(\"task\",\n comment=\"my task\",\n database=\"db\",\n schema=\"schema\",\n warehouse=\"warehouse\",\n schedule=\"10 MINUTE\",\n sql_statement=\"select * from foo;\",\n session_parameters={\n \"foo\": \"bar\",\n },\n user_task_timeout_ms=10000,\n after=\"preceding_task\",\n when=\"foo AND bar\",\n enabled=True)\nserverless_task = snowflake.Task(\"serverlessTask\",\n comment=\"my serverless task\",\n database=\"db\",\n schema=\"schema\",\n schedule=\"10 MINUTE\",\n sql_statement=\"select * from foo;\",\n session_parameters={\n \"foo\": \"bar\",\n },\n user_task_timeout_ms=10000,\n user_task_managed_initial_warehouse_size=\"XSMALL\",\n after=\"preceding_task\",\n when=\"foo AND bar\",\n enabled=True)\n```\n```csharp\nusing Pulumi;\nusing Snowflake = Pulumi.Snowflake;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var task = new Snowflake.Task(\"task\", new Snowflake.TaskArgs\n {\n Comment = \"my task\",\n Database = \"db\",\n Schema = \"schema\",\n Warehouse = \"warehouse\",\n Schedule = \"10 MINUTE\",\n SqlStatement = \"select * from foo;\",\n SessionParameters = \n {\n { \"foo\", \"bar\" },\n },\n UserTaskTimeoutMs = 10000,\n After = \"preceding_task\",\n When = \"foo AND bar\",\n Enabled = true,\n });\n var serverlessTask = new Snowflake.Task(\"serverlessTask\", new Snowflake.TaskArgs\n {\n Comment = \"my serverless task\",\n Database = \"db\",\n Schema = \"schema\",\n Schedule = \"10 MINUTE\",\n SqlStatement = \"select * from foo;\",\n SessionParameters = \n {\n { \"foo\", \"bar\" },\n },\n UserTaskTimeoutMs = 10000,\n UserTaskManagedInitialWarehouseSize = \"XSMALL\",\n After = \"preceding_task\",\n When = \"foo AND bar\",\n Enabled = true,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-snowflake/sdk/go/snowflake\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := snowflake.NewTask(ctx, \"task\", \u0026snowflake.TaskArgs{\n\t\t\tComment: pulumi.String(\"my task\"),\n\t\t\tDatabase: pulumi.String(\"db\"),\n\t\t\tSchema: pulumi.String(\"schema\"),\n\t\t\tWarehouse: pulumi.String(\"warehouse\"),\n\t\t\tSchedule: pulumi.String(\"10 MINUTE\"),\n\t\t\tSqlStatement: pulumi.String(\"select * from foo;\"),\n\t\t\tSessionParameters: pulumi.StringMap{\n\t\t\t\t\"foo\": pulumi.String(\"bar\"),\n\t\t\t},\n\t\t\tUserTaskTimeoutMs: pulumi.Int(10000),\n\t\t\tAfter: pulumi.String(\"preceding_task\"),\n\t\t\tWhen: pulumi.String(\"foo AND bar\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = snowflake.NewTask(ctx, \"serverlessTask\", \u0026snowflake.TaskArgs{\n\t\t\tComment: pulumi.String(\"my serverless task\"),\n\t\t\tDatabase: pulumi.String(\"db\"),\n\t\t\tSchema: pulumi.String(\"schema\"),\n\t\t\tSchedule: pulumi.String(\"10 MINUTE\"),\n\t\t\tSqlStatement: pulumi.String(\"select * from foo;\"),\n\t\t\tSessionParameters: pulumi.StringMap{\n\t\t\t\t\"foo\": pulumi.String(\"bar\"),\n\t\t\t},\n\t\t\tUserTaskTimeoutMs: pulumi.Int(10000),\n\t\t\tUserTaskManagedInitialWarehouseSize: pulumi.String(\"XSMALL\"),\n\t\t\tAfter: pulumi.String(\"preceding_task\"),\n\t\t\tWhen: pulumi.String(\"foo AND bar\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n# format is database name | schema name | task name\n\n```sh\n $ pulumi import snowflake:index/task:Task example 'dbName|schemaName|taskName'\n```\n\n ",
"properties": {
"after": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ replace (
)

require (
github.com/chanzuckerberg/terraform-provider-snowflake v0.25.32
github.com/chanzuckerberg/terraform-provider-snowflake v0.25.33
github.com/hashicorp/terraform-plugin-sdk v1.9.1 // indirect
github.com/pulumi/pulumi-terraform-bridge/v3 v3.11.0
github.com/pulumi/pulumi/sdk/v3 v3.17.0
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,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-20210907173712-618127c04a73 h1:CD7GXPOaHahGVTrmqF7qr+xARoTwWZXHW2u0v7cM5KE=
github.com/chanzuckerberg/go-misc v0.0.0-20210907173712-618127c04a73/go.mod h1:4Kf7OxUaVoQxT2PJt44vy93byI0T7sJqlwEoVevclHE=
github.com/chanzuckerberg/terraform-provider-snowflake v0.25.32 h1:xxo4ysL4LVfuPu06nxhujKBDf6B4FpedK/tOkjnHG1I=
github.com/chanzuckerberg/terraform-provider-snowflake v0.25.32/go.mod h1:EWaIce3+oGUPGk+RgK+OnUy/+KCEclC62QFJrrwLn7M=
github.com/chanzuckerberg/terraform-provider-snowflake v0.25.33 h1:PHMlFVdJdFo8m2wHVsCyGOSOyQ4dmMvGQgMSgcGPVp0=
github.com/chanzuckerberg/terraform-provider-snowflake v0.25.33/go.mod h1:EWaIce3+oGUPGk+RgK+OnUy/+KCEclC62QFJrrwLn7M=
github.com/cheggaaa/pb v1.0.18/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s=
github.com/cheggaaa/pb v1.0.27 h1:wIkZHkNfC7R6GI5w7l/PdAdzXzlrbcI3p8OAlnkTsnc=
github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s=
Expand Down
Loading