@sapslaj/pulumi-infisical 0.15.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/accessApprovalPolicy.d.ts +137 -0
- package/dist/accessApprovalPolicy.d.ts.map +1 -0
- package/dist/accessApprovalPolicy.js +98 -0
- package/dist/accessApprovalPolicy.js.map +1 -0
- package/dist/appConnection1password.d.ts +97 -0
- package/dist/appConnection1password.d.ts.map +1 -0
- package/dist/appConnection1password.js +86 -0
- package/dist/appConnection1password.js.map +1 -0
- package/dist/appConnectionAws.d.ts +97 -0
- package/dist/appConnectionAws.d.ts.map +1 -0
- package/dist/appConnectionAws.js +86 -0
- package/dist/appConnectionAws.js.map +1 -0
- package/dist/appConnectionAzureClientSecrets.d.ts +97 -0
- package/dist/appConnectionAzureClientSecrets.d.ts.map +1 -0
- package/dist/appConnectionAzureClientSecrets.js +86 -0
- package/dist/appConnectionAzureClientSecrets.js.map +1 -0
- package/dist/appConnectionBitbucket.d.ts +97 -0
- package/dist/appConnectionBitbucket.d.ts.map +1 -0
- package/dist/appConnectionBitbucket.js +86 -0
- package/dist/appConnectionBitbucket.js.map +1 -0
- package/dist/appConnectionCloudflare.d.ts +97 -0
- package/dist/appConnectionCloudflare.d.ts.map +1 -0
- package/dist/appConnectionCloudflare.js +86 -0
- package/dist/appConnectionCloudflare.js.map +1 -0
- package/dist/appConnectionDatabricks.d.ts +97 -0
- package/dist/appConnectionDatabricks.d.ts.map +1 -0
- package/dist/appConnectionDatabricks.js +86 -0
- package/dist/appConnectionDatabricks.js.map +1 -0
- package/dist/appConnectionFlyio.d.ts +97 -0
- package/dist/appConnectionFlyio.d.ts.map +1 -0
- package/dist/appConnectionFlyio.js +86 -0
- package/dist/appConnectionFlyio.js.map +1 -0
- package/dist/appConnectionGcp.d.ts +97 -0
- package/dist/appConnectionGcp.d.ts.map +1 -0
- package/dist/appConnectionGcp.js +86 -0
- package/dist/appConnectionGcp.js.map +1 -0
- package/dist/appConnectionGitlab.d.ts +97 -0
- package/dist/appConnectionGitlab.d.ts.map +1 -0
- package/dist/appConnectionGitlab.js +86 -0
- package/dist/appConnectionGitlab.js.map +1 -0
- package/dist/appConnectionLdap.d.ts +97 -0
- package/dist/appConnectionLdap.d.ts.map +1 -0
- package/dist/appConnectionLdap.js +86 -0
- package/dist/appConnectionLdap.js.map +1 -0
- package/dist/appConnectionMssql.d.ts +97 -0
- package/dist/appConnectionMssql.d.ts.map +1 -0
- package/dist/appConnectionMssql.js +86 -0
- package/dist/appConnectionMssql.js.map +1 -0
- package/dist/appConnectionMysql.d.ts +97 -0
- package/dist/appConnectionMysql.d.ts.map +1 -0
- package/dist/appConnectionMysql.js +86 -0
- package/dist/appConnectionMysql.js.map +1 -0
- package/dist/appConnectionOracledb.d.ts +97 -0
- package/dist/appConnectionOracledb.d.ts.map +1 -0
- package/dist/appConnectionOracledb.js +86 -0
- package/dist/appConnectionOracledb.js.map +1 -0
- package/dist/appConnectionPostgres.d.ts +97 -0
- package/dist/appConnectionPostgres.d.ts.map +1 -0
- package/dist/appConnectionPostgres.js +86 -0
- package/dist/appConnectionPostgres.js.map +1 -0
- package/dist/appConnectionRender.d.ts +97 -0
- package/dist/appConnectionRender.d.ts.map +1 -0
- package/dist/appConnectionRender.js +86 -0
- package/dist/appConnectionRender.js.map +1 -0
- package/dist/appConnectionSupabase.d.ts +97 -0
- package/dist/appConnectionSupabase.d.ts.map +1 -0
- package/dist/appConnectionSupabase.js +86 -0
- package/dist/appConnectionSupabase.js.map +1 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +21 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/vars.d.ts +22 -0
- package/dist/config/vars.d.ts.map +1 -0
- package/dist/config/vars.js +60 -0
- package/dist/config/vars.js.map +1 -0
- package/dist/dynamicSecretAwsIam.d.ts +149 -0
- package/dist/dynamicSecretAwsIam.d.ts.map +1 -0
- package/dist/dynamicSecretAwsIam.js +103 -0
- package/dist/dynamicSecretAwsIam.js.map +1 -0
- package/dist/dynamicSecretKubernetes.d.ts +149 -0
- package/dist/dynamicSecretKubernetes.d.ts.map +1 -0
- package/dist/dynamicSecretKubernetes.js +103 -0
- package/dist/dynamicSecretKubernetes.js.map +1 -0
- package/dist/dynamicSecretMongoAtlas.d.ts +149 -0
- package/dist/dynamicSecretMongoAtlas.d.ts.map +1 -0
- package/dist/dynamicSecretMongoAtlas.js +103 -0
- package/dist/dynamicSecretMongoAtlas.js.map +1 -0
- package/dist/dynamicSecretMongoDb.d.ts +149 -0
- package/dist/dynamicSecretMongoDb.d.ts.map +1 -0
- package/dist/dynamicSecretMongoDb.js +103 -0
- package/dist/dynamicSecretMongoDb.js.map +1 -0
- package/dist/dynamicSecretSqlDatabase.d.ts +149 -0
- package/dist/dynamicSecretSqlDatabase.d.ts.map +1 -0
- package/dist/dynamicSecretSqlDatabase.js +103 -0
- package/dist/dynamicSecretSqlDatabase.js.map +1 -0
- package/dist/getGroups.d.ts +15 -0
- package/dist/getGroups.d.ts.map +1 -0
- package/dist/getGroups.js +41 -0
- package/dist/getGroups.js.map +1 -0
- package/dist/getIdentityDetails.d.ts +15 -0
- package/dist/getIdentityDetails.d.ts.map +1 -0
- package/dist/getIdentityDetails.js +41 -0
- package/dist/getIdentityDetails.js.map +1 -0
- package/dist/getProjects.d.ts +34 -0
- package/dist/getProjects.d.ts.map +1 -0
- package/dist/getProjects.js +45 -0
- package/dist/getProjects.js.map +1 -0
- package/dist/getSecretFolders.d.ts +34 -0
- package/dist/getSecretFolders.d.ts.map +1 -0
- package/dist/getSecretFolders.js +49 -0
- package/dist/getSecretFolders.js.map +1 -0
- package/dist/getSecretTag.d.ts +28 -0
- package/dist/getSecretTag.d.ts.map +1 -0
- package/dist/getSecretTag.js +47 -0
- package/dist/getSecretTag.js.map +1 -0
- package/dist/getSecrets.d.ts +36 -0
- package/dist/getSecrets.d.ts.map +1 -0
- package/dist/getSecrets.js +49 -0
- package/dist/getSecrets.js.map +1 -0
- package/dist/group.d.ts +75 -0
- package/dist/group.d.ts.map +1 -0
- package/dist/group.js +82 -0
- package/dist/group.js.map +1 -0
- package/dist/identity.d.ts +109 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +88 -0
- package/dist/identity.js.map +1 -0
- package/dist/identityAwsAuth.d.ts +137 -0
- package/dist/identityAwsAuth.d.ts.map +1 -0
- package/dist/identityAwsAuth.js +89 -0
- package/dist/identityAwsAuth.js.map +1 -0
- package/dist/identityAzureAuth.d.ts +137 -0
- package/dist/identityAzureAuth.d.ts.map +1 -0
- package/dist/identityAzureAuth.js +92 -0
- package/dist/identityAzureAuth.js.map +1 -0
- package/dist/identityGcpAuth.d.ts +149 -0
- package/dist/identityGcpAuth.d.ts.map +1 -0
- package/dist/identityGcpAuth.js +91 -0
- package/dist/identityGcpAuth.js.map +1 -0
- package/dist/identityKubernetesAuth.d.ts +173 -0
- package/dist/identityKubernetesAuth.d.ts.map +1 -0
- package/dist/identityKubernetesAuth.js +101 -0
- package/dist/identityKubernetesAuth.js.map +1 -0
- package/dist/identityOidcAuth.d.ts +197 -0
- package/dist/identityOidcAuth.d.ts.map +1 -0
- package/dist/identityOidcAuth.js +103 -0
- package/dist/identityOidcAuth.js.map +1 -0
- package/dist/identityUniversalAuth.d.ts +113 -0
- package/dist/identityUniversalAuth.d.ts.map +1 -0
- package/dist/identityUniversalAuth.js +85 -0
- package/dist/identityUniversalAuth.js.map +1 -0
- package/dist/identityUniversalAuthClientSecret.d.ts +127 -0
- package/dist/identityUniversalAuthClientSecret.d.ts.map +1 -0
- package/dist/identityUniversalAuthClientSecret.js +93 -0
- package/dist/identityUniversalAuthClientSecret.js.map +1 -0
- package/dist/index.d.ts +239 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +438 -0
- package/dist/index.js.map +1 -0
- package/dist/integrationAwsParameterStore.d.ts +165 -0
- package/dist/integrationAwsParameterStore.d.ts.map +1 -0
- package/dist/integrationAwsParameterStore.js +109 -0
- package/dist/integrationAwsParameterStore.js.map +1 -0
- package/dist/integrationAwsSecretsManager.d.ts +177 -0
- package/dist/integrationAwsSecretsManager.d.ts.map +1 -0
- package/dist/integrationAwsSecretsManager.js +108 -0
- package/dist/integrationAwsSecretsManager.js.map +1 -0
- package/dist/integrationCircleci.d.ts +127 -0
- package/dist/integrationCircleci.d.ts.map +1 -0
- package/dist/integrationCircleci.js +106 -0
- package/dist/integrationCircleci.js.map +1 -0
- package/dist/integrationDatabricks.d.ts +127 -0
- package/dist/integrationDatabricks.d.ts.map +1 -0
- package/dist/integrationDatabricks.js +106 -0
- package/dist/integrationDatabricks.js.map +1 -0
- package/dist/integrationGcpSecretManager.d.ts +129 -0
- package/dist/integrationGcpSecretManager.d.ts.map +1 -0
- package/dist/integrationGcpSecretManager.js +103 -0
- package/dist/integrationGcpSecretManager.js.map +1 -0
- package/dist/project.d.ts +137 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +91 -0
- package/dist/project.js.map +1 -0
- package/dist/projectEnvironment.d.ts +87 -0
- package/dist/projectEnvironment.d.ts.map +1 -0
- package/dist/projectEnvironment.js +84 -0
- package/dist/projectEnvironment.js.map +1 -0
- package/dist/projectGroup.d.ts +97 -0
- package/dist/projectGroup.d.ts.map +1 -0
- package/dist/projectGroup.js +86 -0
- package/dist/projectGroup.js.map +1 -0
- package/dist/projectIdentity.d.ts +93 -0
- package/dist/projectIdentity.d.ts.map +1 -0
- package/dist/projectIdentity.js +89 -0
- package/dist/projectIdentity.js.map +1 -0
- package/dist/projectIdentitySpecificPrivilege.d.ts +161 -0
- package/dist/projectIdentitySpecificPrivilege.d.ts.map +1 -0
- package/dist/projectIdentitySpecificPrivilege.js +96 -0
- package/dist/projectIdentitySpecificPrivilege.js.map +1 -0
- package/dist/projectRole.d.ts +113 -0
- package/dist/projectRole.d.ts.map +1 -0
- package/dist/projectRole.js +88 -0
- package/dist/projectRole.js.map +1 -0
- package/dist/projectTemplate.d.ts +101 -0
- package/dist/projectTemplate.d.ts.map +1 -0
- package/dist/projectTemplate.js +83 -0
- package/dist/projectTemplate.js.map +1 -0
- package/dist/projectUser.d.ts +93 -0
- package/dist/projectUser.d.ts.map +1 -0
- package/dist/projectUser.js +89 -0
- package/dist/projectUser.js.map +1 -0
- package/dist/provider.d.ts +83 -0
- package/dist/provider.d.ts.map +1 -0
- package/dist/provider.js +83 -0
- package/dist/provider.js.map +1 -0
- package/dist/secret.d.ts +118 -0
- package/dist/secret.d.ts.map +1 -0
- package/dist/secret.js +97 -0
- package/dist/secret.js.map +1 -0
- package/dist/secretApprovalPolicy.d.ts +149 -0
- package/dist/secretApprovalPolicy.d.ts.map +1 -0
- package/dist/secretApprovalPolicy.js +100 -0
- package/dist/secretApprovalPolicy.js.map +1 -0
- package/dist/secretFolder.d.ts +103 -0
- package/dist/secretFolder.d.ts.map +1 -0
- package/dist/secretFolder.js +91 -0
- package/dist/secretFolder.js.map +1 -0
- package/dist/secretImport.d.ts +111 -0
- package/dist/secretImport.d.ts.map +1 -0
- package/dist/secretImport.js +100 -0
- package/dist/secretImport.js.map +1 -0
- package/dist/secretRotationAwsIamUserSecret.d.ts +185 -0
- package/dist/secretRotationAwsIamUserSecret.d.ts.map +1 -0
- package/dist/secretRotationAwsIamUserSecret.js +112 -0
- package/dist/secretRotationAwsIamUserSecret.js.map +1 -0
- package/dist/secretRotationAzureClientSecret.d.ts +185 -0
- package/dist/secretRotationAzureClientSecret.d.ts.map +1 -0
- package/dist/secretRotationAzureClientSecret.js +112 -0
- package/dist/secretRotationAzureClientSecret.js.map +1 -0
- package/dist/secretRotationLdapPassword.d.ts +185 -0
- package/dist/secretRotationLdapPassword.d.ts.map +1 -0
- package/dist/secretRotationLdapPassword.js +112 -0
- package/dist/secretRotationLdapPassword.js.map +1 -0
- package/dist/secretRotationMssqlCredentials.d.ts +185 -0
- package/dist/secretRotationMssqlCredentials.d.ts.map +1 -0
- package/dist/secretRotationMssqlCredentials.js +112 -0
- package/dist/secretRotationMssqlCredentials.js.map +1 -0
- package/dist/secretRotationMysqlCredentials.d.ts +185 -0
- package/dist/secretRotationMysqlCredentials.d.ts.map +1 -0
- package/dist/secretRotationMysqlCredentials.js +112 -0
- package/dist/secretRotationMysqlCredentials.js.map +1 -0
- package/dist/secretRotationOracledbCredentials.d.ts +185 -0
- package/dist/secretRotationOracledbCredentials.d.ts.map +1 -0
- package/dist/secretRotationOracledbCredentials.js +112 -0
- package/dist/secretRotationOracledbCredentials.js.map +1 -0
- package/dist/secretRotationPostgresCredentials.d.ts +185 -0
- package/dist/secretRotationPostgresCredentials.d.ts.map +1 -0
- package/dist/secretRotationPostgresCredentials.js +112 -0
- package/dist/secretRotationPostgresCredentials.js.map +1 -0
- package/dist/secretSync1password.d.ts +149 -0
- package/dist/secretSync1password.d.ts.map +1 -0
- package/dist/secretSync1password.js +106 -0
- package/dist/secretSync1password.js.map +1 -0
- package/dist/secretSyncAwsParameterStore.d.ts +149 -0
- package/dist/secretSyncAwsParameterStore.d.ts.map +1 -0
- package/dist/secretSyncAwsParameterStore.js +106 -0
- package/dist/secretSyncAwsParameterStore.js.map +1 -0
- package/dist/secretSyncAwsSecretsManager.d.ts +149 -0
- package/dist/secretSyncAwsSecretsManager.d.ts.map +1 -0
- package/dist/secretSyncAwsSecretsManager.js +106 -0
- package/dist/secretSyncAwsSecretsManager.js.map +1 -0
- package/dist/secretSyncAzureAppConfiguration.d.ts +149 -0
- package/dist/secretSyncAzureAppConfiguration.d.ts.map +1 -0
- package/dist/secretSyncAzureAppConfiguration.js +106 -0
- package/dist/secretSyncAzureAppConfiguration.js.map +1 -0
- package/dist/secretSyncAzureDevops.d.ts +149 -0
- package/dist/secretSyncAzureDevops.d.ts.map +1 -0
- package/dist/secretSyncAzureDevops.js +106 -0
- package/dist/secretSyncAzureDevops.js.map +1 -0
- package/dist/secretSyncAzureKeyVault.d.ts +149 -0
- package/dist/secretSyncAzureKeyVault.d.ts.map +1 -0
- package/dist/secretSyncAzureKeyVault.js +106 -0
- package/dist/secretSyncAzureKeyVault.js.map +1 -0
- package/dist/secretSyncBitbucket.d.ts +149 -0
- package/dist/secretSyncBitbucket.d.ts.map +1 -0
- package/dist/secretSyncBitbucket.js +106 -0
- package/dist/secretSyncBitbucket.js.map +1 -0
- package/dist/secretSyncCloudflarePages.d.ts +149 -0
- package/dist/secretSyncCloudflarePages.d.ts.map +1 -0
- package/dist/secretSyncCloudflarePages.js +106 -0
- package/dist/secretSyncCloudflarePages.js.map +1 -0
- package/dist/secretSyncCloudflareWorkers.d.ts +149 -0
- package/dist/secretSyncCloudflareWorkers.d.ts.map +1 -0
- package/dist/secretSyncCloudflareWorkers.js +106 -0
- package/dist/secretSyncCloudflareWorkers.js.map +1 -0
- package/dist/secretSyncDatabricks.d.ts +149 -0
- package/dist/secretSyncDatabricks.d.ts.map +1 -0
- package/dist/secretSyncDatabricks.js +106 -0
- package/dist/secretSyncDatabricks.js.map +1 -0
- package/dist/secretSyncFlyio.d.ts +149 -0
- package/dist/secretSyncFlyio.d.ts.map +1 -0
- package/dist/secretSyncFlyio.js +106 -0
- package/dist/secretSyncFlyio.js.map +1 -0
- package/dist/secretSyncGcpSecretManager.d.ts +149 -0
- package/dist/secretSyncGcpSecretManager.d.ts.map +1 -0
- package/dist/secretSyncGcpSecretManager.js +106 -0
- package/dist/secretSyncGcpSecretManager.js.map +1 -0
- package/dist/secretSyncGithub.d.ts +149 -0
- package/dist/secretSyncGithub.d.ts.map +1 -0
- package/dist/secretSyncGithub.js +106 -0
- package/dist/secretSyncGithub.js.map +1 -0
- package/dist/secretSyncGitlab.d.ts +149 -0
- package/dist/secretSyncGitlab.d.ts.map +1 -0
- package/dist/secretSyncGitlab.js +106 -0
- package/dist/secretSyncGitlab.js.map +1 -0
- package/dist/secretSyncRender.d.ts +149 -0
- package/dist/secretSyncRender.d.ts.map +1 -0
- package/dist/secretSyncRender.js +106 -0
- package/dist/secretSyncRender.js.map +1 -0
- package/dist/secretSyncSupabase.d.ts +149 -0
- package/dist/secretSyncSupabase.d.ts.map +1 -0
- package/dist/secretSyncSupabase.js +106 -0
- package/dist/secretSyncSupabase.js.map +1 -0
- package/dist/secretTag.d.ts +87 -0
- package/dist/secretTag.d.ts.map +1 -0
- package/dist/secretTag.js +87 -0
- package/dist/secretTag.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +34 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/input.d.ts +1766 -0
- package/dist/types/input.d.ts.map +1 -0
- package/dist/types/input.js +5 -0
- package/dist/types/input.js.map +1 -0
- package/dist/types/output.d.ts +1839 -0
- package/dist/types/output.d.ts.map +1 -0
- package/dist/types/output.js +5 -0
- package/dist/types/output.js.map +1 -0
- package/dist/utilities.d.ts +15 -0
- package/dist/utilities.d.ts.map +1 -0
- package/dist/utilities.js +152 -0
- package/dist/utilities.js.map +1 -0
- package/package.json +27 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class ProjectRole extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing ProjectRole resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectRoleState, opts?: pulumi.CustomResourceOptions): ProjectRole;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "infisical:index/projectRole:ProjectRole";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of ProjectRole. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is ProjectRole;
|
|
22
|
+
/**
|
|
23
|
+
* The description for the new role. Defaults to an empty string.
|
|
24
|
+
*/
|
|
25
|
+
readonly description: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The name for the new role
|
|
28
|
+
*/
|
|
29
|
+
readonly name: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project role
|
|
32
|
+
*/
|
|
33
|
+
readonly permissions: pulumi.Output<outputs.ProjectRolePermission[] | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The permissions assigned to the project role. Refer to the documentation here https://infisical.com/docs/internals/permissions for its usage.
|
|
36
|
+
*/
|
|
37
|
+
readonly permissionsV2s: pulumi.Output<outputs.ProjectRolePermissionsV2[] | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* The slug of the project to create role
|
|
40
|
+
*/
|
|
41
|
+
readonly projectSlug: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The slug for the new role
|
|
44
|
+
*/
|
|
45
|
+
readonly slug: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a ProjectRole resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args: ProjectRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Input properties used for looking up and filtering ProjectRole resources.
|
|
57
|
+
*/
|
|
58
|
+
export interface ProjectRoleState {
|
|
59
|
+
/**
|
|
60
|
+
* The description for the new role. Defaults to an empty string.
|
|
61
|
+
*/
|
|
62
|
+
description?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The name for the new role
|
|
65
|
+
*/
|
|
66
|
+
name?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project role
|
|
69
|
+
*/
|
|
70
|
+
permissions?: pulumi.Input<pulumi.Input<inputs.ProjectRolePermission>[]>;
|
|
71
|
+
/**
|
|
72
|
+
* The permissions assigned to the project role. Refer to the documentation here https://infisical.com/docs/internals/permissions for its usage.
|
|
73
|
+
*/
|
|
74
|
+
permissionsV2s?: pulumi.Input<pulumi.Input<inputs.ProjectRolePermissionsV2>[]>;
|
|
75
|
+
/**
|
|
76
|
+
* The slug of the project to create role
|
|
77
|
+
*/
|
|
78
|
+
projectSlug?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The slug for the new role
|
|
81
|
+
*/
|
|
82
|
+
slug?: pulumi.Input<string>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The set of arguments for constructing a ProjectRole resource.
|
|
86
|
+
*/
|
|
87
|
+
export interface ProjectRoleArgs {
|
|
88
|
+
/**
|
|
89
|
+
* The description for the new role. Defaults to an empty string.
|
|
90
|
+
*/
|
|
91
|
+
description?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The name for the new role
|
|
94
|
+
*/
|
|
95
|
+
name?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* (DEPRECATED, USE permissions_v2. Refer to the migration guide in https://infisical.com/docs/internals/permissions#migrating-from-permission-v1-to-permission-v2) The permissions assigned to the project role
|
|
98
|
+
*/
|
|
99
|
+
permissions?: pulumi.Input<pulumi.Input<inputs.ProjectRolePermission>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* The permissions assigned to the project role. Refer to the documentation here https://infisical.com/docs/internals/permissions for its usage.
|
|
102
|
+
*/
|
|
103
|
+
permissionsV2s?: pulumi.Input<pulumi.Input<inputs.ProjectRolePermissionsV2>[]>;
|
|
104
|
+
/**
|
|
105
|
+
* The slug of the project to create role
|
|
106
|
+
*/
|
|
107
|
+
projectSlug: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The slug for the new role
|
|
110
|
+
*/
|
|
111
|
+
slug: pulumi.Input<string>;
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=projectRole.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectRole.d.ts","sourceRoot":"","sources":["../src/projectRole.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAIxI,gBAAgB;IAChB,gBAAuB,YAAY,6CAA6C;IAEhF;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,WAAW;IAOtD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,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B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,CAAC,EAAE,CAAC,CAAC;IACzE;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;IAC/E;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ProjectRole = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class ProjectRole extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ProjectRole resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new ProjectRole(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of ProjectRole. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === ProjectRole.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["description"] = state?.description;
|
|
60
|
+
resourceInputs["name"] = state?.name;
|
|
61
|
+
resourceInputs["permissions"] = state?.permissions;
|
|
62
|
+
resourceInputs["permissionsV2s"] = state?.permissionsV2s;
|
|
63
|
+
resourceInputs["projectSlug"] = state?.projectSlug;
|
|
64
|
+
resourceInputs["slug"] = state?.slug;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if (args?.projectSlug === undefined && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'projectSlug'");
|
|
70
|
+
}
|
|
71
|
+
if (args?.slug === undefined && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'slug'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["description"] = args?.description;
|
|
75
|
+
resourceInputs["name"] = args?.name;
|
|
76
|
+
resourceInputs["permissions"] = args?.permissions;
|
|
77
|
+
resourceInputs["permissionsV2s"] = args?.permissionsV2s;
|
|
78
|
+
resourceInputs["projectSlug"] = args?.projectSlug;
|
|
79
|
+
resourceInputs["slug"] = args?.slug;
|
|
80
|
+
}
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
|
+
super(ProjectRole.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.ProjectRole = ProjectRole;
|
|
86
|
+
/** @internal */
|
|
87
|
+
ProjectRole.__pulumiType = 'infisical:index/projectRole:ProjectRole';
|
|
88
|
+
//# sourceMappingURL=projectRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectRole.js","sourceRoot":"","sources":["../src/projectRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAA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MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC9G,CAAC;;AAzFL,kCA0FC;AA5EG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class ProjectTemplate extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing ProjectTemplate resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectTemplateState, opts?: pulumi.CustomResourceOptions): ProjectTemplate;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "infisical:index/projectTemplate:ProjectTemplate";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of ProjectTemplate. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is ProjectTemplate;
|
|
22
|
+
/**
|
|
23
|
+
* The description of the project template
|
|
24
|
+
*/
|
|
25
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* The environments for the project template
|
|
28
|
+
*/
|
|
29
|
+
readonly environments: pulumi.Output<outputs.ProjectTemplateEnvironment[] | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the project template
|
|
32
|
+
*/
|
|
33
|
+
readonly name: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The roles for the project template
|
|
36
|
+
*/
|
|
37
|
+
readonly roles: pulumi.Output<outputs.ProjectTemplateRole[]>;
|
|
38
|
+
/**
|
|
39
|
+
* The 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
|
|
40
|
+
*/
|
|
41
|
+
readonly type: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a ProjectTemplate resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: ProjectTemplateArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Input properties used for looking up and filtering ProjectTemplate resources.
|
|
53
|
+
*/
|
|
54
|
+
export interface ProjectTemplateState {
|
|
55
|
+
/**
|
|
56
|
+
* The description of the project template
|
|
57
|
+
*/
|
|
58
|
+
description?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The environments for the project template
|
|
61
|
+
*/
|
|
62
|
+
environments?: pulumi.Input<pulumi.Input<inputs.ProjectTemplateEnvironment>[]>;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the project template
|
|
65
|
+
*/
|
|
66
|
+
name?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The roles for the project template
|
|
69
|
+
*/
|
|
70
|
+
roles?: pulumi.Input<pulumi.Input<inputs.ProjectTemplateRole>[]>;
|
|
71
|
+
/**
|
|
72
|
+
* The 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
|
|
73
|
+
*/
|
|
74
|
+
type?: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a ProjectTemplate resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface ProjectTemplateArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The description of the project template
|
|
82
|
+
*/
|
|
83
|
+
description?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The environments for the project template
|
|
86
|
+
*/
|
|
87
|
+
environments?: pulumi.Input<pulumi.Input<inputs.ProjectTemplateEnvironment>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* The name of the project template
|
|
90
|
+
*/
|
|
91
|
+
name?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The roles for the project template
|
|
94
|
+
*/
|
|
95
|
+
roles?: pulumi.Input<pulumi.Input<inputs.ProjectTemplateRole>[]>;
|
|
96
|
+
/**
|
|
97
|
+
* The 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
|
|
98
|
+
*/
|
|
99
|
+
type: pulumi.Input<string>;
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=projectTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectTemplate.d.ts","sourceRoot":"","sources":["../src/projectTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAC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AC,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,EAAE,CAAC,CAAC;IAC/E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACjE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,EAAE,CAAC,CAAC;IAC/E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACjE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ProjectTemplate = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class ProjectTemplate extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ProjectTemplate resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new ProjectTemplate(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of ProjectTemplate. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === ProjectTemplate.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["description"] = state?.description;
|
|
60
|
+
resourceInputs["environments"] = state?.environments;
|
|
61
|
+
resourceInputs["name"] = state?.name;
|
|
62
|
+
resourceInputs["roles"] = state?.roles;
|
|
63
|
+
resourceInputs["type"] = state?.type;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if (args?.type === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'type'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["description"] = args?.description;
|
|
71
|
+
resourceInputs["environments"] = args?.environments;
|
|
72
|
+
resourceInputs["name"] = args?.name;
|
|
73
|
+
resourceInputs["roles"] = args?.roles;
|
|
74
|
+
resourceInputs["type"] = args?.type;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(ProjectTemplate.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ProjectTemplate = ProjectTemplate;
|
|
81
|
+
/** @internal */
|
|
82
|
+
ProjectTemplate.__pulumiType = 'infisical:index/projectTemplate:ProjectTemplate';
|
|
83
|
+
//# sourceMappingURL=projectTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectTemplate.js","sourceRoot":"","sources":["../src/projectTemplate.ts"],"names":[],"mappings":";A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C,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAClH,CAAC;;AAhFL,0CAiFC;AAnEG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class ProjectUser extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing ProjectUser resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectUserState, opts?: pulumi.CustomResourceOptions): ProjectUser;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "infisical:index/projectUser:ProjectUser";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of ProjectUser. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is ProjectUser;
|
|
22
|
+
/**
|
|
23
|
+
* The membershipId of the project user
|
|
24
|
+
*/
|
|
25
|
+
readonly membershipId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The id of the project
|
|
28
|
+
*/
|
|
29
|
+
readonly projectId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The roles assigned to the project user
|
|
32
|
+
*/
|
|
33
|
+
readonly roles: pulumi.Output<outputs.ProjectUserRole[]>;
|
|
34
|
+
/**
|
|
35
|
+
* The user details of the project user
|
|
36
|
+
*/
|
|
37
|
+
readonly user: pulumi.Output<outputs.ProjectUserUser>;
|
|
38
|
+
/**
|
|
39
|
+
* The usename of the user. By default its the email
|
|
40
|
+
*/
|
|
41
|
+
readonly username: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a ProjectUser resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: ProjectUserArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Input properties used for looking up and filtering ProjectUser resources.
|
|
53
|
+
*/
|
|
54
|
+
export interface ProjectUserState {
|
|
55
|
+
/**
|
|
56
|
+
* The membershipId of the project user
|
|
57
|
+
*/
|
|
58
|
+
membershipId?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The id of the project
|
|
61
|
+
*/
|
|
62
|
+
projectId?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The roles assigned to the project user
|
|
65
|
+
*/
|
|
66
|
+
roles?: pulumi.Input<pulumi.Input<inputs.ProjectUserRole>[]>;
|
|
67
|
+
/**
|
|
68
|
+
* The user details of the project user
|
|
69
|
+
*/
|
|
70
|
+
user?: pulumi.Input<inputs.ProjectUserUser>;
|
|
71
|
+
/**
|
|
72
|
+
* The usename of the user. By default its the email
|
|
73
|
+
*/
|
|
74
|
+
username?: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a ProjectUser resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface ProjectUserArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The id of the project
|
|
82
|
+
*/
|
|
83
|
+
projectId: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The roles assigned to the project user
|
|
86
|
+
*/
|
|
87
|
+
roles: pulumi.Input<pulumi.Input<inputs.ProjectUserRole>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* The usename of the user. By default its the email
|
|
90
|
+
*/
|
|
91
|
+
username: pulumi.Input<string>;
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=projectUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectUser.d.ts","sourceRoot":"","sources":["../src/projectUser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAIxI,gBAAgB;IAChB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CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAC5D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ProjectUser = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class ProjectUser extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ProjectUser resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new ProjectUser(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of ProjectUser. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === ProjectUser.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["membershipId"] = state?.membershipId;
|
|
60
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
61
|
+
resourceInputs["roles"] = state?.roles;
|
|
62
|
+
resourceInputs["user"] = state?.user;
|
|
63
|
+
resourceInputs["username"] = state?.username;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'projectId'");
|
|
69
|
+
}
|
|
70
|
+
if (args?.roles === undefined && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'roles'");
|
|
72
|
+
}
|
|
73
|
+
if (args?.username === undefined && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'username'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
77
|
+
resourceInputs["roles"] = args?.roles;
|
|
78
|
+
resourceInputs["username"] = args?.username;
|
|
79
|
+
resourceInputs["membershipId"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["user"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(ProjectUser.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.ProjectUser = ProjectUser;
|
|
87
|
+
/** @internal */
|
|
88
|
+
ProjectUser.__pulumiType = 'infisical:index/projectUser:ProjectUser';
|
|
89
|
+
//# sourceMappingURL=projectUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectUser.js","sourceRoot":"","sources":["../src/projectUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD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