Returns an absolute representation of the specified path. If the path is not absolute it will be joined with the current working directory to turn it into an absolute path.
Using abspath
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function abspath(args: AbspathArgs, opts?: InvokeOptions): Promise<AbspathResult>
function abspathOutput(args: AbspathOutputArgs, opts?: InvokeOptions): Output<AbspathResult>def abspath(input: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> AbspathResult
def abspath_output(input: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AbspathResult]func Abspath(ctx *Context, args *AbspathArgs, opts ...InvokeOption) (*AbspathResult, error)
func AbspathOutput(ctx *Context, args *AbspathOutputArgs, opts ...InvokeOption) AbspathResultOutput> Note: This function is named Abspath in the Go SDK.
public static class Abspath
{
public static Task<AbspathResult> InvokeAsync(AbspathArgs args, InvokeOptions? opts = null)
public static Output<AbspathResult> Invoke(AbspathInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<AbspathResult> abspath(AbspathArgs args, InvokeOptions options)
public static Output<AbspathResult> abspath(AbspathArgs args, InvokeOptions options)
fn::invoke:
function: std:abspath
arguments:
# arguments dictionaryThe following arguments are supported:
- Input string
- Input string
- input String
- input string
- input str
- input String
abspath Result
The following output properties are available:
- Result string
- Result string
- result String
- result string
- result str
- result String
Package Details
- Repository
- std pulumi/pulumi-std
- License
