This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi
This provider is currently in preview.
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:
- Env
Name string - The environment name
- Name string
- The name
- Org
Name string - The organization name
- Project
Name 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 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
- env
Name String - The environment name
- name String
- The name
- org
Name String - The organization name
- project
Name String - The project name
- revision Integer
- 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
- 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
- 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
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.
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi