From e4fc8719951f05e1a20852f5ca1c3fc37806d81e Mon Sep 17 00:00:00 2001 From: Mika Rinne Date: Mon, 7 Oct 2024 12:50:30 +0300 Subject: [PATCH] OCI Terraform support fix (#240) * terraform for OCI * fix --------- Co-authored-by: mericstam --- Tasks/TerraformTask/TerraformTaskV4/src/parent-handler.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tasks/TerraformTask/TerraformTaskV4/src/parent-handler.ts b/Tasks/TerraformTask/TerraformTaskV4/src/parent-handler.ts index 5f94bba..0fb6bbd 100644 --- a/Tasks/TerraformTask/TerraformTaskV4/src/parent-handler.ts +++ b/Tasks/TerraformTask/TerraformTaskV4/src/parent-handler.ts @@ -2,6 +2,7 @@ import { BaseTerraformCommandHandler } from './base-terraform-command-handler'; import { TerraformCommandHandlerAzureRM } from './azure-terraform-command-handler'; import { TerraformCommandHandlerAWS } from './aws-terraform-command-handler'; import { TerraformCommandHandlerGCP } from './gcp-terraform-command-handler'; +import { TerraformCommandHandlerOCI } from './oci-terraform-command-handler'; export interface IParentCommandHandler { execute(providerName: string, command: string): Promise; @@ -24,6 +25,10 @@ export class ParentCommandHandler implements IParentCommandHandler { case "gcp": provider = new TerraformCommandHandlerGCP(); break; + + case "oci": + provider = new TerraformCommandHandlerOCI(); + break; } // Run the corrresponding command according to command name