Skip to content

Commit

Permalink
docs(workspace/desktop): import list append a param that should be ig…
Browse files Browse the repository at this point in the history
…nored (#5532)
  • Loading branch information
Lance52259 authored Sep 9, 2024
1 parent c7ca235 commit e47c715
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/resources/workspace_desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ $ terraform import huaweicloud_workspace_desktop.test 339d2539-e945-4090-a08d-c1
```

Note that the imported state may not be identical to your resource definition, due to some attributes missing from the
API response. The missing attributes include: `user_email`, `delete_user`, `image_type`, `vpc_id`, `power_action`
and `power_action_type`.
API response. The missing attributes include: `user_email`, `delete_user`, `image_type`, `vpc_id`, `power_action`,
`power_action_type` and `email_notification`.
It is generally recommended running `terraform plan` after importing a desktop.
You can then decide if changes should be applied to the desktop, or the resource definition should be updated to
align with the desktop. Also you can ignore changes as below.
Expand All @@ -217,7 +217,7 @@ resource "huaweicloud_workspace_desktop" "test" {
lifecycle {
ignore_changes = [
user_email, delete_user, image_type, vpc_id, power_action, power_action_type,
user_email, delete_user, image_type, vpc_id, power_action, power_action_type, email_notification,
]
}
}
Expand Down

0 comments on commit e47c715

Please sign in to comment.