Closed nabadger closed 5 months ago
Hi @nabadger,
Thank you for bringing our attention here. There are a few things that are currently missing in the migration guide and I am working on updating it. The Module name is one of the things that will be added.
Let's keep this issue open until an updated guide is available.
Thanks!
Description
We are attempting to migrate to from the v1 to the v2 operator. We noticed that when having a new
Module
CR referencing an existing resource (created by the v1Workspace
), we run into the following error:In the existing (v1) state file the module is named
module.operator
, where as in v2 it defaults tomodule.this
.This is configurable as per: https://github.com/hashicorp/terraform-cloud-operator/pull/172 but took a bit of while to find.
It would be good to document this in the migration docs (assuming we did the right thing).
Potential YAML Configuration
In our case we had to set the module name to
operator
, so that it generatesmodule.operator
as previous.References
Community Note