Skip to content

Commit

Permalink
chore(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.1…
Browse files Browse the repository at this point in the history
…4.1 to 0.16.0 (#1931)

* chore(deps): bump github.com/hashicorp/terraform-plugin-docs

Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.14.1 to 0.16.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-docs@v0.14.1...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add regenerated docs

* Fix fmt

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Sawicki <artur.sawicki@snowflake.com>
  • Loading branch information
dependabot[bot] and sfc-gh-asawicki authored Oct 3, 2023
1 parent 24b6313 commit 07c4f14
Show file tree
Hide file tree
Showing 46 changed files with 9 additions and 94 deletions.
2 changes: 0 additions & 2 deletions docs/data-sources/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,3 @@ Read-Only:
- `organization_name` (String)
- `region_group` (String)
- `snowflake_region` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,3 @@ Read-Only:
- `name` (String)
- `owner` (String)
- `schema_name` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/current_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@ resource "aws_ssm_parameter" "snowflake_account_url" {
- `id` (String) The ID of this resource.
- `region` (String) The Snowflake Region; as returned by CURRENT_REGION()
- `url` (String) The Snowflake URL.


2 changes: 0 additions & 2 deletions docs/data-sources/current_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ description: |-

- `id` (String) The ID of this resource.
- `name` (String) The name of the [primary role](https://docs.snowflake.com/en/user-guide/security-access-control-overview.html#label-access-control-role-enforcement) in use for the current session.


2 changes: 0 additions & 2 deletions docs/data-sources/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ data "snowflake_database" "this" {
- `origin` (String)
- `owner` (String)
- `retention_time` (Number)


2 changes: 0 additions & 2 deletions docs/data-sources/database_roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ Read-Only:
- `comment` (String)
- `name` (String)
- `owner` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,3 @@ Read-Only:

- `accounts` (List of String)
- `ignore_edition_check` (Boolean)


2 changes: 0 additions & 2 deletions docs/data-sources/external_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `language` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/external_tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ Read-Only:
- `database` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/failover_groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,3 @@ Read-Only:
- `secondary_state` (String)
- `snowflake_region` (String)
- `type` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/file_formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `format_type` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ Read-Only:
- `name` (String)
- `return_type` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/grants.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,3 @@ Read-Only:
- `grantee_name` (String)
- `name` (String)
- `privilege` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/masking_policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `kind` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/materialized_views.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ Read-Only:
- `database` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ Read-Only:
- `key` (String)
- `level` (String)
- `value` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/pipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `integration` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/procedures.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ Read-Only:
- `name` (String)
- `return_type` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/resource_monitors.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ Read-Only:
- `credit_quota` (String)
- `frequency` (String)
- `name` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/role.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ data "snowflake_role" "this" {

- `comment` (String) The comment on the role
- `id` (String) The ID of this resource.


2 changes: 0 additions & 2 deletions docs/data-sources/roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `comment` (String)
- `name` (String)
- `owner` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/row_access_policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ Read-Only:
- `database` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ Read-Only:
- `comment` (String)
- `database` (String)
- `name` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/sequences.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ Read-Only:
- `database` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/shares.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ Read-Only:
- `name` (String)
- `owner` (String)
- `to` (List of String)


2 changes: 0 additions & 2 deletions docs/data-sources/stages.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `name` (String)
- `schema` (String)
- `storage_integration` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/storage_integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ Read-Only:
- `enabled` (Boolean)
- `name` (String)
- `type` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `name` (String)
- `schema` (String)
- `table` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/system_generate_scim_access_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ data "snowflake_system_generate_scim_access_token" "scim" {

- `access_token` (String) SCIM Access Token
- `id` (String) The ID of this resource.


2 changes: 0 additions & 2 deletions docs/data-sources/system_get_aws_sns_iam_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ description: |-

- `aws_sns_topic_policy_json` (String) IAM policy for Snowflake’s SQS queue to subscribe to this topic
- `id` (String) The ID of this resource.


2 changes: 0 additions & 2 deletions docs/data-sources/system_get_privatelink_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,3 @@ resource "aws_route53_record" "snowflake_private_link_ocsp_url" {
- `regionless_account_url` (String) The regionless URL to connect to your Snowflake account using AWS PrivateLink, Azure Private Link, or Google Cloud Private Service Connect.
- `regionless_snowsight_url` (String) The URL for your organization to access Snowsight using Private Connectivity to the Snowflake Service.
- `snowsight_url` (String) The URL containing the cloud region to access Snowsight and the Snowflake Marketplace using Private Connectivity to the Snowflake Service.


2 changes: 0 additions & 2 deletions docs/data-sources/system_get_snowflake_platform_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ description: |-
- `aws_vpc_ids` (List of String) Snowflake AWS Virtual Private Cloud IDs
- `azure_vnet_subnet_ids` (List of String) Snowflake Azure Virtual Network Subnet IDs
- `id` (String) The ID of this resource.


2 changes: 0 additions & 2 deletions docs/data-sources/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ Read-Only:
- `database` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Read-Only:
- `name` (String)
- `schema` (String)
- `warehouse` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ Read-Only:
- `last_name` (String)
- `login_name` (String)
- `name` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ Read-Only:
- `database` (String)
- `name` (String)
- `schema` (String)


2 changes: 0 additions & 2 deletions docs/data-sources/warehouses.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ Read-Only:
- `size` (String)
- `state` (String)
- `type` (String)


2 changes: 0 additions & 2 deletions docs/resources/account_password_policy_attachment.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ resource "snowflake_account_password_policy_attachment" "attachment" {
### Read-Only

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


2 changes: 0 additions & 2 deletions docs/resources/failover_group_grant.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,3 @@ description: |-
### Read-Only

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


2 changes: 0 additions & 2 deletions docs/resources/password_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,3 @@ A password policy specifies the requirements that must be met to create and rese

- `id` (String) The ID of this resource.
- `qualified_name` (String) The qualified name for the password policy.


2 changes: 0 additions & 2 deletions docs/resources/role_ownership_grant.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ description: |-
### Read-Only

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


2 changes: 0 additions & 2 deletions docs/resources/user_ownership_grant.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ description: |-
### Read-Only

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


2 changes: 0 additions & 2 deletions docs/resources/user_public_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ description: |-
### Read-Only

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


4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/buger/jsonparser v1.1.1
github.com/google/uuid v1.3.0
github.com/hashicorp/go-uuid v1.0.3
github.com/hashicorp/terraform-plugin-docs v0.14.1
github.com/hashicorp/terraform-plugin-docs v0.16.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0
github.com/jmoiron/sqlx v1.3.5
github.com/luna-duclos/instrumentedsql v1.1.3
Expand All @@ -19,7 +19,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a
golang.org/x/crypto v0.13.0
golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df
golang.org/x/text v0.13.0
golang.org/x/tools v0.13.0
)
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ github.com/hashicorp/terraform-exec v0.19.0 h1:FpqZ6n50Tk95mItTSS9BjeOVUb4eg81Sp
github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg=
github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA=
github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o=
github.com/hashicorp/terraform-plugin-docs v0.14.1 h1:MikFi59KxrP/ewrZoaowrB9he5Vu4FtvhamZFustiA4=
github.com/hashicorp/terraform-plugin-docs v0.14.1/go.mod h1:k2NW8+t113jAus6bb5tQYQgEAX/KueE/u8X2Z45V1GM=
github.com/hashicorp/terraform-plugin-docs v0.16.0 h1:UmxFr3AScl6Wged84jndJIfFccGyBZn52KtMNsS12dI=
github.com/hashicorp/terraform-plugin-docs v0.16.0/go.mod h1:M3ZrlKBJAbPMtNOPwHicGi1c+hZUh7/g0ifT/z7TVfA=
github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2tmqQpDM3iAtnhDQU=
github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec=
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
Expand Down Expand Up @@ -328,8 +328,8 @@ golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2Uz
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0 h1:pVgRXcIictcr+lBQIFeiwuwtDIs4eL21OuM9nyAADmo=
golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df h1:UA2aFVmmsIlefxMk29Dp2juaUSth8Pyn3Tq5Y5mJGME=
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
Expand Down
5 changes: 3 additions & 2 deletions pkg/sdk/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package sdk

import (
"context"
"errors"
"fmt"
"testing"
"time"
Expand Down Expand Up @@ -347,7 +348,7 @@ func createDatabaseWithOptions(t *testing.T, client *Client, id AccountObjectIde
require.NoError(t, err)
return database, func() {
err := client.Databases.Drop(ctx, id, nil)
if err == errObjectNotExistOrAuthorized {
if errors.Is(err, errObjectNotExistOrAuthorized) {
return
}
require.NoError(t, err)
Expand All @@ -369,7 +370,7 @@ func createSchemaWithIdentifier(t *testing.T, client *Client, database *Database
require.NoError(t, err)
return schema, func() {
err := client.Schemas.Drop(ctx, schemaID, nil)
if err == errObjectNotExistOrAuthorized {
if errors.Is(err, errObjectNotExistOrAuthorized) {
return
}
require.NoError(t, err)
Expand Down

0 comments on commit 07c4f14

Please sign in to comment.