Closed alfespa17 closed 10 months ago
This PR will add support to use opentofu like the following:
public static void main(String[] args) throws IOException, ExecutionException, InterruptedException { TerraformProcessData terraformProcessData = TerraformProcessData.builder() .terraformVersion("1.6.0") .workingDirectory(new File("/somte/terraform/path")) .tofu(true) .build(); TerraformClient terraformClient = TerraformClient .builder() .jsonOutput(false) .showColor(true) .build(); terraformClient.init(terraformProcessData, System.out::println, System.err::println).get(); terraformClient.plan(terraformProcessData, System.out::println, System.err::println).get(); }
The SonarCloud Quality Gate passed, but some issues were introduced.
2 New issues 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
Related to https://github.com/AzBuilder/terrakube/issues/674
This PR will add support to use opentofu like the following: