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

Update upstream #2

Merged
merged 60 commits into from
Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
e6eec5e
Feature/table clustering (#548)
berosen May 21, 2021
1e6c6eb
Lower limit on warehouse auto-suspend setting (#552)
jnoynaert May 24, 2021
9520e0d
release version 0.25.4
alldoami May 24, 2021
d1b929e
Corrected mistakes within the snowflake_system_get_privatelink_config…
robbruce Jun 1, 2021
a7d2204
Remove snowflake_role_grants name example (#561)
Jun 2, 2021
19d397d
Add SCIM Integration Resource (#556)
ChrisIsidora Jun 4, 2021
28bdf96
Better Azure integration - Pipe + Notification Integration (#553)
arkadiuss Jun 4, 2021
c58f9e1
Add SCIM access token Datasource (#557)
ChrisIsidora Jun 4, 2021
14d8363
Update go files (#565)
alldoami Jun 7, 2021
dab2a6c
release version 0.25.5
alldoami Jun 7, 2021
7be1fc9
Add data source snowflake_current_account (#567)
robbruce Jun 11, 2021
d2142fd
feat: Add title lint (#570)
alldoami Jun 11, 2021
53a5d1c
Update Go files for release (#572)
alldoami Jun 15, 2021
a8f56ea
release version 0.25.6
alldoami Jun 15, 2021
3739d53
feat: Add importer to integration grant (#574)
alldoami Jun 16, 2021
a6d7f6f
fix: Add importer to account grant (#576)
alldoami Jun 16, 2021
3954741
fix: Escape String for AS in external table (#580)
alldoami Jun 17, 2021
3963193
feat: Add SHOW_INITIAL_ROWS to stream resource (#575)
alldoami Jun 17, 2021
b9d0e9e
feat: Add CREATE ROW ACCESS POLICY to schema grant priv list (#581)
alldoami Jun 17, 2021
ad90692
release version 0.25.7
alldoami Jun 18, 2021
6b95dcb
feat: Add file format resource (#577)
wookasz Jun 21, 2021
80b5cb9
release version 0.25.8
alldoami Jun 21, 2021
7fab82f
feat: Add a resource to manage sequences (#582)
Jun 23, 2021
fc3e78a
fix: Remove force_new from masking_expression (#588)
alldoami Jun 24, 2021
7f64bd3
bump-go (#590)
alldoami Jun 24, 2021
4075974
release version 0.25.9
alldoami Jun 24, 2021
3b44b74
Add Snowflake Platform Info Datasource (#589)
ChrisIsidora Jun 24, 2021
5c6d794
release version 0.25.10
alldoami Jun 28, 2021
780b8d5
DOCFIX: Remove misleading attribute from table doc (#597)
onelharrison Jul 7, 2021
632fd42
fix: Warehouse create and alter properties (#598)
alldoami Jul 8, 2021
8ff2a83
release version 0.25.11
alldoami Jul 12, 2021
90af4cf
feat: Add support for error notifications for Snowpipe (#595)
gouline Jul 13, 2021
0f433c5
use schema in show file formats (#600)
yonieilon Jul 13, 2021
b0417a8
feat: table constraints (#599)
berosen Jul 13, 2021
215acbe
Fix import format for snowflake_account_grant (#602)
kanata2 Jul 14, 2021
8a08ee6
feat: Add support for GCP notification integration (#603)
gary-beautypie Jul 16, 2021
9b4c38b
Update go files (#607)
alldoami Jul 19, 2021
258c7e1
release version 0.25.12
alldoami Jul 19, 2021
ff82626
fix partition_by error in external table (#609)
rarusun Jul 20, 2021
82a340a
fix: Add AWS_SQS_IAM_USER_ARN to notification integration (#610)
gouline Jul 20, 2021
43e0e42
Implemented Schemas, Tables and Views Datasources (#618)
ChrisIsidora Jul 26, 2021
90b9f80
feat: Pipe and Task Grant resources (#620)
ChrisIsidora Jul 26, 2021
b9ad9ed
release version 0.25.13
alldoami Jul 26, 2021
daa46a0
feat: Add support for table column comments and to control a tables d…
robbruce Jul 28, 2021
c03656f
fix: Upgrade tf for testing (#625)
alldoami Jul 30, 2021
2a99ea9
feat: Added Several Datasources Part 2 (#622)
ChrisIsidora Jul 30, 2021
fd97816
feat: Added Row Access Policy Resources (#624)
ChrisIsidora Jul 31, 2021
a7fca9b
release version 0.25.14
alldoami Jul 31, 2021
4b213d1
Fixed Browser PKG (#626)
ChrisIsidora Aug 1, 2021
b6ff5d4
release version 0.25.15
alldoami Aug 1, 2021
d12e587
Added support for X5LARGE and X6LARGE warehouses (#633)
robbruce Aug 3, 2021
3fb14cf
Compiled missing docs (#632)
robbruce Aug 3, 2021
bcda1d9
feat: Table Column Defaults (#631)
robbruce Aug 11, 2021
0b21c66
feat: Add REBUILD table grant (#638)
gliptak Aug 12, 2021
869ff75
feat: Procedures (#619)
funes79 Aug 12, 2021
c9cc806
fix: Added Missing Account Privileges (#635)
ChrisIsidora Aug 12, 2021
48b579a
release version 0.25.16
alldoami Aug 12, 2021
633f2bb
feat: Added Procedures Datasource (#646)
ChrisIsidora Aug 17, 2021
f28c7dc
feat: Added Functions (UDF) Resource & Datasource (#647)
ChrisIsidora Aug 18, 2021
965fea7
release version 0.25.17
alldoami Aug 18, 2021
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
1 change: 1 addition & 0 deletions .github/titleLint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
regex: (feat|fix|docs|chore|style|refactor|perf|test): .*
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ terraform-provider-snowflake*
crash.log
.envrc
bin
dist
dist

# JetBrains
.idea/
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ export DIRTY=$(shell if `git diff-index --quiet HEAD --`; then echo false; else
LDFLAGS=-ldflags "-w -s -X github.com/chanzuckerberg/go-misc/ver.GitSha=${SHA} -X github.com/chanzuckerberg/go-misc/ver.Version=${VERSION} -X github.com/chanzuckerberg/go-misc/ver.Dirty=${DIRTY}"
export BASE_BINARY_NAME=terraform-provider-snowflake_v$(VERSION)
export GO111MODULE=on
export TF_ACC_TERRAFORM_VERSION=0.12.29
export TF_ACC_TERRAFORM_VERSION=0.13.0
export SKIP_EXTERNAL_TABLE_TESTS=true
export SKIP_SCIM_INTEGRATION_TESTS=true

go_test ?= -
ifeq (, $(shell which gotest))
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ You can also just download a binary from our [releases](https://github.com/chanz

### For Terraform v0.13+ users

> We are now (7/29/2021) using Terraform 0.13 for testing purposes due to an issue for data sources for versions <0.13. Related PR for this change [here](https://github.com/chanzuckerberg/terraform-provider-snowflake/pull/622#issuecomment-888879621).

You can use [Explicit Provider Source Locations](https://www.terraform.io/upgrade-guides/0-13.html#explicit-provider-source-locations).

The following maybe work well.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.25.3
0.25.17
38 changes: 38 additions & 0 deletions docs/data-sources/current_account.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "snowflake_current_account Data Source - terraform-provider-snowflake"
subcategory: ""
description: |-

---

# snowflake_current_account (Data Source)



## Example Usage

```terraform
data "snowflake_current_account" "this" {}

resource "aws_ssm_parameter" "snowflake_account_url" {
name = "/snowflake/account_url"
type = "String"
value = data.snowflake_current_account.this.url
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **account** (String) The Snowflake Account ID; as returned by CURRENT_ACCOUNT().
- **region** (String) The Snowflake Region; as returned by CURRENT_REGION()
- **url** (String) The Snowflake URL.


49 changes: 49 additions & 0 deletions docs/data-sources/external_functions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "snowflake_external_functions Data Source - terraform-provider-snowflake"
subcategory: ""
description: |-

---

# snowflake_external_functions (Data Source)



## Example Usage

```terraform
data "snowflake_external_functions" "current" {
database = "MYDB"
schema = "MYSCHEMA"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **database** (String) The database from which to return the schemas from.
- **schema** (String) The schema from which to return the external functions from.

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **external_functions** (List of Object) The external functions in the schema (see [below for nested schema](#nestedatt--external_functions))

<a id="nestedatt--external_functions"></a>
### Nested Schema for `external_functions`

Read-Only:

- **comment** (String)
- **database** (String)
- **language** (String)
- **name** (String)
- **schema** (String)


48 changes: 48 additions & 0 deletions docs/data-sources/external_tables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "snowflake_external_tables Data Source - terraform-provider-snowflake"
subcategory: ""
description: |-

---

# snowflake_external_tables (Data Source)



## Example Usage

```terraform
data "snowflake_external_tables" "current" {
database = "MYDB"
schema = "MYSCHEMA"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **database** (String) The database from which to return the schemas from.
- **schema** (String) The schema from which to return the external tables from.

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **external_tables** (List of Object) The external tables in the schema (see [below for nested schema](#nestedatt--external_tables))

<a id="nestedatt--external_tables"></a>
### Nested Schema for `external_tables`

Read-Only:

- **comment** (String)
- **database** (String)
- **name** (String)
- **schema** (String)


49 changes: 49 additions & 0 deletions docs/data-sources/file_formats.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "snowflake_file_formats Data Source - terraform-provider-snowflake"
subcategory: ""
description: |-

---

# snowflake_file_formats (Data Source)



## Example Usage

```terraform
data "snowflake_file_formats" "current" {
database = "MYDB"
schema = "MYSCHEMA"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **database** (String) The database from which to return the schemas from.
- **schema** (String) The schema from which to return the file formats from.

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **file_formats** (List of Object) The file formats in the schema (see [below for nested schema](#nestedatt--file_formats))

<a id="nestedatt--file_formats"></a>
### Nested Schema for `file_formats`

Read-Only:

- **comment** (String)
- **database** (String)
- **format_type** (String)
- **name** (String)
- **schema** (String)


49 changes: 49 additions & 0 deletions docs/data-sources/masking_policies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "snowflake_masking_policies Data Source - terraform-provider-snowflake"
subcategory: ""
description: |-

---

# snowflake_masking_policies (Data Source)



## Example Usage

```terraform
data "snowflake_masking_policies" "current" {
database = "MYDB"
schema = "MYSCHEMA"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **database** (String) The database from which to return the schemas from.
- **schema** (String) The schema from which to return the maskingPolicies from.

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **masking_policies** (List of Object) The maskingPolicies in the schema (see [below for nested schema](#nestedatt--masking_policies))

<a id="nestedatt--masking_policies"></a>
### Nested Schema for `masking_policies`

Read-Only:

- **comment** (String)
- **database** (String)
- **kind** (String)
- **name** (String)
- **schema** (String)


48 changes: 48 additions & 0 deletions docs/data-sources/materialized_views.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "snowflake_materialized_views Data Source - terraform-provider-snowflake"
subcategory: ""
description: |-

---

# snowflake_materialized_views (Data Source)



## Example Usage

```terraform
data "snowflake_materialized_views" "current" {
database = "MYDB"
schema = "MYSCHEMA"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **database** (String) The database from which to return the schemas from.
- **schema** (String) The schema from which to return the views from.

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **materialized_views** (List of Object) The views in the schema (see [below for nested schema](#nestedatt--materialized_views))

<a id="nestedatt--materialized_views"></a>
### Nested Schema for `materialized_views`

Read-Only:

- **comment** (String)
- **database** (String)
- **name** (String)
- **schema** (String)


49 changes: 49 additions & 0 deletions docs/data-sources/pipes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "snowflake_pipes Data Source - terraform-provider-snowflake"
subcategory: ""
description: |-

---

# snowflake_pipes (Data Source)



## Example Usage

```terraform
data "snowflake_pipes" "current" {
database = "MYDB"
schema = "MYSCHEMA"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **database** (String) The database from which to return the schemas from.
- **schema** (String) The schema from which to return the pipes from.

### Optional

- **id** (String) The ID of this resource.

### Read-Only

- **pipes** (List of Object) The pipes in the schema (see [below for nested schema](#nestedatt--pipes))

<a id="nestedatt--pipes"></a>
### Nested Schema for `pipes`

Read-Only:

- **comment** (String)
- **database** (String)
- **integration** (String)
- **name** (String)
- **schema** (String)


Loading