Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Jun 6, 2024
1 parent 2d42fc3 commit 33da795
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/shared_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `"<organization_name>"."<account_name>"."<database_name>"`.
- `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 `"<organization_name>"."<account_name>"."<share_name>"`.
- `name` (String) Specifies the identifier for the database; must be unique for your account.

### Optional
Expand Down
5 changes: 4 additions & 1 deletion docs/resources/standard_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,12 @@ Required:
<a id="nestedblock--replication"></a>
### 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.

<a id="nestedblock--replication--enable_for_account"></a>
Expand Down
2 changes: 1 addition & 1 deletion pkg/acceptance/asserts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 33da795

Please sign in to comment.