-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e50e9f
commit 7549f0a
Showing
10 changed files
with
143 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 18 additions & 18 deletions
36
pkg/resources/testdata/TestAcc_DynamicTable_issue2134/1/test.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
resource "snowflake_table" "t" { | ||
database = var.database | ||
schema = var.schema | ||
name = var.table_name | ||
change_tracking = true | ||
column { | ||
name = "id" | ||
type = "NUMBER(38,0)" | ||
} | ||
database = var.database | ||
schema = var.schema | ||
name = var.table_name | ||
change_tracking = true | ||
column { | ||
name = "id" | ||
type = "NUMBER(38,0)" | ||
} | ||
} | ||
|
||
resource "snowflake_dynamic_table" "dt" { | ||
depends_on = [snowflake_table.t] | ||
name = var.name | ||
database = var.database | ||
schema = var.schema | ||
target_lag { | ||
maximum_duration = "2 minutes" | ||
} | ||
warehouse = var.warehouse | ||
query = var.query | ||
comment = var.comment | ||
depends_on = [snowflake_table.t] | ||
name = var.name | ||
database = var.database | ||
schema = var.schema | ||
target_lag { | ||
maximum_duration = "2 minutes" | ||
} | ||
warehouse = var.warehouse | ||
query = var.query | ||
comment = var.comment | ||
} |
14 changes: 7 additions & 7 deletions
14
pkg/resources/testdata/TestAcc_DynamicTable_issue2134/1/variables.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
variable "name" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "database" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "schema" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "warehouse" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "query" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "comment" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "table_name" { | ||
type = string | ||
type = string | ||
} |
22 changes: 11 additions & 11 deletions
22
pkg/resources/testdata/TestAcc_DynamicTable_issue2173/1/test.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
resource "snowflake_schema" "other_schema" { | ||
database = var.database | ||
name = var.other_schema | ||
comment = "Other schema" | ||
database = var.database | ||
name = var.other_schema | ||
comment = "Other schema" | ||
} | ||
|
||
resource "snowflake_table" "t" { | ||
database = var.database | ||
schema = var.schema | ||
name = var.table_name | ||
change_tracking = true | ||
column { | ||
name = "id" | ||
type = "NUMBER(38,0)" | ||
} | ||
database = var.database | ||
schema = var.schema | ||
name = var.table_name | ||
change_tracking = true | ||
column { | ||
name = "id" | ||
type = "NUMBER(38,0)" | ||
} | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/resources/testdata/TestAcc_DynamicTable_issue2173/1/variables.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
variable "name" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "database" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "schema" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "warehouse" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "query" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "comment" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "table_name" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "other_schema" { | ||
type = string | ||
type = string | ||
} |
42 changes: 21 additions & 21 deletions
42
pkg/resources/testdata/TestAcc_DynamicTable_issue2173/2/test.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
resource "snowflake_schema" "other_schema" { | ||
database = var.database | ||
name = var.other_schema | ||
comment = "Other schema" | ||
database = var.database | ||
name = var.other_schema | ||
comment = "Other schema" | ||
} | ||
|
||
resource "snowflake_table" "t" { | ||
database = var.database | ||
schema = var.schema | ||
name = var.table_name | ||
change_tracking = true | ||
column { | ||
name = "id" | ||
type = "NUMBER(38,0)" | ||
} | ||
database = var.database | ||
schema = var.schema | ||
name = var.table_name | ||
change_tracking = true | ||
column { | ||
name = "id" | ||
type = "NUMBER(38,0)" | ||
} | ||
} | ||
|
||
resource "snowflake_dynamic_table" "dt" { | ||
depends_on = [snowflake_table.t] | ||
name = var.name | ||
database = var.database | ||
schema = var.schema | ||
target_lag { | ||
maximum_duration = "2 minutes" | ||
} | ||
warehouse = var.warehouse | ||
query = var.query | ||
comment = var.comment | ||
depends_on = [snowflake_table.t] | ||
name = var.name | ||
database = var.database | ||
schema = var.schema | ||
target_lag { | ||
maximum_duration = "2 minutes" | ||
} | ||
warehouse = var.warehouse | ||
query = var.query | ||
comment = var.comment | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/resources/testdata/TestAcc_DynamicTable_issue2173/2/variables.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
variable "name" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "database" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "schema" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "warehouse" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "query" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "comment" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "table_name" { | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "other_schema" { | ||
type = string | ||
type = string | ||
} |