Skip to main content

ProjectTemplate

Resource ProjectTemplate in pulumi-infisical.
6 min read

Resource ProjectTemplate in pulumi-infisical.

Pulumi type: infisical:index/projectTemplate:ProjectTemplate.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
descriptionstringnoThe description of the project template
environmentsProjectTemplateEnvironment (input)[]noThe environments for the project template
groupsProjectTemplateGroup (input)[]noThe groups assigned to projects created from this template
identitiesProjectTemplateIdentity (input)[]noThe identities assigned to projects created from this template
namestringnoThe name of the project template
rolesProjectTemplateRole (input)[]noThe roles for the project template
typestringyesThe type of the project template. Refer to the documentation here https://infisical.com/docs/api-reference/endpoints/project-templates/create#body-type for the available options
usersProjectTemplateUser (input)[]noThe users assigned to projects created from this template

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
descriptionstringnoThe description of the project template
environmentsProjectTemplateEnvironment (output)[]noThe environments for the project template
groupsProjectTemplateGroup (output)[]noThe groups assigned to projects created from this template
identitiesProjectTemplateIdentity (output)[]noThe identities assigned to projects created from this template
namestringnoThe name of the project template
rolesProjectTemplateRole (output)[]noThe roles for the project template
typestringnoThe type of the project template. Refer to the documentation here https://infisical.com/docs/api-reference/endpoints/project-templates/create#body-type for the available options
usersProjectTemplateUser (output)[]noThe users assigned to projects created from this template

ProjectTemplateEnvironment (input)#

Input object ProjectTemplateEnvironment. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
namestringyesThe name of the environment
positionnumberyesThe position of the environment
slugstringyesThe slug of the environment

ProjectTemplateGroup (input)#

Input object ProjectTemplateGroup. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
groupSlugstringyesThe slug of the group
rolesstring[]yesThe role slugs to assign to the group. Must reference roles defined in this template or predefined role slugs (admin, member, viewer, no-access).

ProjectTemplateIdentity (input)#

Input object ProjectTemplateIdentity. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
identityIdstringyesThe ID of the identity
rolesstring[]yesThe role slugs to assign to the identity. Must reference roles defined in this template or predefined role slugs (admin, member, viewer, no-access).

ProjectTemplateRole (input)#

Input object ProjectTemplateRole. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
namestringyesThe name of the role
permissionsProjectTemplateRolePermission (input)[]noThe permissions assigned to the role. Refer to the documentation here https://infisical.com/docs/api-reference/endpoints/project-templates/create#body-roles-permissions for its usage.
slugstringyesThe slug of the role

ProjectTemplateRolePermission (input)#

Input object ProjectTemplateRolePermission. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
actionsstring[]yesDescribe what actions an entity can take.
conditionsstringnoWhen specified, only matching conditions will be allowed to access given resource. Refer to the documentation in https://infisical.com/docs/internals/permissions#conditions for the complete list of supported properties and operators.
invertedbooleannoWhether rule forbids. Set this to true if permission forbids.
subjectstringyesDescribe the entity the permission pertains to.

ProjectTemplateUser (input)#

Input object ProjectTemplateUser. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
rolesstring[]yesThe role slugs to assign to the user. Must reference roles defined in this template or predefined role slugs (admin, member, viewer, no-access).
usernamestringyesThe username of the user.

ProjectTemplateEnvironment (output)#

Output object ProjectTemplateEnvironment. Fields below belong to this object.

PropertyTypeAlways presentDescription
namestringyesThe name of the environment
positionnumberyesThe position of the environment
slugstringyesThe slug of the environment

ProjectTemplateGroup (output)#

Output object ProjectTemplateGroup. Fields below belong to this object.

PropertyTypeAlways presentDescription
groupSlugstringyesThe slug of the group
rolesstring[]yesThe role slugs to assign to the group. Must reference roles defined in this template or predefined role slugs (admin, member, viewer, no-access).

ProjectTemplateIdentity (output)#

Output object ProjectTemplateIdentity. Fields below belong to this object.

PropertyTypeAlways presentDescription
identityIdstringyesThe ID of the identity
rolesstring[]yesThe role slugs to assign to the identity. Must reference roles defined in this template or predefined role slugs (admin, member, viewer, no-access).

ProjectTemplateRole (output)#

Output object ProjectTemplateRole. Fields below belong to this object.

PropertyTypeAlways presentDescription
namestringyesThe name of the role
permissionsProjectTemplateRolePermission (output)[]yesThe permissions assigned to the role. Refer to the documentation here https://infisical.com/docs/api-reference/endpoints/project-templates/create#body-roles-permissions for its usage.
slugstringyesThe slug of the role

ProjectTemplateRolePermission (output)#

Output object ProjectTemplateRolePermission. Fields below belong to this object.

PropertyTypeAlways presentDescription
actionsstring[]yesDescribe what actions an entity can take.
conditionsstringnoWhen specified, only matching conditions will be allowed to access given resource. Refer to the documentation in https://infisical.com/docs/internals/permissions#conditions for the complete list of supported properties and operators.
invertedbooleanyesWhether rule forbids. Set this to true if permission forbids.
subjectstringyesDescribe the entity the permission pertains to.

ProjectTemplateUser (output)#

Output object ProjectTemplateUser. Fields below belong to this object.

PropertyTypeAlways presentDescription
rolesstring[]yesThe role slugs to assign to the user. Must reference roles defined in this template or predefined role slugs (admin, member, viewer, no-access).
usernamestringyesThe username of the user.