Skip to content

Commit

Permalink
OCI Terraform support fix (#240)
Browse files Browse the repository at this point in the history
* terraform for OCI

* fix

---------

Co-authored-by: mericstam <[email protected]>
  • Loading branch information
mikarinneoracle and mericstam authored Oct 7, 2024
1 parent 8f3f68a commit e4fc871
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tasks/TerraformTask/TerraformTaskV4/src/parent-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<number>;
Expand All @@ -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
Expand Down

0 comments on commit e4fc871

Please sign in to comment.