Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: aws_workspaces_workspace should support migration #33450

Open
ruckc opened this issue Sep 13, 2023 · 1 comment
Open

[Enhancement]: aws_workspaces_workspace should support migration #33450

ruckc opened this issue Sep 13, 2023 · 1 comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/workspaces Issues and PRs that pertain to the workspaces service.

Comments

@ruckc
Copy link

ruckc commented Sep 13, 2023

Description

Currently, if you change a bundle id, the workspace is destroyed and recreated. It would be beneficial if the provider supported workspace migration, which would persist user data.

Affected Resource(s) and/or Data Source(s)

  • aws_workspaces_workspace

Potential Terraform Configuration

No response

References

From https://aws.amazon.com/workspaces/faqs/

Q: What data can I retain after a WorkSpaces migrate?

A: All data in the latest snapshot of the original user volume will be retained. For a Windows WorkSpace, the D drive data captured by the latest snapshot will be retained after migration and the C drive will be newly created from the target bundle image. In addition, migrate attempts to move data from the old user profile to the new one. Data that cannot be moved to the new profile will be preserved in a .notMigrated folder. For more information, please refer to the documentation.

Q: Can I move an existing WorkSpace from a public bundle to a custom bundle?

A: Yes. The WorkSpaces migrate function allows you to replace your WorkSpace’s root volume with a base image from another bundle. Migrate will recreate the WorkSpace using a new root volume from the target bundle image, and the user volume from the latest original user volume snapshot. For detailed information about migrate, please refer to the documentation.

Q: What’s the difference between migrate and rebuild?

A: WorkSpaces Migrate allows you to switch to a new bundle and have your user profile regenerated. Rebuild just refreshes your WorkSpace with a root volume generated from the base image of the original bundle.

Q: What happens if I rebuild my WorkSpace after migrate?

A: Migrate associates your WorkSpace with a new bundle. And a rebuild after migration will uses the newly associated bundle to generate the root volume.

Would you like to implement a fix?

None

@ruckc ruckc added the enhancement Requests to existing resources that expand the functionality or scope. label Sep 13, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/workspaces Issues and PRs that pertain to the workspaces service. label Sep 13, 2023
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Sep 13, 2023
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/workspaces Issues and PRs that pertain to the workspaces service.
Projects
None yet
Development

No branches or pull requests

2 participants