diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema/test.tf index 7793a9f2ee..6d30bc12ea 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { name = var.to_share + depends_on = [snowflake_database.test] } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema_NoGrant/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema_NoGrant/test.tf index 1daed03174..59eb25dc5d 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema_NoGrant/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnAllTablesInSchema_NoGrant/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase/test.tf index 834991267a..4267c41bc5 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoGrant/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoGrant/test.tf index 491a840a98..94d2694f5e 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoGrant/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoGrant/test.tf @@ -1,8 +1,8 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoPrivileges/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoPrivileges/test.tf index 7bff22cc4d..1457f8313c 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoPrivileges/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnDatabase_NoPrivileges/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema/test.tf index fb050ce39e..1e840f9d81 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema_NoGrant/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema_NoGrant/test.tf index 1daed03174..59eb25dc5d 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema_NoGrant/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnSchema_NoGrant/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable/test.tf index 47e2188469..d5bd5c3df0 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable_NoGrant/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable_NoGrant/test.tf index 9680c26a43..c28a443f24 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable_NoGrant/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTable_NoGrant/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag/test.tf index d711da7287..2b130fbaa9 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag_NoGrant/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag_NoGrant/test.tf index dc3b3e955d..1b6efa1fa3 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag_NoGrant/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnTag_NoGrant/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView/test.tf index cd8a65737b..604379cccc 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database } diff --git a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView_NoGrant/test.tf b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView_NoGrant/test.tf index bf70f5d448..3a192141a3 100644 --- a/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView_NoGrant/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantPrivilegesToShare/OnView_NoGrant/test.tf @@ -1,9 +1,9 @@ resource "snowflake_share" "test" { + depends_on = [snowflake_database.test] name = var.to_share } resource "snowflake_database" "test" { - depends_on = [snowflake_share.test] name = var.database }