gitlab.getInstanceVariables
The gitlab.getInstanceVariables
data source allows to retrieve all instance-level CI/CD variables.
Upstream API: GitLab REST API docs
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const vars = pulumi.output(gitlab.getInstanceVariables());
Coming soon!
Using getInstanceVariables
function getInstanceVariables(opts?: InvokeOptions): Promise<GetInstanceVariablesResult>
def get_instance_variables(opts: Optional[InvokeOptions] = None) -> GetInstanceVariablesResult
func GetInstanceVariables(ctx *Context, opts ...InvokeOption) (*GetInstanceVariablesResult, error)
> Note: This function is named GetInstanceVariables
in the Go SDK.
public static class GetInstanceVariables
{
public static Task<GetInstanceVariablesResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceVariablesResult> getInstanceVariables(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gitlab:index/getInstanceVariables:getInstanceVariables
arguments:
# arguments dictionary
getInstanceVariables Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Variables
List<Pulumi.
Git Lab. Outputs. Get Instance Variables Variable> The list of variables returned by the search
- Id string
The provider-assigned unique ID for this managed resource.
- Variables
[]Get
Instance Variables Variable The list of variables returned by the search
- id String
The provider-assigned unique ID for this managed resource.
- variables
List<Get
Instance Variables Variable> The list of variables returned by the search
- id string
The provider-assigned unique ID for this managed resource.
- variables
Get
Instance Variables Variable[] The list of variables returned by the search
- id str
The provider-assigned unique ID for this managed resource.
- variables
Sequence[Get
Instance Variables Variable] The list of variables returned by the search
- id String
The provider-assigned unique ID for this managed resource.
- variables List<Property Map>
The list of variables returned by the search
Supporting Types
GetInstanceVariablesVariable
- Key string
- Masked bool
- Protected bool
- Value string
- Variable
Type string
- Key string
- Masked bool
- Protected bool
- Value string
- Variable
Type string
- key String
- masked Boolean
- protected_ Boolean
- value String
- variable
Type String
- key string
- masked boolean
- protected boolean
- value string
- variable
Type string
- key str
- masked bool
- protected bool
- value str
- variable_
type str
- key String
- masked Boolean
- protected Boolean
- value String
- variable
Type String
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
gitlab
Terraform Provider.