1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getActionModule
Viewing docs for Auth0 v3.38.0
published on Friday, Feb 20, 2026 by Pulumi
auth0 logo
Viewing docs for Auth0 v3.38.0
published on Friday, Feb 20, 2026 by Pulumi

    Data source to retrieve a specific Auth0 action module by id.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as auth0 from "@pulumi/auth0";
    
    const myModule = auth0.getActionModule({
        id: "mod_XXXXXXXXXXXX",
    });
    
    import pulumi
    import pulumi_auth0 as auth0
    
    my_module = auth0.get_action_module(id="mod_XXXXXXXXXXXX")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := auth0.LookupActionModule(ctx, &auth0.LookupActionModuleArgs{
    			Id: "mod_XXXXXXXXXXXX",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Auth0 = Pulumi.Auth0;
    
    return await Deployment.RunAsync(() => 
    {
        var myModule = Auth0.GetActionModule.Invoke(new()
        {
            Id = "mod_XXXXXXXXXXXX",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.auth0.Auth0Functions;
    import com.pulumi.auth0.inputs.GetActionModuleArgs;
    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 myModule = Auth0Functions.getActionModule(GetActionModuleArgs.builder()
                .id("mod_XXXXXXXXXXXX")
                .build());
    
        }
    }
    
    variables:
      myModule:
        fn::invoke:
          function: auth0:getActionModule
          arguments:
            id: mod_XXXXXXXXXXXX
    

    Using getActionModule

    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 getActionModule(args: GetActionModuleArgs, opts?: InvokeOptions): Promise<GetActionModuleResult>
    function getActionModuleOutput(args: GetActionModuleOutputArgs, opts?: InvokeOptions): Output<GetActionModuleResult>
    def get_action_module(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetActionModuleResult
    def get_action_module_output(id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetActionModuleResult]
    func LookupActionModule(ctx *Context, args *LookupActionModuleArgs, opts ...InvokeOption) (*LookupActionModuleResult, error)
    func LookupActionModuleOutput(ctx *Context, args *LookupActionModuleOutputArgs, opts ...InvokeOption) LookupActionModuleResultOutput

    > Note: This function is named LookupActionModule in the Go SDK.

    public static class GetActionModule 
    {
        public static Task<GetActionModuleResult> InvokeAsync(GetActionModuleArgs args, InvokeOptions? opts = null)
        public static Output<GetActionModuleResult> Invoke(GetActionModuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetActionModuleResult> getActionModule(GetActionModuleArgs args, InvokeOptions options)
    public static Output<GetActionModuleResult> getActionModule(GetActionModuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: auth0:index/getActionModule:getActionModule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the action module.
    Id string
    The ID of the action module.
    id String
    The ID of the action module.
    id string
    The ID of the action module.
    id str
    The ID of the action module.
    id String
    The ID of the action module.

    getActionModule Result

    The following output properties are available:

    ActionsUsingModuleTotal int
    The number of deployed actions using this module.
    AllChangesPublished bool
    Whether all draft changes have been published as a version.
    Code string
    The source code of the action module.
    Dependencies List<GetActionModuleDependency>
    List of third party npm modules, and their versions, that this action module depends on.
    Id string
    The ID of the action module.
    LatestVersionNumber int
    The version number of the latest published version.
    LatestVersions List<GetActionModuleLatestVersion>
    The latest published version of the action module.
    Name string
    The name of the action module.
    Publish bool
    Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
    Secrets List<GetActionModuleSecret>
    List of secrets that are included in the action module. Partial management of secrets is not supported.
    VersionId string
    Version ID of the module. This value is available if publish is set to true.
    ActionsUsingModuleTotal int
    The number of deployed actions using this module.
    AllChangesPublished bool
    Whether all draft changes have been published as a version.
    Code string
    The source code of the action module.
    Dependencies []GetActionModuleDependency
    List of third party npm modules, and their versions, that this action module depends on.
    Id string
    The ID of the action module.
    LatestVersionNumber int
    The version number of the latest published version.
    LatestVersions []GetActionModuleLatestVersion
    The latest published version of the action module.
    Name string
    The name of the action module.
    Publish bool
    Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
    Secrets []GetActionModuleSecret
    List of secrets that are included in the action module. Partial management of secrets is not supported.
    VersionId string
    Version ID of the module. This value is available if publish is set to true.
    actionsUsingModuleTotal Integer
    The number of deployed actions using this module.
    allChangesPublished Boolean
    Whether all draft changes have been published as a version.
    code String
    The source code of the action module.
    dependencies List<GetActionModuleDependency>
    List of third party npm modules, and their versions, that this action module depends on.
    id String
    The ID of the action module.
    latestVersionNumber Integer
    The version number of the latest published version.
    latestVersions List<GetActionModuleLatestVersion>
    The latest published version of the action module.
    name String
    The name of the action module.
    publish Boolean
    Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
    secrets List<GetActionModuleSecret>
    List of secrets that are included in the action module. Partial management of secrets is not supported.
    versionId String
    Version ID of the module. This value is available if publish is set to true.
    actionsUsingModuleTotal number
    The number of deployed actions using this module.
    allChangesPublished boolean
    Whether all draft changes have been published as a version.
    code string
    The source code of the action module.
    dependencies GetActionModuleDependency[]
    List of third party npm modules, and their versions, that this action module depends on.
    id string
    The ID of the action module.
    latestVersionNumber number
    The version number of the latest published version.
    latestVersions GetActionModuleLatestVersion[]
    The latest published version of the action module.
    name string
    The name of the action module.
    publish boolean
    Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
    secrets GetActionModuleSecret[]
    List of secrets that are included in the action module. Partial management of secrets is not supported.
    versionId string
    Version ID of the module. This value is available if publish is set to true.
    actions_using_module_total int
    The number of deployed actions using this module.
    all_changes_published bool
    Whether all draft changes have been published as a version.
    code str
    The source code of the action module.
    dependencies Sequence[GetActionModuleDependency]
    List of third party npm modules, and their versions, that this action module depends on.
    id str
    The ID of the action module.
    latest_version_number int
    The version number of the latest published version.
    latest_versions Sequence[GetActionModuleLatestVersion]
    The latest published version of the action module.
    name str
    The name of the action module.
    publish bool
    Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
    secrets Sequence[GetActionModuleSecret]
    List of secrets that are included in the action module. Partial management of secrets is not supported.
    version_id str
    Version ID of the module. This value is available if publish is set to true.
    actionsUsingModuleTotal Number
    The number of deployed actions using this module.
    allChangesPublished Boolean
    Whether all draft changes have been published as a version.
    code String
    The source code of the action module.
    dependencies List<Property Map>
    List of third party npm modules, and their versions, that this action module depends on.
    id String
    The ID of the action module.
    latestVersionNumber Number
    The version number of the latest published version.
    latestVersions List<Property Map>
    The latest published version of the action module.
    name String
    The name of the action module.
    publish Boolean
    Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
    secrets List<Property Map>
    List of secrets that are included in the action module. Partial management of secrets is not supported.
    versionId String
    Version ID of the module. This value is available if publish is set to true.

    Supporting Types

    GetActionModuleDependency

    Name string
    Dependency name, e.g. lodash.
    Version string
    Dependency version, e.g. latest or 4.17.21.
    Name string
    Dependency name, e.g. lodash.
    Version string
    Dependency version, e.g. latest or 4.17.21.
    name String
    Dependency name, e.g. lodash.
    version String
    Dependency version, e.g. latest or 4.17.21.
    name string
    Dependency name, e.g. lodash.
    version string
    Dependency version, e.g. latest or 4.17.21.
    name str
    Dependency name, e.g. lodash.
    version str
    Dependency version, e.g. latest or 4.17.21.
    name String
    Dependency name, e.g. lodash.
    version String
    Dependency version, e.g. latest or 4.17.21.

    GetActionModuleLatestVersion

    Code string
    The source code of this version.
    CreatedAt string
    The time when this version was created.
    Dependencies List<GetActionModuleLatestVersionDependency>
    List of third party npm modules, and their versions, that this version depends on.
    Id string
    The unique identifier of the version.
    Secrets List<GetActionModuleLatestVersionSecret>
    List of secrets that are included in this version.
    VersionNumber int
    The version number.
    Code string
    The source code of this version.
    CreatedAt string
    The time when this version was created.
    Dependencies []GetActionModuleLatestVersionDependency
    List of third party npm modules, and their versions, that this version depends on.
    Id string
    The unique identifier of the version.
    Secrets []GetActionModuleLatestVersionSecret
    List of secrets that are included in this version.
    VersionNumber int
    The version number.
    code String
    The source code of this version.
    createdAt String
    The time when this version was created.
    dependencies List<GetActionModuleLatestVersionDependency>
    List of third party npm modules, and their versions, that this version depends on.
    id String
    The unique identifier of the version.
    secrets List<GetActionModuleLatestVersionSecret>
    List of secrets that are included in this version.
    versionNumber Integer
    The version number.
    code string
    The source code of this version.
    createdAt string
    The time when this version was created.
    dependencies GetActionModuleLatestVersionDependency[]
    List of third party npm modules, and their versions, that this version depends on.
    id string
    The unique identifier of the version.
    secrets GetActionModuleLatestVersionSecret[]
    List of secrets that are included in this version.
    versionNumber number
    The version number.
    code str
    The source code of this version.
    created_at str
    The time when this version was created.
    dependencies Sequence[GetActionModuleLatestVersionDependency]
    List of third party npm modules, and their versions, that this version depends on.
    id str
    The unique identifier of the version.
    secrets Sequence[GetActionModuleLatestVersionSecret]
    List of secrets that are included in this version.
    version_number int
    The version number.
    code String
    The source code of this version.
    createdAt String
    The time when this version was created.
    dependencies List<Property Map>
    List of third party npm modules, and their versions, that this version depends on.
    id String
    The unique identifier of the version.
    secrets List<Property Map>
    List of secrets that are included in this version.
    versionNumber Number
    The version number.

    GetActionModuleLatestVersionDependency

    Name string
    Dependency name.
    Version string
    Dependency version.
    Name string
    Dependency name.
    Version string
    Dependency version.
    name String
    Dependency name.
    version String
    Dependency version.
    name string
    Dependency name.
    version string
    Dependency version.
    name str
    Dependency name.
    version str
    Dependency version.
    name String
    Dependency name.
    version String
    Dependency version.

    GetActionModuleLatestVersionSecret

    Name string
    Secret name.
    UpdatedAt string
    The time when this secret was last updated.
    Name string
    Secret name.
    UpdatedAt string
    The time when this secret was last updated.
    name String
    Secret name.
    updatedAt String
    The time when this secret was last updated.
    name string
    Secret name.
    updatedAt string
    The time when this secret was last updated.
    name str
    Secret name.
    updated_at str
    The time when this secret was last updated.
    name String
    Secret name.
    updatedAt String
    The time when this secret was last updated.

    GetActionModuleSecret

    Name string
    Secret name. Required when configuring secrets
    UpdatedAt string
    Last update time
    Value string
    Secret value. Required when configuring secrets
    Name string
    Secret name. Required when configuring secrets
    UpdatedAt string
    Last update time
    Value string
    Secret value. Required when configuring secrets
    name String
    Secret name. Required when configuring secrets
    updatedAt String
    Last update time
    value String
    Secret value. Required when configuring secrets
    name string
    Secret name. Required when configuring secrets
    updatedAt string
    Last update time
    value string
    Secret value. Required when configuring secrets
    name str
    Secret name. Required when configuring secrets
    updated_at str
    Last update time
    value str
    Secret value. Required when configuring secrets
    name String
    Secret name. Required when configuring secrets
    updatedAt String
    Last update time
    value String
    Secret value. Required when configuring secrets

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Viewing docs for Auth0 v3.38.0
    published on Friday, Feb 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.