Skip to content

Commit

Permalink
Merge pull request #265 from dbt-labs/topherhindman/update-dbt-version
Browse files Browse the repository at this point in the history
  • Loading branch information
b-per authored May 30, 2024
2 parents aa275f8 + d95f5db commit 2374ad8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/resources/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: |-
```terraform
resource "dbtcloud_environment" "ci_environment" {
// the dbt_version is major.minor.0-latest , major.minor.0-pre or versionless (Beta on 15 Feb 2024, to always be on the latest dbt version)
dbt_version = "1.6.0-latest"
dbt_version = "versionless"
name = "CI"
project_id = dbtcloud_project.dbt_project.id
type = "deployment"
Expand All @@ -24,7 +24,7 @@ resource "dbtcloud_environment" "ci_environment" {
// we can also set a deployment environment as being the production one
resource "dbtcloud_environment" "prod_environment" {
dbt_version = "1.6.0-latest"
dbt_version = "1.7.0-latest"
name = "Prod"
project_id = dbtcloud_project.dbt_project.id
type = "deployment"
Expand All @@ -34,7 +34,7 @@ resource "dbtcloud_environment" "prod_environment" {
// Creating a development environment
resource "dbtcloud_environment" "dev_environment" {
dbt_version = "1.6.0-latest"
dbt_version = "versionless"
name = "Dev"
project_id = dbtcloud_project.dbt_project.id
type = "development"
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/extended_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ resource "dbtcloud_extended_attributes" "my_attributes" {
}
resource "dbtcloud_environment" "issue_depl" {
dbt_version = "1.6.0-latest"
dbt_version = "versionless"
name = "My environment"
project_id = var.dbt_project.id
type = "deployment"
Expand Down
6 changes: 3 additions & 3 deletions examples/resources/dbtcloud_environment/resource.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "dbtcloud_environment" "ci_environment" {
// the dbt_version is major.minor.0-latest , major.minor.0-pre or versionless (Beta on 15 Feb 2024, to always be on the latest dbt version)
dbt_version = "1.6.0-latest"
dbt_version = "versionless"
name = "CI"
project_id = dbtcloud_project.dbt_project.id
type = "deployment"
Expand All @@ -9,7 +9,7 @@ resource "dbtcloud_environment" "ci_environment" {

// we can also set a deployment environment as being the production one
resource "dbtcloud_environment" "prod_environment" {
dbt_version = "1.6.0-latest"
dbt_version = "1.7.0-latest"
name = "Prod"
project_id = dbtcloud_project.dbt_project.id
type = "deployment"
Expand All @@ -19,7 +19,7 @@ resource "dbtcloud_environment" "prod_environment" {

// Creating a development environment
resource "dbtcloud_environment" "dev_environment" {
dbt_version = "1.6.0-latest"
dbt_version = "versionless"
name = "Dev"
project_id = dbtcloud_project.dbt_project.id
type = "development"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "dbtcloud_extended_attributes" "my_attributes" {
}

resource "dbtcloud_environment" "issue_depl" {
dbt_version = "1.6.0-latest"
dbt_version = "versionless"
name = "My environment"
project_id = var.dbt_project.id
type = "deployment"
Expand Down
2 changes: 1 addition & 1 deletion pkg/framework/acctest_helper/acctest_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func SharedClient() (*dbt_cloud.Client, error) {
}

const (
DBT_CLOUD_VERSION = "1.6.0-latest"
DBT_CLOUD_VERSION = "versionless"
)

var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdkv2/data_sources/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

const (
DBT_CLOUD_VERSION = "1.6.0-latest"
DBT_CLOUD_VERSION = "versionless"
)

func providers() map[string]*schema.Provider {
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdkv2/resources/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
DBT_CLOUD_VERSION = "1.6.0-latest"
DBT_CLOUD_VERSION = "versionless"
)

var testAccProviders map[string]*schema.Provider
Expand Down

0 comments on commit 2374ad8

Please sign in to comment.