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 dictionaryThe 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:
- Actions
Using intModule Total - The number of deployed actions using this module.
- All
Changes boolPublished - Whether all draft changes have been published as a version.
- Code string
- The source code of the action module.
- Dependencies
List<Get
Action Module Dependency> - List of third party npm modules, and their versions, that this action module depends on.
- Id string
- The ID of the action module.
- Latest
Version intNumber - The version number of the latest published version.
- Latest
Versions List<GetAction Module Latest Version> - 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<Get
Action Module Secret> - List of secrets that are included in the action module. Partial management of secrets is not supported.
- Version
Id string - Version ID of the module. This value is available if
publishis set to true.
- Actions
Using intModule Total - The number of deployed actions using this module.
- All
Changes boolPublished - Whether all draft changes have been published as a version.
- Code string
- The source code of the action module.
- Dependencies
[]Get
Action Module Dependency - List of third party npm modules, and their versions, that this action module depends on.
- Id string
- The ID of the action module.
- Latest
Version intNumber - The version number of the latest published version.
- Latest
Versions []GetAction Module Latest Version - 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
[]Get
Action Module Secret - List of secrets that are included in the action module. Partial management of secrets is not supported.
- Version
Id string - Version ID of the module. This value is available if
publishis set to true.
- actions
Using IntegerModule Total - The number of deployed actions using this module.
- all
Changes BooleanPublished - Whether all draft changes have been published as a version.
- code String
- The source code of the action module.
- dependencies
List<Get
Action Module Dependency> - List of third party npm modules, and their versions, that this action module depends on.
- id String
- The ID of the action module.
- latest
Version IntegerNumber - The version number of the latest published version.
- latest
Versions List<GetAction Module Latest Version> - 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<Get
Action Module Secret> - List of secrets that are included in the action module. Partial management of secrets is not supported.
- version
Id String - Version ID of the module. This value is available if
publishis set to true.
- actions
Using numberModule Total - The number of deployed actions using this module.
- all
Changes booleanPublished - Whether all draft changes have been published as a version.
- code string
- The source code of the action module.
- dependencies
Get
Action Module Dependency[] - List of third party npm modules, and their versions, that this action module depends on.
- id string
- The ID of the action module.
- latest
Version numberNumber - The version number of the latest published version.
- latest
Versions GetAction Module Latest Version[] - 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
Get
Action Module Secret[] - List of secrets that are included in the action module. Partial management of secrets is not supported.
- version
Id string - Version ID of the module. This value is available if
publishis set to true.
- actions_
using_ intmodule_ total - The number of deployed actions using this module.
- all_
changes_ boolpublished - Whether all draft changes have been published as a version.
- code str
- The source code of the action module.
- dependencies
Sequence[Get
Action Module Dependency] - 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_ intnumber - The version number of the latest published version.
- latest_
versions Sequence[GetAction Module Latest Version] - 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[Get
Action Module Secret] - 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
publishis set to true.
- actions
Using NumberModule Total - The number of deployed actions using this module.
- all
Changes BooleanPublished - 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.
- latest
Version NumberNumber - The version number of the latest published version.
- latest
Versions 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.
- version
Id String - Version ID of the module. This value is available if
publishis set to true.
Supporting Types
GetActionModuleDependency
GetActionModuleLatestVersion
- Code string
- The source code of this version.
- Created
At string - The time when this version was created.
- Dependencies
List<Get
Action Module Latest Version Dependency> - List of third party npm modules, and their versions, that this version depends on.
- Id string
- The unique identifier of the version.
- Secrets
List<Get
Action Module Latest Version Secret> - List of secrets that are included in this version.
- Version
Number int - The version number.
- Code string
- The source code of this version.
- Created
At string - The time when this version was created.
- Dependencies
[]Get
Action Module Latest Version Dependency - List of third party npm modules, and their versions, that this version depends on.
- Id string
- The unique identifier of the version.
- Secrets
[]Get
Action Module Latest Version Secret - List of secrets that are included in this version.
- Version
Number int - The version number.
- code String
- The source code of this version.
- created
At String - The time when this version was created.
- dependencies
List<Get
Action Module Latest Version Dependency> - List of third party npm modules, and their versions, that this version depends on.
- id String
- The unique identifier of the version.
- secrets
List<Get
Action Module Latest Version Secret> - List of secrets that are included in this version.
- version
Number Integer - The version number.
- code string
- The source code of this version.
- created
At string - The time when this version was created.
- dependencies
Get
Action Module Latest Version Dependency[] - List of third party npm modules, and their versions, that this version depends on.
- id string
- The unique identifier of the version.
- secrets
Get
Action Module Latest Version Secret[] - List of secrets that are included in this version.
- version
Number number - The version number.
- code str
- The source code of this version.
- created_
at str - The time when this version was created.
- dependencies
Sequence[Get
Action Module Latest Version Dependency] - List of third party npm modules, and their versions, that this version depends on.
- id str
- The unique identifier of the version.
- secrets
Sequence[Get
Action Module Latest Version Secret] - List of secrets that are included in this version.
- version_
number int - The version number.
- code String
- The source code of this version.
- created
At 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.
- version
Number Number - The version number.
GetActionModuleLatestVersionDependency
GetActionModuleLatestVersionSecret
- name str
- Secret name.
- updated_
at str - The time when this secret was last updated.
GetActionModuleSecret
- name str
- Secret name. Required when configuring secrets
- updated_
at str - Last update time
- value str
- 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
auth0Terraform Provider.
