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

[question] Control the workspace name for new suites #403

Open
lmayorga1980 opened this issue May 27, 2020 · 1 comment
Open

[question] Control the workspace name for new suites #403

lmayorga1980 opened this issue May 27, 2020 · 1 comment

Comments

@lmayorga1980
Copy link

Would it be possible for kitchen-terraform to use the current workspace to run the tests without switching to the calculated one?

kitchen verify                                ✔  4779  14:48:16
-----> Starting Test Kitchen (v2.5.0)
-----> Creating <my-ubuntu>...
$$$$$$ Verifying the Terraform client version is in the supported interval of >= 0.11.4, < 0.13.0...
$$$$$$ Reading the Terraform client version...
       Terraform v0.12.24
       + provider.local v1.4.0
       + provider.openstack v1.28.0

       Your version of Terraform is out of date! The latest version
       is 0.12.25. You can update by downloading from https://www.terraform.io/downloads.html
$$$$$$ Finished reading the Terraform client version.
$$$$$$ Finished verifying the Terraform client version.
$$$$$$ Initializing the Terraform working directory...

       Initializing the backend...

       Initializing provider plugins...
       - Checking for available provider plugins...
       - Downloading plugin for provider "openstack" (terraform-providers/openstack) 1.28.0...

       The following providers do not have any version constraints in configuration,
       so the latest version was installed.

       To prevent automatic upgrades to new major versions that may contain breaking
       changes, it is recommended to add version = "..." constraints to the
       corresponding provider blocks in configuration, with the constraint strings
       suggested below.

       * provider.openstack: version = "~> 1.28"

       Terraform has been successfully initialized!
$$$$$$ Finished initializing the Terraform working directory.
$$$$$$ Creating the kitchen-terraform-my-ubuntu Terraform workspace...
       Workspace "kitchen-terraform-my-ubuntu" already exists
$$$$$$ Selecting the kitchen-terraform-my-ubuntu Terraform workspace...
       Switched to workspace "kitchen-terraform-my-ubuntu".
$$$$$$ Finished selecting the kitchen-terraform-my-ubuntu Terraform workspace.
       Finished creating <my-ubuntu> (0m5.02s).
-----> Converging <my-ubuntu>...
$$$$$$ Verifying the Terraform client version is in the supported interval of >= 0.11.4, < 0.13.0...
$$$$$$ Reading the Terraform client version...
       Terraform v0.12.24
       + provider.openstack v1.28.0

       Your version of Terraform is out of date! The latest version
       is 0.12.25. You can update by downloading from https://www.terraform.io/downloads.html
$$$$$$ Finished reading the Terraform client version.
$$$$$$ Finished verifying the Terraform client version.
$$$$$$ Selecting the kitchen-terraform-my-ubuntu Terraform workspace...
$$$$$$ Finished selecting the kitchen-terraform-my-ubuntu Terraform workspace.
$$$$$$ Downloading the modules needed for the Terraform configuration...
$$$$$$ Finished downloading the modules needed for the Terraform configuration.
$$$$$$ Validating the Terraform configuration files...

@aaron-lane
Copy link
Collaborator

Hi @lmayorga1980! I apologize for the delayed response.

I think it's a reasonable idea, which is related to #348.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants