import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing Terraform/Tofu Modules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = new harness.platform.InfraModule("example", { * description: "example", * name: "name", * system: "provider", * repository: "repo", * repositoryBranch: "main", * repositoryPath: "tf/aws/basic", * repositoryConnector: test.id, * onboardingPipeline: "my_onboarding_pipeline", * onboardingPipelineOrg: "default", * onboardingPipelineProject: "IaCM_Project", * onboardingPipelineSync: true, * storageType: "artifact", * connectorOrg: "default", * connectorProject: "my_project", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import harness:platform/infraModule:InfraModule example * ``` */ export declare class InfraModule extends pulumi.CustomResource { /** * Get an existing InfraModule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: InfraModuleState, opts?: pulumi.CustomResourceOptions): InfraModule; /** * Returns true if the given object is an instance of InfraModule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is InfraModule; /** * Org of the connector to be used to fetch the code. */ readonly connectorOrg: pulumi.Output; /** * Project of the connector to be used to fetch the code. */ readonly connectorProject: pulumi.Output; /** * Timestamp when the module was created. */ readonly created: pulumi.Output; /** * Description of the module. */ readonly description: pulumi.Output; /** * Git Tag Style. */ readonly gitTagStyle: pulumi.Output; /** * Name of the module. */ readonly name: pulumi.Output; /** * Onboarding Pipeline identifier. */ readonly onboardingPipeline: pulumi.Output; /** * Onboarding Pipeline organization. */ readonly onboardingPipelineOrg: pulumi.Output; /** * Onboarding Pipeline project. */ readonly onboardingPipelineProject: pulumi.Output; /** * Sync the project automatically. */ readonly onboardingPipelineSync: pulumi.Output; /** * Unique identifier of the module. */ readonly platformInfraModuleId: pulumi.Output; /** * For account connectors, the repository name where the module can be found. */ readonly repository: pulumi.Output; /** * Name of the branch to fetch the code from. This cannot be set if repository commit is set. */ readonly repositoryBranch: pulumi.Output; /** * Tag to fetch the code from. This cannot be set if repository branch is set. */ readonly repositoryCommit: pulumi.Output; /** * Reference to the connector to be used to fetch the code. */ readonly repositoryConnector: pulumi.Output; /** * Path to the module within the repository. */ readonly repositoryPath: pulumi.Output; /** * URL of the repository where the module is stored. */ readonly repositoryUrl: pulumi.Output; /** * How to store the artifact. */ readonly storageType: pulumi.Output; /** * Timestamp when the module was last synced. */ readonly synced: pulumi.Output; /** * Provider of the module. */ readonly system: pulumi.Output; /** * Git tags associated with the module. */ readonly tags: pulumi.Output; /** * List of versions of the module. */ readonly versions: pulumi.Output; /** * Create a InfraModule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InfraModuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InfraModule resources. */ export interface InfraModuleState { /** * Org of the connector to be used to fetch the code. */ connectorOrg?: pulumi.Input; /** * Project of the connector to be used to fetch the code. */ connectorProject?: pulumi.Input; /** * Timestamp when the module was created. */ created?: pulumi.Input; /** * Description of the module. */ description?: pulumi.Input; /** * Git Tag Style. */ gitTagStyle?: pulumi.Input; /** * Name of the module. */ name?: pulumi.Input; /** * Onboarding Pipeline identifier. */ onboardingPipeline?: pulumi.Input; /** * Onboarding Pipeline organization. */ onboardingPipelineOrg?: pulumi.Input; /** * Onboarding Pipeline project. */ onboardingPipelineProject?: pulumi.Input; /** * Sync the project automatically. */ onboardingPipelineSync?: pulumi.Input; /** * Unique identifier of the module. */ platformInfraModuleId?: pulumi.Input; /** * For account connectors, the repository name where the module can be found. */ repository?: pulumi.Input; /** * Name of the branch to fetch the code from. This cannot be set if repository commit is set. */ repositoryBranch?: pulumi.Input; /** * Tag to fetch the code from. This cannot be set if repository branch is set. */ repositoryCommit?: pulumi.Input; /** * Reference to the connector to be used to fetch the code. */ repositoryConnector?: pulumi.Input; /** * Path to the module within the repository. */ repositoryPath?: pulumi.Input; /** * URL of the repository where the module is stored. */ repositoryUrl?: pulumi.Input; /** * How to store the artifact. */ storageType?: pulumi.Input; /** * Timestamp when the module was last synced. */ synced?: pulumi.Input; /** * Provider of the module. */ system?: pulumi.Input; /** * Git tags associated with the module. */ tags?: pulumi.Input; /** * List of versions of the module. */ versions?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a InfraModule resource. */ export interface InfraModuleArgs { /** * Org of the connector to be used to fetch the code. */ connectorOrg?: pulumi.Input; /** * Project of the connector to be used to fetch the code. */ connectorProject?: pulumi.Input; /** * Timestamp when the module was created. */ created?: pulumi.Input; /** * Description of the module. */ description?: pulumi.Input; /** * Git Tag Style. */ gitTagStyle?: pulumi.Input; /** * Name of the module. */ name?: pulumi.Input; /** * Onboarding Pipeline identifier. */ onboardingPipeline?: pulumi.Input; /** * Onboarding Pipeline organization. */ onboardingPipelineOrg?: pulumi.Input; /** * Onboarding Pipeline project. */ onboardingPipelineProject?: pulumi.Input; /** * Sync the project automatically. */ onboardingPipelineSync?: pulumi.Input; /** * Unique identifier of the module. */ platformInfraModuleId?: pulumi.Input; /** * For account connectors, the repository name where the module can be found. */ repository?: pulumi.Input; /** * Name of the branch to fetch the code from. This cannot be set if repository commit is set. */ repositoryBranch?: pulumi.Input; /** * Tag to fetch the code from. This cannot be set if repository branch is set. */ repositoryCommit?: pulumi.Input; /** * Reference to the connector to be used to fetch the code. */ repositoryConnector?: pulumi.Input; /** * Path to the module within the repository. */ repositoryPath?: pulumi.Input; /** * URL of the repository where the module is stored. */ repositoryUrl?: pulumi.Input; /** * How to store the artifact. */ storageType?: pulumi.Input; /** * Timestamp when the module was last synced. */ synced?: pulumi.Input; /** * Provider of the module. */ system: pulumi.Input; /** * Git tags associated with the module. */ tags?: pulumi.Input; /** * List of versions of the module. */ versions?: pulumi.Input[] | undefined>; } //# sourceMappingURL=infraModule.d.ts.map