You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "The ID of the extended attributes applied",
67
67
},
68
68
"connection_id": schema.Int64Attribute{
69
-
Computed: true,
70
-
Description: "A connection ID (used with Global Connections)",
69
+
Computed: true,
70
+
Description: "The ID of the connection to use (can be the `id` of a `dbtcloud_global_connection` or the `connection_id` of a legacy connection). "+
71
+
"At the moment, it is optional and the environment will use the connection set in `dbtcloud_project_connection` if `connection_id` is not set in this resource. "+
72
+
"In future versions this field will become required, so it is recommended to set it from now on. "+
73
+
"When configuring this field, it needs to be configured for all the environments of the project. "+
74
+
"To avoid Terraform state issues, when using this field, the `dbtcloud_project_connection` resource should be removed from the project or you need to make sure that the `connection_id` is the same in `dbtcloud_project_connection` and in the `connection_id` of the Development environment of the project",
Description: "Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments",
111
+
Description: "Credential ID for this environment. A credential is not required for development environments, as dbt Cloud defaults to the user's credentials, but deployment environments will have this.",
Description: "Retrieve data for a single environment",
162
+
Description: "Resource to manage dbt Cloud environments for the different dbt Cloud projects."+
163
+
" In a given dbt Cloud project, one development environment can be defined and as many deployment environments as needed can be created."+
164
+
" ~> In August 2024, dbt Cloud released the \"global connection\" feature, allowing connections to be defined at the account level and reused across environments and projects."+
165
+
" This version of the provider has the connection_id as an optional field but it is recommended to start setting it up in your projects. In future versions, this field will become mandatory.",
159
166
Attributes: map[string]resource_schema.Attribute{
160
167
"id": resource_schema.StringAttribute{
161
168
Computed: true,
162
-
Description: "The ID of the license map",
169
+
Description: "The ID of environment.",
163
170
PlanModifiers: []planmodifier.String{
164
171
stringplanmodifier.UseStateForUnknown(),
165
172
},
166
173
},
167
174
"environment_id": resource_schema.Int64Attribute{
168
175
Computed: true,
169
-
Description: "The ID of the environment",
176
+
Description: "The ID of the environment. Duplicated. Here for backward compatibility.",
Description: "(String) Version number of dbt to use in this environment. It needs to be in the format `major.minor.0-latest` (e.g. `1.5.0-latest`), `major.minor.0-pre`, `versionless`, or `latest`. While `versionless` is still supported, using `latest` is recommended. Defaults to `latest` if no version is provided",
208
+
Description: "Version number of dbt to use in this environment. It needs to be in the format `major.minor.0-latest` (e.g. `1.5.0-latest`), `major.minor.0-pre`, `versionless`, or `latest`. While `versionless` is still supported, using `latest` is recommended. Defaults to `latest` if no version is provided",
202
209
Validators: []validator.String{
203
210
stringvalidator.OneOf("latest", "versionless"),
204
211
},
205
212
},
206
213
"type": resource_schema.StringAttribute{
207
214
Required: true,
208
-
Description: "(String) The type of environment (must be either development or deployment)",
215
+
Description: "The type of environment (must be either development or deployment)",
Description: "(String) The type of environment. Only valid for environments of type 'deployment' and for now can only be 'production', 'staging' or left empty for generic environments",
238
+
Description: "The type of environment. Only valid for environments of type 'deployment' and for now can only be 'production', 'staging' or left empty for generic environments",
0 commit comments