1. Packages
  2. Packages
  3. Pulumi Cloud (Pulumi Service provider)
  4. API Docs
  5. api
  6. api/esc
  7. RevisionTag

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
published on Thursday, May 21, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
published on Thursday, May 21, 2026 by Pulumi

    Creates a new revision tag for a Pulumi ESC environment. Revision tags are named references that point to specific revision numbers, similar to Git tags. They allow pinning a stable reference to a known-good version of an environment. Tagged versions can be used in imports and Pulumi stack configuration (e.g., myproject/env@prod) to ensure stable references unaffected by subsequent changes. The built-in ’latest’ tag always points to the most recent revision.

    Create RevisionTag Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RevisionTag(name: string, args: RevisionTagArgs, opts?: CustomResourceOptions);
    @overload
    def RevisionTag(resource_name: str,
                    args: RevisionTagArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def RevisionTag(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    env_name: Optional[str] = None,
                    name: Optional[str] = None,
                    org_name: Optional[str] = None,
                    project_name: Optional[str] = None,
                    revision: Optional[int] = None)
    func NewRevisionTag(ctx *Context, name string, args RevisionTagArgs, opts ...ResourceOption) (*RevisionTag, error)
    public RevisionTag(string name, RevisionTagArgs args, CustomResourceOptions? opts = null)
    public RevisionTag(String name, RevisionTagArgs args)
    public RevisionTag(String name, RevisionTagArgs args, CustomResourceOptions options)
    
    type: pulumiservice:api/esc:RevisionTag
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "pulumiservice_api_esc_revisiontag" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RevisionTagArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RevisionTagArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RevisionTagArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RevisionTagArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RevisionTagArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var revisionTagResource = new PulumiService.Api.Esc.RevisionTag("revisionTagResource", new()
    {
        EnvName = "string",
        Name = "string",
        OrgName = "string",
        ProjectName = "string",
        Revision = 0,
    });
    
    example, err := esc.NewRevisionTag(ctx, "revisionTagResource", &esc.RevisionTagArgs{
    	EnvName:     pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	OrgName:     pulumi.String("string"),
    	ProjectName: pulumi.String("string"),
    	Revision:    pulumi.Int(0),
    })
    
    resource "pulumiservice_api_esc_revisiontag" "revisionTagResource" {
      env_name     = "string"
      name         = "string"
      org_name     = "string"
      project_name = "string"
      revision     = 0
    }
    
    var revisionTagResource = new RevisionTag("revisionTagResource", RevisionTagArgs.builder()
        .envName("string")
        .name("string")
        .orgName("string")
        .projectName("string")
        .revision(0)
        .build());
    
    revision_tag_resource = pulumiservice.api.esc.RevisionTag("revisionTagResource",
        env_name="string",
        name="string",
        org_name="string",
        project_name="string",
        revision=0)
    
    const revisionTagResource = new pulumiservice.api.esc.RevisionTag("revisionTagResource", {
        envName: "string",
        name: "string",
        orgName: "string",
        projectName: "string",
        revision: 0,
    });
    
    type: pulumiservice:api/esc:RevisionTag
    properties:
        envName: string
        name: string
        orgName: string
        projectName: string
        revision: 0
    

    RevisionTag Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RevisionTag resource accepts the following input properties:

    EnvName string
    The environment name
    Name string
    The name
    OrgName string
    The organization name
    ProjectName string
    The project name
    Revision int
    The revision
    EnvName string
    The environment name
    Name string
    The name
    OrgName string
    The organization name
    ProjectName string
    The project name
    Revision int
    The revision
    env_name string
    The environment name
    name string
    The name
    org_name string
    The organization name
    project_name string
    The project name
    revision number
    The revision
    envName String
    The environment name
    name String
    The name
    orgName String
    The organization name
    projectName String
    The project name
    revision Integer
    The revision
    envName string
    The environment name
    name string
    The name
    orgName string
    The organization name
    projectName string
    The project name
    revision number
    The revision
    env_name str
    The environment name
    name str
    The name
    org_name str
    The organization name
    project_name str
    The project name
    revision int
    The revision
    envName String
    The environment name
    name String
    The name
    orgName String
    The organization name
    projectName String
    The project name
    revision Number
    The revision

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RevisionTag resource produces the following output properties:

    Created string
    The timestamp when the tag was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Modified string
    The timestamp when the tag was last modified.
    EditorLogin string
    The login name of the user who last edited the tag.
    EditorName string
    The display name of the user who last edited the tag.
    Created string
    The timestamp when the tag was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Modified string
    The timestamp when the tag was last modified.
    EditorLogin string
    The login name of the user who last edited the tag.
    EditorName string
    The display name of the user who last edited the tag.
    created string
    The timestamp when the tag was created.
    id string
    The provider-assigned unique ID for this managed resource.
    modified string
    The timestamp when the tag was last modified.
    editor_login string
    The login name of the user who last edited the tag.
    editor_name string
    The display name of the user who last edited the tag.
    created String
    The timestamp when the tag was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modified String
    The timestamp when the tag was last modified.
    editorLogin String
    The login name of the user who last edited the tag.
    editorName String
    The display name of the user who last edited the tag.
    created string
    The timestamp when the tag was created.
    id string
    The provider-assigned unique ID for this managed resource.
    modified string
    The timestamp when the tag was last modified.
    editorLogin string
    The login name of the user who last edited the tag.
    editorName string
    The display name of the user who last edited the tag.
    created str
    The timestamp when the tag was created.
    id str
    The provider-assigned unique ID for this managed resource.
    modified str
    The timestamp when the tag was last modified.
    editor_login str
    The login name of the user who last edited the tag.
    editor_name str
    The display name of the user who last edited the tag.
    created String
    The timestamp when the tag was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modified String
    The timestamp when the tag was last modified.
    editorLogin String
    The login name of the user who last edited the tag.
    editorName String
    The display name of the user who last edited the tag.

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo

    This provider is currently in preview.

    Viewing docs for Pulumi Cloud v1.1.0
    published on Thursday, May 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial