1. Packages
  2. Command (preview)
  3. API Docs
  4. local
  5. Command
Command v0.11.1 published on Friday, May 17, 2024 by Pulumi

command.local.Command

Explore with Pulumi AI

command logo
Command v0.11.1 published on Friday, May 17, 2024 by Pulumi

    A local command to be executed. This command can be inserted into the life cycles of other resources using the dependsOn or parent resource options. A command is considered to have failed when it finished with a non-zero exit code. This will fail the CRUD step of the Command resource.

    Create Command Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Command(name: string, args?: CommandArgs, opts?: CustomResourceOptions);
    @overload
    def Command(resource_name: str,
                args: Optional[CommandArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Command(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                add_previous_output_in_env: Optional[bool] = None,
                archive_paths: Optional[Sequence[str]] = None,
                asset_paths: Optional[Sequence[str]] = None,
                create: Optional[str] = None,
                delete: Optional[str] = None,
                dir: Optional[str] = None,
                environment: Optional[Mapping[str, str]] = None,
                interpreter: Optional[Sequence[str]] = None,
                logging: Optional[Logging] = None,
                stdin: Optional[str] = None,
                triggers: Optional[Sequence[Any]] = None,
                update: Optional[str] = None)
    func NewCommand(ctx *Context, name string, args *CommandArgs, opts ...ResourceOption) (*Command, error)
    public Command(string name, CommandArgs? args = null, CustomResourceOptions? opts = null)
    public Command(String name, CommandArgs args)
    public Command(String name, CommandArgs args, CustomResourceOptions options)
    
    type: command:local:Command
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CommandArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CommandArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CommandArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CommandArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CommandArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var commandResource = new Command.Local.Command("commandResource", new()
    {
        AddPreviousOutputInEnv = false,
        ArchivePaths = new[]
        {
            "string",
        },
        AssetPaths = new[]
        {
            "string",
        },
        Create = "string",
        Delete = "string",
        Dir = "string",
        Environment = 
        {
            { "string", "string" },
        },
        Interpreter = new[]
        {
            "string",
        },
        Logging = Command.Local.Logging.Stdout,
        Stdin = "string",
        Triggers = new[]
        {
            "any",
        },
        Update = "string",
    });
    
    example, err := local.NewCommand(ctx, "commandResource", &local.CommandArgs{
    	AddPreviousOutputInEnv: pulumi.Bool(false),
    	ArchivePaths: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AssetPaths: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Create: pulumi.String("string"),
    	Delete: pulumi.String("string"),
    	Dir:    pulumi.String("string"),
    	Environment: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Interpreter: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Logging: local.LoggingStdout,
    	Stdin:   pulumi.String("string"),
    	Triggers: pulumi.Array{
    		pulumi.Any("any"),
    	},
    	Update: pulumi.String("string"),
    })
    
    var commandResource = new Command("commandResource", CommandArgs.builder()
        .addPreviousOutputInEnv(false)
        .archivePaths("string")
        .assetPaths("string")
        .create("string")
        .delete("string")
        .dir("string")
        .environment(Map.of("string", "string"))
        .interpreter("string")
        .logging("stdout")
        .stdin("string")
        .triggers("any")
        .update("string")
        .build());
    
    command_resource = command.local.Command("commandResource",
        add_previous_output_in_env=False,
        archive_paths=["string"],
        asset_paths=["string"],
        create="string",
        delete="string",
        dir="string",
        environment={
            "string": "string",
        },
        interpreter=["string"],
        logging=command.local.Logging.STDOUT,
        stdin="string",
        triggers=["any"],
        update="string")
    
    const commandResource = new command.local.Command("commandResource", {
        addPreviousOutputInEnv: false,
        archivePaths: ["string"],
        assetPaths: ["string"],
        create: "string",
        "delete": "string",
        dir: "string",
        environment: {
            string: "string",
        },
        interpreter: ["string"],
        logging: command.local.Logging.Stdout,
        stdin: "string",
        triggers: ["any"],
        update: "string",
    });
    
    type: command:local:Command
    properties:
        addPreviousOutputInEnv: false
        archivePaths:
            - string
        assetPaths:
            - string
        create: string
        delete: string
        dir: string
        environment:
            string: string
        interpreter:
            - string
        logging: stdout
        stdin: string
        triggers:
            - any
        update: string
    

    Command Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Command resource accepts the following input properties:

    AddPreviousOutputInEnv bool
    If the previous command's stdout and stderr (as generated by the prior create/update) is injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. Defaults to true.
    ArchivePaths List<string>

    A list of path globs to return as a single archive asset after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    AssetPaths List<string>

    A list of path globs to read after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    Create string
    The command to run on create.
    Delete string
    The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    Dir string
    The directory from which to run the command from. If dir does not exist, then Command will fail.
    Environment Dictionary<string, string>
    Additional environment variables available to the command's process.
    Interpreter List<string>
    The program and arguments to run the command. On Linux and macOS, defaults to: ["/bin/sh", "-c"]. On Windows, defaults to: ["cmd", "/C"]
    Logging Pulumi.Command.Local.Logging
    If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
    Stdin string
    Pass a string to the command's process as standard in
    Triggers List<object>
    Trigger replacements on changes to this input.
    Update string
    The command to run on update, if empty, create will run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    AddPreviousOutputInEnv bool
    If the previous command's stdout and stderr (as generated by the prior create/update) is injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. Defaults to true.
    ArchivePaths []string

    A list of path globs to return as a single archive asset after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    AssetPaths []string

    A list of path globs to read after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    Create string
    The command to run on create.
    Delete string
    The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    Dir string
    The directory from which to run the command from. If dir does not exist, then Command will fail.
    Environment map[string]string
    Additional environment variables available to the command's process.
    Interpreter []string
    The program and arguments to run the command. On Linux and macOS, defaults to: ["/bin/sh", "-c"]. On Windows, defaults to: ["cmd", "/C"]
    Logging Logging
    If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
    Stdin string
    Pass a string to the command's process as standard in
    Triggers []interface{}
    Trigger replacements on changes to this input.
    Update string
    The command to run on update, if empty, create will run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    addPreviousOutputInEnv Boolean
    If the previous command's stdout and stderr (as generated by the prior create/update) is injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. Defaults to true.
    archivePaths List<String>

    A list of path globs to return as a single archive asset after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    assetPaths List<String>

    A list of path globs to read after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    create String
    The command to run on create.
    delete String
    The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    dir String
    The directory from which to run the command from. If dir does not exist, then Command will fail.
    environment Map<String,String>
    Additional environment variables available to the command's process.
    interpreter List<String>
    The program and arguments to run the command. On Linux and macOS, defaults to: ["/bin/sh", "-c"]. On Windows, defaults to: ["cmd", "/C"]
    logging Logging
    If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
    stdin String
    Pass a string to the command's process as standard in
    triggers List<Object>
    Trigger replacements on changes to this input.
    update String
    The command to run on update, if empty, create will run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    addPreviousOutputInEnv boolean
    If the previous command's stdout and stderr (as generated by the prior create/update) is injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. Defaults to true.
    archivePaths string[]

    A list of path globs to return as a single archive asset after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    assetPaths string[]

    A list of path globs to read after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    create string
    The command to run on create.
    delete string
    The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    dir string
    The directory from which to run the command from. If dir does not exist, then Command will fail.
    environment {[key: string]: string}
    Additional environment variables available to the command's process.
    interpreter string[]
    The program and arguments to run the command. On Linux and macOS, defaults to: ["/bin/sh", "-c"]. On Windows, defaults to: ["cmd", "/C"]
    logging Logging
    If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
    stdin string
    Pass a string to the command's process as standard in
    triggers any[]
    Trigger replacements on changes to this input.
    update string
    The command to run on update, if empty, create will run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    add_previous_output_in_env bool
    If the previous command's stdout and stderr (as generated by the prior create/update) is injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. Defaults to true.
    archive_paths Sequence[str]

    A list of path globs to return as a single archive asset after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    asset_paths Sequence[str]

    A list of path globs to read after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    create str
    The command to run on create.
    delete str
    The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    dir str
    The directory from which to run the command from. If dir does not exist, then Command will fail.
    environment Mapping[str, str]
    Additional environment variables available to the command's process.
    interpreter Sequence[str]
    The program and arguments to run the command. On Linux and macOS, defaults to: ["/bin/sh", "-c"]. On Windows, defaults to: ["cmd", "/C"]
    logging Logging
    If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
    stdin str
    Pass a string to the command's process as standard in
    triggers Sequence[Any]
    Trigger replacements on changes to this input.
    update str
    The command to run on update, if empty, create will run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    addPreviousOutputInEnv Boolean
    If the previous command's stdout and stderr (as generated by the prior create/update) is injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. Defaults to true.
    archivePaths List<String>

    A list of path globs to return as a single archive asset after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    assetPaths List<String>

    A list of path globs to read after the command completes.

    When specifying glob patterns the following rules apply:

    • We only include files not directories for assets and archives.
    • Path separators are / on all platforms - including Windows.
    • Patterns starting with ! are 'exclude' rules.
    • Rules are evaluated in order, so exclude rules should be after inclusion rules.
    • * matches anything except /
    • ** matches anything, including /
    • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
    • For full details of the globbing syntax, see github.com/gobwas/glob

    Example

    Given the rules:

    - "assets/**"
    - "src/**.js"
    - "!**secret.*"
    

    When evaluating against this folder:

    - assets/
      - logos/
        - logo.svg
    - src/
      - index.js
      - secret.js
    

    The following paths will be returned:

    - assets/logos/logo.svg
    - src/index.js
    
    create String
    The command to run on create.
    delete String
    The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.
    dir String
    The directory from which to run the command from. If dir does not exist, then Command will fail.
    environment Map<String>
    Additional environment variables available to the command's process.
    interpreter List<String>
    The program and arguments to run the command. On Linux and macOS, defaults to: ["/bin/sh", "-c"]. On Windows, defaults to: ["cmd", "/C"]
    logging "stdout" | "stderr" | "stdoutAndStderr" | "none"
    If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
    stdin String
    Pass a string to the command's process as standard in
    triggers List<Any>
    Trigger replacements on changes to this input.
    update String
    The command to run on update, if empty, create will run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the Command resource from previous create or update steps.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Command resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Stderr string
    The standard error of the command's process
    Stdout string
    The standard output of the command's process
    Archive Archive
    An archive asset containing files found after running the command.
    Assets Dictionary<string, AssetOrArchive>
    A map of assets found after running the command. The key is the relative path from the command dir
    Id string
    The provider-assigned unique ID for this managed resource.
    Stderr string
    The standard error of the command's process
    Stdout string
    The standard output of the command's process
    Archive pulumi.Archive
    An archive asset containing files found after running the command.
    Assets AssetOrArchive
    A map of assets found after running the command. The key is the relative path from the command dir
    id String
    The provider-assigned unique ID for this managed resource.
    stderr String
    The standard error of the command's process
    stdout String
    The standard output of the command's process
    archive Archive
    An archive asset containing files found after running the command.
    assets Map<String,AssetOrArchive>
    A map of assets found after running the command. The key is the relative path from the command dir
    id string
    The provider-assigned unique ID for this managed resource.
    stderr string
    The standard error of the command's process
    stdout string
    The standard output of the command's process
    archive pulumi.asset.Archive
    An archive asset containing files found after running the command.
    assets {[key: string]: pulumi.asset.Asset | pulumi.asset.Archive}
    A map of assets found after running the command. The key is the relative path from the command dir
    id str
    The provider-assigned unique ID for this managed resource.
    stderr str
    The standard error of the command's process
    stdout str
    The standard output of the command's process
    archive pulumi.Archive
    An archive asset containing files found after running the command.
    assets Mapping[str, Union[pulumi.Asset, pulumi.Archive]]
    A map of assets found after running the command. The key is the relative path from the command dir
    id String
    The provider-assigned unique ID for this managed resource.
    stderr String
    The standard error of the command's process
    stdout String
    The standard output of the command's process
    archive Archive
    An archive asset containing files found after running the command.
    assets Map<Asset>
    A map of assets found after running the command. The key is the relative path from the command dir

    Supporting Types

    Logging, LoggingArgs

    Stdout
    stdoutCapture stdout in logs but not stderr
    Stderr
    stderrCapture stderr in logs but not stdout
    StdoutAndStderr
    stdoutAndStderrCapture stdout and stderr in logs
    None
    noneCapture no logs
    LoggingStdout
    stdoutCapture stdout in logs but not stderr
    LoggingStderr
    stderrCapture stderr in logs but not stdout
    LoggingStdoutAndStderr
    stdoutAndStderrCapture stdout and stderr in logs
    LoggingNone
    noneCapture no logs
    Stdout
    stdoutCapture stdout in logs but not stderr
    Stderr
    stderrCapture stderr in logs but not stdout
    StdoutAndStderr
    stdoutAndStderrCapture stdout and stderr in logs
    None
    noneCapture no logs
    Stdout
    stdoutCapture stdout in logs but not stderr
    Stderr
    stderrCapture stderr in logs but not stdout
    StdoutAndStderr
    stdoutAndStderrCapture stdout and stderr in logs
    None
    noneCapture no logs
    STDOUT
    stdoutCapture stdout in logs but not stderr
    STDERR
    stderrCapture stderr in logs but not stdout
    STDOUT_AND_STDERR
    stdoutAndStderrCapture stdout and stderr in logs
    NONE
    noneCapture no logs
    "stdout"
    stdoutCapture stdout in logs but not stderr
    "stderr"
    stderrCapture stderr in logs but not stdout
    "stdoutAndStderr"
    stdoutAndStderrCapture stdout and stderr in logs
    "none"
    noneCapture no logs

    Package Details

    Repository
    command pulumi/pulumi-command
    License
    Apache-2.0
    command logo
    Command v0.11.1 published on Friday, May 17, 2024 by Pulumi