dbt Cloud v0.1.25 published on Friday, Nov 8, 2024 by Pulumi
dbtcloud.getEnvironmentVariable
Explore with Pulumi AI
Using getEnvironmentVariable
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 getEnvironmentVariable(args: GetEnvironmentVariableArgs, opts?: InvokeOptions): Promise<GetEnvironmentVariableResult>
function getEnvironmentVariableOutput(args: GetEnvironmentVariableOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentVariableResult>
def get_environment_variable(name: Optional[str] = None,
project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentVariableResult
def get_environment_variable_output(name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentVariableResult]
func LookupEnvironmentVariable(ctx *Context, args *LookupEnvironmentVariableArgs, opts ...InvokeOption) (*LookupEnvironmentVariableResult, error)
func LookupEnvironmentVariableOutput(ctx *Context, args *LookupEnvironmentVariableOutputArgs, opts ...InvokeOption) LookupEnvironmentVariableResultOutput
> Note: This function is named LookupEnvironmentVariable
in the Go SDK.
public static class GetEnvironmentVariable
{
public static Task<GetEnvironmentVariableResult> InvokeAsync(GetEnvironmentVariableArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentVariableResult> Invoke(GetEnvironmentVariableInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentVariableResult> getEnvironmentVariable(GetEnvironmentVariableArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: dbtcloud:index/getEnvironmentVariable:getEnvironmentVariable
arguments:
# arguments dictionary
The following arguments are supported:
- name str
- Name for the variable
- project_
id int - Project ID the variable exists in
getEnvironmentVariable Result
The following output properties are available:
- Environment
Values Dictionary<string, string> - Map containing the environment variables
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name for the variable
- Project
Id int - Project ID the variable exists in
- Environment
Values map[string]string - Map containing the environment variables
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name for the variable
- Project
Id int - Project ID the variable exists in
- environment
Values Map<String,String> - Map containing the environment variables
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name for the variable
- project
Id Integer - Project ID the variable exists in
- environment
Values {[key: string]: string} - Map containing the environment variables
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name for the variable
- project
Id number - Project ID the variable exists in
- environment_
values Mapping[str, str] - Map containing the environment variables
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name for the variable
- project_
id int - Project ID the variable exists in
- environment
Values Map<String> - Map containing the environment variables
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name for the variable
- project
Id Number - Project ID the variable exists in
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.