xpanse icon indicating copy to clipboard operation
xpanse copied to clipboard

extend terraform and opentofu local deployers to support multiple versions

Open swaroopar opened this issue 5 months ago • 1 comments

Similar to #1939 , the same logic must be implemented in local deployer tools as well.

  • [ ] all terraform commands must be extended with the version name. example terraform-1.16 apply
  • [ ] if no binary with this name is not found, assume the terraform is not installed, and try to install it. Note -> if it is running in a docker container, then it is installed within the docker container.
  • [ ] Installation path, download base URL must be configurable.
  • [ ] Dynamically build download the file name based on the version, OS name and the processor architecture.
  • [ ] If the installation fails, then return an exception with all information in the async response.

Depends on #1939 and better to be implemented by same developer.

swaroopar avatar Sep 13 '24 13:09 swaroopar