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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ ENHANCEMENTS:
36
36
37
37
*`r/tfe_notification_configuration`: Add `token_wo` write-only attribute, by @uturunku1 ([#1664](https://github.com/hashicorp/terraform-provider-tfe/pull/1664))
38
38
39
+
*`r/tfe_workspace`: Do not force recreation of workspace if users do not provide `source_name` or `source_url`. [#1674](https://github.com/hashicorp/terraform-provider-tfe/pull/1674)
Copy file name to clipboardExpand all lines: website/docs/r/workspace.html.markdown
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,12 +96,13 @@ The following arguments are supported:
96
96
*`remote_state_consumer_ids` - (Optional) **Deprecated** The set of workspace IDs set as explicit remote state consumers for the given workspace. Use [tfe_workspace_settings](workspace_settings) instead.
97
97
*`source_name` - (Optional) A friendly name for the application or client
98
98
creating this workspace. If set, this will be displayed on the workspace as
99
-
"Created via <SOURCENAME>".
100
-
Requires `source_url` to also be set.
99
+
"Created via <SOURCENAME>". This value cannot be updated after
100
+
initial creation. Use `terraform apply -replace` to update this value. Requires `source_url` to also be set.
101
101
*`source_url` - (Optional) A URL for the application or client creating this
102
102
workspace. This can be the URL of a related resource in another app, or a
103
103
link to documentation or other info about the client.
104
-
Requires `source_name` to also be set.
104
+
Requires `source_name` to also be set. This value cannot be updated after
105
+
initial creation. Use `terraform apply -replace` to update this value.
105
106
**Note:** The API does not (currently) allow this to be updated after a
106
107
workspace has been created, so modifying this value will result in the
107
108
workspace being replaced. To disable this, use an [ignore changes](https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle#ignore_changes) lifecycle meta-argument
0 commit comments