From 33da7950d47ca4881e317ac2b12c227179dee94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Cie=C5=9Blak?= Date: Thu, 6 Jun 2024 11:49:15 +0200 Subject: [PATCH] test fix --- docs/data-sources/databases.md | 2 +- docs/resources/shared_database.md | 2 +- docs/resources/standard_database.md | 5 ++++- pkg/acceptance/asserts_test.go | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/data-sources/databases.md b/docs/data-sources/databases.md index a6ae3e0701..cb0a2762b6 100644 --- a/docs/data-sources/databases.md +++ b/docs/data-sources/databases.md @@ -37,7 +37,7 @@ check "database_check" { assert { condition = length(data.snowflake_databases.test.databases) == 1 - error_message = "Databases fieltered by '${data.snowflake_databases.test.like}' returned ${length(data.snowflake_databases.test.databases)} databases where one was expected" + error_message = "Databases filtered by '${data.snowflake_databases.test.like}' returned ${length(data.snowflake_databases.test.databases)} databases where one was expected" } } ``` diff --git a/docs/resources/shared_database.md b/docs/resources/shared_database.md index 782788474f..74f34308a5 100644 --- a/docs/resources/shared_database.md +++ b/docs/resources/shared_database.md @@ -54,7 +54,7 @@ resource "snowflake_shared_database" "test" { ### Required -- `from_share` (String) A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `""."".""`. +- `from_share` (String) A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `""."".""`. - `name` (String) Specifies the identifier for the database; must be unique for your account. ### Optional diff --git a/docs/resources/standard_database.md b/docs/resources/standard_database.md index ab0a8f1c17..d307c63119 100644 --- a/docs/resources/standard_database.md +++ b/docs/resources/standard_database.md @@ -140,9 +140,12 @@ Required: ### Nested Schema for `replication` +Required: + +- `enable_for_account` (Block List, Min: 1) Entry to enable replication and optionally failover for a given account identifier. (see [below for nested schema](#nestedblock--replication--enable_for_account)) + Optional: -- `enable_for_account` (Block List) Entry to enable replication and optionally failover for a given account identifier. (see [below for nested schema](#nestedblock--replication--enable_for_account)) - `ignore_edition_check` (Boolean) Allows replicating data to accounts on lower editions in either of the following scenarios: 1. The primary database is in a Business Critical (or higher) account but one or more of the accounts approved for replication are on lower editions. Business Critical Edition is intended for Snowflake accounts with extremely sensitive data. 2. The primary database is in a Business Critical (or higher) account and a signed business associate agreement is in place to store PHI data in the account per HIPAA and HITRUST regulations, but no such agreement is in place for one or more of the accounts approved for replication, regardless if they are Business Critical (or higher) accounts. Both scenarios are prohibited by default in an effort to help prevent account administrators for Business Critical (or higher) accounts from inadvertently replicating sensitive data to accounts on lower editions. diff --git a/pkg/acceptance/asserts_test.go b/pkg/acceptance/asserts_test.go index a7f867f1d3..3369778d5b 100644 --- a/pkg/acceptance/asserts_test.go +++ b/pkg/acceptance/asserts_test.go @@ -23,7 +23,7 @@ func TestIsGreaterOrEqualTo(t *testing.T) { Name: "validation: not int value", GreaterOrEqualTo: 20, Actual: "not_int", - Error: "strconv.Atoi: parsing \"string_value\": invalid syntax", + Error: "strconv.Atoi: parsing \"not_int\": invalid syntax", }, { Name: "validation: equal value",