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 template collection (source) for an organization. Template collections define where project templates are sourced from, such as a Git repository. Organization members can use these templates to create new stacks with pre-configured infrastructure code.
Create OrgTemplateCollection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrgTemplateCollection(name: string, args: OrgTemplateCollectionArgs, opts?: CustomResourceOptions);@overload
def OrgTemplateCollection(resource_name: str,
args: OrgTemplateCollectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrgTemplateCollection(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
org_name: Optional[str] = None,
source_url: Optional[str] = None,
destination: Optional[Any] = None,
destination_url: Optional[str] = None)func NewOrgTemplateCollection(ctx *Context, name string, args OrgTemplateCollectionArgs, opts ...ResourceOption) (*OrgTemplateCollection, error)public OrgTemplateCollection(string name, OrgTemplateCollectionArgs args, CustomResourceOptions? opts = null)
public OrgTemplateCollection(String name, OrgTemplateCollectionArgs args)
public OrgTemplateCollection(String name, OrgTemplateCollectionArgs args, CustomResourceOptions options)
type: pulumiservice:api:OrgTemplateCollection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "pulumiservice_api_orgtemplatecollection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OrgTemplateCollectionArgs
- 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 OrgTemplateCollectionArgs
- 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 OrgTemplateCollectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrgTemplateCollectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrgTemplateCollectionArgs
- 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 orgTemplateCollectionResource = new PulumiService.Api.OrgTemplateCollection("orgTemplateCollectionResource", new()
{
Name = "string",
OrgName = "string",
SourceURL = "string",
Destination = "any",
DestinationURL = "string",
});
example, err := api.NewOrgTemplateCollection(ctx, "orgTemplateCollectionResource", &api.OrgTemplateCollectionArgs{
Name: pulumi.String("string"),
OrgName: pulumi.String("string"),
SourceURL: pulumi.String("string"),
Destination: pulumi.Any("any"),
DestinationURL: pulumi.String("string"),
})
resource "pulumiservice_api_orgtemplatecollection" "orgTemplateCollectionResource" {
name = "string"
org_name = "string"
source_url = "string"
destination = "any"
destination_url = "string"
}
var orgTemplateCollectionResource = new OrgTemplateCollection("orgTemplateCollectionResource", OrgTemplateCollectionArgs.builder()
.name("string")
.orgName("string")
.sourceURL("string")
.destination("any")
.destinationURL("string")
.build());
org_template_collection_resource = pulumiservice.api.OrgTemplateCollection("orgTemplateCollectionResource",
name="string",
org_name="string",
source_url="string",
destination="any",
destination_url="string")
const orgTemplateCollectionResource = new pulumiservice.api.OrgTemplateCollection("orgTemplateCollectionResource", {
name: "string",
orgName: "string",
sourceURL: "string",
destination: "any",
destinationURL: "string",
});
type: pulumiservice:api:OrgTemplateCollection
properties:
destination: any
destinationURL: string
name: string
orgName: string
sourceURL: string
OrgTemplateCollection 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 OrgTemplateCollection resource accepts the following input properties:
- Name string
- The name of the template source.
- Org
Name string - The organization name
- Source
URL string - The source URL to fetch templates from.
- Destination object
- deprecated - use DestinationURL instead
- Destination
URL string - The destination URL for the template source.
- Name string
- The name of the template source.
- Org
Name string - The organization name
- Source
URL string - The source URL to fetch templates from.
- Destination interface{}
- deprecated - use DestinationURL instead
- Destination
URL string - The destination URL for the template source.
- name string
- The name of the template source.
- org_
name string - The organization name
- source_
url string - The source URL to fetch templates from.
- destination any
- deprecated - use DestinationURL instead
- destination_
url string - The destination URL for the template source.
- name String
- The name of the template source.
- org
Name String - The organization name
- source
URL String - The source URL to fetch templates from.
- destination Object
- deprecated - use DestinationURL instead
- destination
URL String - The destination URL for the template source.
- name string
- The name of the template source.
- org
Name string - The organization name
- source
URL string - The source URL to fetch templates from.
- destination any
- deprecated - use DestinationURL instead
- destination
URL string - The destination URL for the template source.
- name str
- The name of the template source.
- org_
name str - The organization name
- source_
url str - The source URL to fetch templates from.
- destination Any
- deprecated - use DestinationURL instead
- destination_
url str - The destination URL for the template source.
- name String
- The name of the template source.
- org
Name String - The organization name
- source
URL String - The source URL to fetch templates from.
- destination Any
- deprecated - use DestinationURL instead
- destination
URL String - The destination URL for the template source.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrgTemplateCollection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Valid bool - Whether the template source configuration is valid.
- Template
ID string - The unique identifier of the template source.
- Error string
- An error message if the template source is invalid. Omitted or empty when the source is valid.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Valid bool - Whether the template source configuration is valid.
- Template
ID string - The unique identifier of the template source.
- Error string
- An error message if the template source is invalid. Omitted or empty when the source is valid.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
valid bool - Whether the template source configuration is valid.
- template_
id string - The unique identifier of the template source.
- error string
- An error message if the template source is invalid. Omitted or empty when the source is valid.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Valid Boolean - Whether the template source configuration is valid.
- template
ID String - The unique identifier of the template source.
- error String
- An error message if the template source is invalid. Omitted or empty when the source is valid.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Valid boolean - Whether the template source configuration is valid.
- template
ID string - The unique identifier of the template source.
- error string
- An error message if the template source is invalid. Omitted or empty when the source is valid.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
valid bool - Whether the template source configuration is valid.
- template_
id str - The unique identifier of the template source.
- error str
- An error message if the template source is invalid. Omitted or empty when the source is valid.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Valid Boolean - Whether the template source configuration is valid.
- template
ID String - The unique identifier of the template source.
- error String
- An error message if the template source is invalid. Omitted or empty when the source is valid.
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