OpenStack v5.3.3 published on Friday, Sep 12, 2025 by Pulumi
openstack.WorkflowWorkflowV2
Use this data source to get the ID of an available workflow.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const workflow1 = openstack.WorkflowWorkflowV2({
    name: "workflow_1",
});
import pulumi
import pulumi_openstack as openstack
workflow1 = openstack.workflow_workflow_v2(name="workflow_1")
package main
import (
	"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.WorkflowWorkflowV2(ctx, &openstack.WorkflowWorkflowV2Args{
			Name: pulumi.StringRef("workflow_1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using OpenStack = Pulumi.OpenStack;
return await Deployment.RunAsync(() => 
{
    var workflow1 = OpenStack.WorkflowWorkflowV2.Invoke(new()
    {
        Name = "workflow_1",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.OpenstackFunctions;
import com.pulumi.openstack.inputs.WorkflowWorkflowV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var workflow1 = OpenstackFunctions.WorkflowWorkflowV2(WorkflowWorkflowV2Args.builder()
            .name("workflow_1")
            .build());
    }
}
variables:
  workflow1:
    fn::invoke:
      function: openstack:WorkflowWorkflowV2
      arguments:
        name: workflow_1
Using WorkflowWorkflowV2
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 workflowWorkflowV2(args: WorkflowWorkflowV2Args, opts?: InvokeOptions): Promise<WorkflowWorkflowV2Result>
function workflowWorkflowV2Output(args: WorkflowWorkflowV2OutputArgs, opts?: InvokeOptions): Output<WorkflowWorkflowV2Result>def workflow_workflow_v2(name: Optional[str] = None,
                         namespace: Optional[str] = None,
                         project_id: Optional[str] = None,
                         region: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> WorkflowWorkflowV2Result
def workflow_workflow_v2_output(name: Optional[pulumi.Input[str]] = None,
                         namespace: Optional[pulumi.Input[str]] = None,
                         project_id: Optional[pulumi.Input[str]] = None,
                         region: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[WorkflowWorkflowV2Result]func WorkflowWorkflowV2(ctx *Context, args *WorkflowWorkflowV2Args, opts ...InvokeOption) (*WorkflowWorkflowV2Result, error)
func WorkflowWorkflowV2Output(ctx *Context, args *WorkflowWorkflowV2OutputArgs, opts ...InvokeOption) WorkflowWorkflowV2ResultOutputpublic static class WorkflowWorkflowV2 
{
    public static Task<WorkflowWorkflowV2Result> InvokeAsync(WorkflowWorkflowV2Args args, InvokeOptions? opts = null)
    public static Output<WorkflowWorkflowV2Result> Invoke(WorkflowWorkflowV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<WorkflowWorkflowV2Result> workflowWorkflowV2(WorkflowWorkflowV2Args args, InvokeOptions options)
public static Output<WorkflowWorkflowV2Result> workflowWorkflowV2(WorkflowWorkflowV2Args args, InvokeOptions options)
fn::invoke:
  function: openstack:WorkflowWorkflowV2
  arguments:
    # arguments dictionaryThe following arguments are supported:
- name str
- The name of the workflow.
- namespace str
- The namespace of the workflow.
- project_id str
- The id of the project to retrieve the workflow. Requires admin privileges.
- region str
- The region in which to obtain the V2 Workflow client.
WorkflowWorkflowV2 Result
The following output properties are available:
- CreatedAt string
- The date the workflow was created.
- Definition string
- The workflow definition in Mistral v2 DSL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input string
- A set of input parameters required for workflow execution.
- Name string
- See Argument Reference above.
- Namespace string
- See Argument Reference above.
- ProjectId string
- See Argument Reference above.
- Region string
- See Argument Reference above.
- Scope string
- Scope (private or public).
- List<string>
- A set of string tags for the workflow.
- CreatedAt string
- The date the workflow was created.
- Definition string
- The workflow definition in Mistral v2 DSL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input string
- A set of input parameters required for workflow execution.
- Name string
- See Argument Reference above.
- Namespace string
- See Argument Reference above.
- ProjectId string
- See Argument Reference above.
- Region string
- See Argument Reference above.
- Scope string
- Scope (private or public).
- []string
- A set of string tags for the workflow.
- createdAt String
- The date the workflow was created.
- definition String
- The workflow definition in Mistral v2 DSL.
- id String
- The provider-assigned unique ID for this managed resource.
- input String
- A set of input parameters required for workflow execution.
- name String
- See Argument Reference above.
- namespace String
- See Argument Reference above.
- projectId String
- See Argument Reference above.
- region String
- See Argument Reference above.
- scope String
- Scope (private or public).
- List<String>
- A set of string tags for the workflow.
- createdAt string
- The date the workflow was created.
- definition string
- The workflow definition in Mistral v2 DSL.
- id string
- The provider-assigned unique ID for this managed resource.
- input string
- A set of input parameters required for workflow execution.
- name string
- See Argument Reference above.
- namespace string
- See Argument Reference above.
- projectId string
- See Argument Reference above.
- region string
- See Argument Reference above.
- scope string
- Scope (private or public).
- string[]
- A set of string tags for the workflow.
- created_at str
- The date the workflow was created.
- definition str
- The workflow definition in Mistral v2 DSL.
- id str
- The provider-assigned unique ID for this managed resource.
- input str
- A set of input parameters required for workflow execution.
- name str
- See Argument Reference above.
- namespace str
- See Argument Reference above.
- project_id str
- See Argument Reference above.
- region str
- See Argument Reference above.
- scope str
- Scope (private or public).
- Sequence[str]
- A set of string tags for the workflow.
- createdAt String
- The date the workflow was created.
- definition String
- The workflow definition in Mistral v2 DSL.
- id String
- The provider-assigned unique ID for this managed resource.
- input String
- A set of input parameters required for workflow execution.
- name String
- See Argument Reference above.
- namespace String
- See Argument Reference above.
- projectId String
- See Argument Reference above.
- region String
- See Argument Reference above.
- scope String
- Scope (private or public).
- List<String>
- A set of string tags for the workflow.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the openstackTerraform Provider.
