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

Workspace Importer does not import execution mode #723

Closed
dcopestake opened this issue Feb 16, 2024 · 1 comment · Fixed by #734
Closed

Workspace Importer does not import execution mode #723

dcopestake opened this issue Feb 16, 2024 · 1 comment · Fixed by #734
Labels
bug Something isn't working
Milestone

Comments

@dcopestake
Copy link

Bug description 🐞

We have a lot of workspaces that are using local execution mode in Terraform Cloud (i.e. where we're just using it for state management), however I've noticed that regardless of what the value is set to in Terraform Cloud, when the workspace gets imported it always gets imported as execution mode of remote.

Steps to reproduce

  1. Create a workspace in Terraform Cloud with an execution mode set to Local
  2. Use the Terrakube Workspace Importer to import the workspace using CLI-driven workflow
  3. Check the execution mode in Terrakube and note it's set to remote

Expected behavior

Execution mode in Terrakube should reflect that from the workspace in Terraform Cloud.

Example repository

No response

Anything else?

No response

@dcopestake dcopestake added the bug Something isn't working label Feb 16, 2024
@jcanizalez
Copy link
Member

You are right we are not importing it, I will check which is the field in the api result and will include it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants