@pulumi/dbtcloud 1.11.8 → 1.11.9-alpha.1791907841

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.
Files changed (89) hide show
  1. package/athenaCredential.d.ts +2 -2
  2. package/athenaCredential.js +2 -2
  3. package/bigQueryCredential.d.ts +3 -3
  4. package/bigQueryCredential.js +3 -3
  5. package/bigquerySemanticLayerCredential.d.ts +3 -3
  6. package/bigquerySemanticLayerCredential.js +3 -3
  7. package/clickhouseCredential.d.ts +2 -2
  8. package/clickhouseCredential.js +2 -2
  9. package/connectionCatalogConfig.d.ts +4 -4
  10. package/connectionCatalogConfig.js +4 -4
  11. package/databricksCredential.d.ts +2 -2
  12. package/databricksCredential.js +2 -2
  13. package/databricksPlatformMetadataCredential.d.ts +2 -2
  14. package/databricksPlatformMetadataCredential.js +2 -2
  15. package/databricksSemanticLayerCredential.d.ts +2 -2
  16. package/databricksSemanticLayerCredential.js +2 -2
  17. package/environment.d.ts +10 -10
  18. package/environment.js +10 -10
  19. package/environmentVariable.d.ts +1 -1
  20. package/environmentVariable.js +1 -1
  21. package/environmentVariableJobOverride.d.ts +2 -2
  22. package/environmentVariableJobOverride.js +2 -2
  23. package/extendedAttributes.d.ts +5 -5
  24. package/extendedAttributes.js +5 -5
  25. package/fabricCredential.d.ts +4 -4
  26. package/fabricCredential.js +4 -4
  27. package/getProject.d.ts +2 -2
  28. package/getProject.js +2 -2
  29. package/getSparkCredential.d.ts +2 -2
  30. package/getSparkCredential.js +2 -2
  31. package/getUsers.d.ts +2 -2
  32. package/getUsers.js +2 -2
  33. package/group.d.ts +1 -1
  34. package/group.js +1 -1
  35. package/groupPartialPermissions.d.ts +4 -4
  36. package/groupPartialPermissions.js +4 -4
  37. package/job.d.ts +3 -3
  38. package/job.js +3 -3
  39. package/lineageIntegration.d.ts +2 -2
  40. package/lineageIntegration.js +2 -2
  41. package/notification.d.ts +1 -1
  42. package/notification.js +1 -1
  43. package/notificationSetting.d.ts +2 -2
  44. package/notificationSetting.js +2 -2
  45. package/openaiIntegration.d.ts +2 -2
  46. package/openaiIntegration.js +2 -2
  47. package/package.json +2 -2
  48. package/postgresCredential.d.ts +2 -2
  49. package/postgresCredential.js +2 -2
  50. package/postgresSemanticLayerCredential.d.ts +2 -2
  51. package/postgresSemanticLayerCredential.js +2 -2
  52. package/profile.d.ts +7 -7
  53. package/profile.js +7 -7
  54. package/projectArtefacts.d.ts +3 -3
  55. package/projectArtefacts.js +3 -3
  56. package/projectRepository.d.ts +2 -2
  57. package/projectRepository.js +2 -2
  58. package/redshiftCredential.d.ts +2 -2
  59. package/redshiftCredential.js +2 -2
  60. package/redshiftSemanticLayerCredential.d.ts +3 -3
  61. package/redshiftSemanticLayerCredential.js +3 -3
  62. package/salesforceCredential.d.ts +2 -2
  63. package/salesforceCredential.js +2 -2
  64. package/scimConfigToken.d.ts +1 -1
  65. package/scimConfigToken.js +1 -1
  66. package/scimGroupPartialPermissions.d.ts +4 -4
  67. package/scimGroupPartialPermissions.js +4 -4
  68. package/semanticLayerConfiguration.d.ts +2 -2
  69. package/semanticLayerConfiguration.js +2 -2
  70. package/semanticLayerCredentialServiceTokenMapping.d.ts +3 -3
  71. package/semanticLayerCredentialServiceTokenMapping.js +3 -3
  72. package/serviceToken.d.ts +1 -1
  73. package/serviceToken.js +1 -1
  74. package/snowflakeCredential.d.ts +2 -2
  75. package/snowflakeCredential.js +2 -2
  76. package/snowflakePlatformMetadataCredential.d.ts +4 -4
  77. package/snowflakePlatformMetadataCredential.js +4 -4
  78. package/snowflakeSemanticLayerCredential.d.ts +4 -4
  79. package/snowflakeSemanticLayerCredential.js +4 -4
  80. package/sparkCredential.d.ts +2 -2
  81. package/sparkCredential.js +2 -2
  82. package/starburstCredential.d.ts +2 -2
  83. package/starburstCredential.js +2 -2
  84. package/synapseCredential.d.ts +5 -5
  85. package/synapseCredential.js +5 -5
  86. package/teradataCredential.d.ts +2 -2
  87. package/teradataCredential.js +2 -2
  88. package/userGroups.d.ts +1 -1
  89. package/userGroups.js +1 -1
package/getProject.js CHANGED
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as dbtcloud from "@pulumi/dbtcloud";
39
39
  *
40
40
  * export = async () => {
41
- * // projects data sources can use the project_id parameter (preferred uniqueness is ensured)
41
+ * // projects functions can use the project_id parameter (preferred uniqueness is ensured)
42
42
  * const projectById = await dbtcloud.getProject({
43
43
  * id: 0,
44
44
  * });
@@ -80,7 +80,7 @@ exports.getProject = getProject;
80
80
  * import * as dbtcloud from "@pulumi/dbtcloud";
81
81
  *
82
82
  * export = async () => {
83
- * // projects data sources can use the project_id parameter (preferred uniqueness is ensured)
83
+ * // projects functions can use the project_id parameter (preferred uniqueness is ensured)
84
84
  * const projectById = await dbtcloud.getProject({
85
85
  * id: 0,
86
86
  * });
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as dbtcloud from "@pulumi/dbtcloud";
10
10
  *
11
11
  * const mySparkCred = dbtcloud.getSparkCredential({
12
- * projectId: Number(dbtProject.id),
12
+ * projectId: dbtProject.id,
13
13
  * credentialId: 12345,
14
14
  * });
15
15
  * ```
@@ -67,7 +67,7 @@ export interface GetSparkCredentialResult {
67
67
  * import * as dbtcloud from "@pulumi/dbtcloud";
68
68
  *
69
69
  * const mySparkCred = dbtcloud.getSparkCredential({
70
- * projectId: Number(dbtProject.id),
70
+ * projectId: dbtProject.id,
71
71
  * credentialId: 12345,
72
72
  * });
73
73
  * ```
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as dbtcloud from "@pulumi/dbtcloud";
39
39
  *
40
40
  * const mySparkCred = dbtcloud.getSparkCredential({
41
- * projectId: Number(dbtProject.id),
41
+ * projectId: dbtProject.id,
42
42
  * credentialId: 12345,
43
43
  * });
44
44
  * ```
@@ -61,7 +61,7 @@ exports.getSparkCredential = getSparkCredential;
61
61
  * import * as dbtcloud from "@pulumi/dbtcloud";
62
62
  *
63
63
  * const mySparkCred = dbtcloud.getSparkCredential({
64
- * projectId: Number(dbtProject.id),
64
+ * projectId: dbtProject.id,
65
65
  * credentialId: 12345,
66
66
  * });
67
67
  * ```
package/getUsers.d.ts CHANGED
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
12
12
  * // return all users in the dbt Cloud account
13
13
  * const all = dbtcloud.getUsers({});
14
14
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
15
- * const userExist = userDetails.length.apply(length => length == 1);
15
+ * const userExist = userDetails.length.then(length => length == 1);
16
16
  * ```
17
17
  */
18
18
  export declare function getUsers(opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
@@ -37,7 +37,7 @@ export interface GetUsersResult {
37
37
  * // return all users in the dbt Cloud account
38
38
  * const all = dbtcloud.getUsers({});
39
39
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
40
- * const userExist = userDetails.length.apply(length => length == 1);
40
+ * const userExist = userDetails.length.then(length => length == 1);
41
41
  * ```
42
42
  */
43
43
  export declare function getUsersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsersResult>;
package/getUsers.js CHANGED
@@ -40,7 +40,7 @@ const utilities = __importStar(require("./utilities"));
40
40
  * // return all users in the dbt Cloud account
41
41
  * const all = dbtcloud.getUsers({});
42
42
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
43
- * const userExist = userDetails.length.apply(length => length == 1);
43
+ * const userExist = userDetails.length.then(length => length == 1);
44
44
  * ```
45
45
  */
46
46
  function getUsers(opts) {
@@ -60,7 +60,7 @@ exports.getUsers = getUsers;
60
60
  * // return all users in the dbt Cloud account
61
61
  * const all = dbtcloud.getUsers({});
62
62
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
63
- * const userExist = userDetails.length.apply(length => length == 1);
63
+ * const userExist = userDetails.length.then(length => length == 1);
64
64
  * ```
65
65
  */
66
66
  function getUsersOutput(opts) {
package/group.d.ts CHANGED
@@ -57,7 +57,7 @@ import * as outputs from "./types/output";
57
57
  * {
58
58
  * permissionSet: "developer",
59
59
  * allProjects: false,
60
- * projectId: Number(dbtProject.id),
60
+ * projectId: dbtProject.id,
61
61
  * writableEnvironmentCategories: [
62
62
  * "development",
63
63
  * "staging",
package/group.js CHANGED
@@ -84,7 +84,7 @@ const utilities = __importStar(require("./utilities"));
84
84
  * {
85
85
  * permissionSet: "developer",
86
86
  * allProjects: false,
87
- * projectId: Number(dbtProject.id),
87
+ * projectId: dbtProject.id,
88
88
  * writableEnvironmentCategories: [
89
89
  * "development",
90
90
  * "staging",
@@ -33,7 +33,7 @@ import * as outputs from "./types/output";
33
33
  * groupPermissions: [
34
34
  * {
35
35
  * permissionSet: "developer",
36
- * projectId: Number(dbtProject.id),
36
+ * projectId: dbtProject.id,
37
37
  * allProjects: false,
38
38
  * writableEnvironmentCategories: [
39
39
  * "development",
@@ -42,19 +42,19 @@ import * as outputs from "./types/output";
42
42
  * },
43
43
  * {
44
44
  * permissionSet: "git_admin",
45
- * projectId: Number(dbtProject.id),
45
+ * projectId: dbtProject.id,
46
46
  * allProjects: false,
47
47
  * },
48
48
  * ],
49
49
  * });
50
50
  * // we add Admin permissions to the group "TF Group 2" (existing or not) to a new project
51
- * // it is possible to add more permissions to the same group name in other Terraform projects/workspaces, using another `dbtcloud_group_partial_permissions` resource
51
+ * // it is possible to add more permissions to the same group name in other Pulumi projects/workspaces, using another `dbtcloud_group_partial_permissions` resource
52
52
  * const tfGroup2 = new dbtcloud.GroupPartialPermissions("tf_group_2", {
53
53
  * name: "TF Group 2",
54
54
  * ssoMappingGroups: ["group2"],
55
55
  * groupPermissions: [{
56
56
  * permissionSet: "admin",
57
- * projectId: Number(dbtProject.id),
57
+ * projectId: dbtProject.id,
58
58
  * allProjects: false,
59
59
  * }],
60
60
  * });
@@ -60,7 +60,7 @@ const utilities = __importStar(require("./utilities"));
60
60
  * groupPermissions: [
61
61
  * {
62
62
  * permissionSet: "developer",
63
- * projectId: Number(dbtProject.id),
63
+ * projectId: dbtProject.id,
64
64
  * allProjects: false,
65
65
  * writableEnvironmentCategories: [
66
66
  * "development",
@@ -69,19 +69,19 @@ const utilities = __importStar(require("./utilities"));
69
69
  * },
70
70
  * {
71
71
  * permissionSet: "git_admin",
72
- * projectId: Number(dbtProject.id),
72
+ * projectId: dbtProject.id,
73
73
  * allProjects: false,
74
74
  * },
75
75
  * ],
76
76
  * });
77
77
  * // we add Admin permissions to the group "TF Group 2" (existing or not) to a new project
78
- * // it is possible to add more permissions to the same group name in other Terraform projects/workspaces, using another `dbtcloud_group_partial_permissions` resource
78
+ * // it is possible to add more permissions to the same group name in other Pulumi projects/workspaces, using another `dbtcloud_group_partial_permissions` resource
79
79
  * const tfGroup2 = new dbtcloud.GroupPartialPermissions("tf_group_2", {
80
80
  * name: "TF Group 2",
81
81
  * ssoMappingGroups: ["group2"],
82
82
  * groupPermissions: [{
83
83
  * permissionSet: "admin",
84
- * projectId: Number(dbtProject.id),
84
+ * projectId: dbtProject.id,
85
85
  * allProjects: false,
86
86
  * }],
87
87
  * });
package/job.d.ts CHANGED
@@ -26,14 +26,14 @@ import * as outputs from "./types/output";
26
26
  * import * as dbtcloud from "@pulumi/dbtcloud";
27
27
  *
28
28
  * // a periodic job, but we trigger it once with `dbt parse` as soon as it is created so we can defer to the environment it is in
29
- * // to do so, we use a local-exec provisioner, just make sure that the machine running Terraform has curl installed
29
+ * // to do so, we use a local-exec provisioner, just make sure that the machine running Pulumi has curl installed
30
30
  * const dailyJob = new dbtcloud.Job("daily_job", {
31
- * environmentId: Number(prodEnvironment.environmentId),
31
+ * environmentId: prodEnvironment.environmentId,
32
32
  * executeSteps: ["dbt build"],
33
33
  * generateDocs: true,
34
34
  * name: "Daily job",
35
35
  * numThreads: 64,
36
- * projectId: Number(dbtProject.id),
36
+ * projectId: dbtProject.id,
37
37
  * runGenerateSources: true,
38
38
  * targetName: "default",
39
39
  * triggers: {
package/job.js CHANGED
@@ -53,14 +53,14 @@ const utilities = __importStar(require("./utilities"));
53
53
  * import * as dbtcloud from "@pulumi/dbtcloud";
54
54
  *
55
55
  * // a periodic job, but we trigger it once with `dbt parse` as soon as it is created so we can defer to the environment it is in
56
- * // to do so, we use a local-exec provisioner, just make sure that the machine running Terraform has curl installed
56
+ * // to do so, we use a local-exec provisioner, just make sure that the machine running Pulumi has curl installed
57
57
  * const dailyJob = new dbtcloud.Job("daily_job", {
58
- * environmentId: Number(prodEnvironment.environmentId),
58
+ * environmentId: prodEnvironment.environmentId,
59
59
  * executeSteps: ["dbt build"],
60
60
  * generateDocs: true,
61
61
  * name: "Daily job",
62
62
  * numThreads: 64,
63
- * projectId: Number(dbtProject.id),
63
+ * projectId: dbtProject.id,
64
64
  * runGenerateSources: true,
65
65
  * targetName: "default",
66
66
  * triggers: {
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  * // so, you might want to explicitly set the dependency on your Prod environment resource
15
15
  * // Using the classic sensitive attribute (stored in state)
16
16
  * const myLineage = new dbtcloud.LineageIntegration("my_lineage", {
17
- * projectId: Number(myProject.id),
17
+ * projectId: myProject.id,
18
18
  * host: "my.host.com",
19
19
  * siteId: "mysiteid",
20
20
  * tokenName: "my-token-name",
@@ -25,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
25
25
  * const config = new pulumi.Config();
26
26
  * const lineageToken = config.require("lineageToken");
27
27
  * const myLineageWo = new dbtcloud.LineageIntegration("my_lineage_wo", {
28
- * projectId: Number(myProject.id),
28
+ * projectId: myProject.id,
29
29
  * host: "my.host.com",
30
30
  * siteId: "mysiteid",
31
31
  * tokenName: "my-token-name",
@@ -43,7 +43,7 @@ const utilities = __importStar(require("./utilities"));
43
43
  * // so, you might want to explicitly set the dependency on your Prod environment resource
44
44
  * // Using the classic sensitive attribute (stored in state)
45
45
  * const myLineage = new dbtcloud.LineageIntegration("my_lineage", {
46
- * projectId: Number(myProject.id),
46
+ * projectId: myProject.id,
47
47
  * host: "my.host.com",
48
48
  * siteId: "mysiteid",
49
49
  * tokenName: "my-token-name",
@@ -54,7 +54,7 @@ const utilities = __importStar(require("./utilities"));
54
54
  * const config = new pulumi.Config();
55
55
  * const lineageToken = config.require("lineageToken");
56
56
  * const myLineageWo = new dbtcloud.LineageIntegration("my_lineage_wo", {
57
- * projectId: Number(myProject.id),
57
+ * projectId: myProject.id,
58
58
  * host: "my.host.com",
59
59
  * siteId: "mysiteid",
60
60
  * tokenName: "my-token-name",
package/notification.d.ts CHANGED
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  * // those first into the state file before you can create a new internal notification for that user.
17
17
  * // Failure to do so, will result in the user losing access to existing notifications and dbt
18
18
  * // support will need to be contacted to restore access.
19
- * // cmd: terraform import dbtcloud_notification.prod_job_internal_notification <user_id>
19
+ * // cmd: pulumi import dbtcloud_notification.prod_job_internal_notification <user_id>
20
20
  * const prodJobInternalNotification = new dbtcloud.Notification("prod_job_internal_notification", {
21
21
  * userId: 100,
22
22
  * onSuccesses: [prodJob.id],
package/notification.js CHANGED
@@ -45,7 +45,7 @@ const utilities = __importStar(require("./utilities"));
45
45
  * // those first into the state file before you can create a new internal notification for that user.
46
46
  * // Failure to do so, will result in the user losing access to existing notifications and dbt
47
47
  * // support will need to be contacted to restore access.
48
- * // cmd: terraform import dbtcloud_notification.prod_job_internal_notification <user_id>
48
+ * // cmd: pulumi import dbtcloud_notification.prod_job_internal_notification <user_id>
49
49
  * const prodJobInternalNotification = new dbtcloud.Notification("prod_job_internal_notification", {
50
50
  * userId: 100,
51
51
  * onSuccesses: [prodJob.id],
@@ -31,11 +31,11 @@ import * as outputs from "./types/output";
31
31
  * rules: [
32
32
  * {
33
33
  * triggerOn: "run_errored",
34
- * jobId: Number(prodJob.id),
34
+ * jobId: prodJob.id,
35
35
  * },
36
36
  * {
37
37
  * triggerOn: "run_cancelled",
38
- * jobId: Number(prodJob.id),
38
+ * jobId: prodJob.id,
39
39
  * },
40
40
  * ],
41
41
  * });
@@ -58,11 +58,11 @@ const utilities = __importStar(require("./utilities"));
58
58
  * rules: [
59
59
  * {
60
60
  * triggerOn: "run_errored",
61
- * jobId: Number(prodJob.id),
61
+ * jobId: prodJob.id,
62
62
  * },
63
63
  * {
64
64
  * triggerOn: "run_cancelled",
65
- * jobId: Number(prodJob.id),
65
+ * jobId: prodJob.id,
66
66
  * },
67
67
  * ],
68
68
  * });
@@ -17,13 +17,13 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as dbtcloud from "@pulumi/dbtcloud";
18
18
  *
19
19
  * // Use a native OpenAI API key.
20
- * // Recommended: write-only (Terraform 1.11+) — the key is never stored in state.
20
+ * // Recommended: write-only (Pulumi 1.11+) — the key is never stored in state.
21
21
  * const openai = new dbtcloud.OpenaiIntegration("openai", {
22
22
  * keyType: "openai",
23
23
  * keyValueWo: openaiApiKey,
24
24
  * keyValueWoVersion: 1,
25
25
  * });
26
- * // For older Terraform versions, use key_value instead — stored as a sensitive value in state.
26
+ * // For older Pulumi versions, use key_value instead — stored as a sensitive value in state.
27
27
  * // resource "dbtcloud_openai_integration" "openai" {
28
28
  * // key_type = "openai"
29
29
  * // key_value = var.openai_api_key
@@ -46,13 +46,13 @@ const utilities = __importStar(require("./utilities"));
46
46
  * import * as dbtcloud from "@pulumi/dbtcloud";
47
47
  *
48
48
  * // Use a native OpenAI API key.
49
- * // Recommended: write-only (Terraform 1.11+) — the key is never stored in state.
49
+ * // Recommended: write-only (Pulumi 1.11+) — the key is never stored in state.
50
50
  * const openai = new dbtcloud.OpenaiIntegration("openai", {
51
51
  * keyType: "openai",
52
52
  * keyValueWo: openaiApiKey,
53
53
  * keyValueWoVersion: 1,
54
54
  * });
55
- * // For older Terraform versions, use key_value instead — stored as a sensitive value in state.
55
+ * // For older Pulumi versions, use key_value instead — stored as a sensitive value in state.
56
56
  * // resource "dbtcloud_openai_integration" "openai" {
57
57
  * // key_type = "openai"
58
58
  * // key_value = var.openai_api_key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/dbtcloud",
3
- "version": "1.11.8",
3
+ "version": "1.11.9-alpha.1791907841",
4
4
  "description": "A Pulumi package for creating and managing dbt Cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -26,7 +26,7 @@
26
26
  "pulumi": {
27
27
  "resource": true,
28
28
  "name": "dbtcloud",
29
- "version": "1.11.8",
29
+ "version": "1.11.9-alpha.1791907841",
30
30
  "server": "github://api.github.com/pulumi/pulumi-dbtcloud"
31
31
  }
32
32
  }
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * // Using the classic sensitive attribute (stored in state)
12
12
  * const postgresProdCredential = new dbtcloud.PostgresCredential("postgres_prod_credential", {
13
13
  * isActive: true,
14
- * projectId: Number(dbtProject.id),
14
+ * projectId: dbtProject.id,
15
15
  * type: "postgres",
16
16
  * defaultSchema: "my_schema",
17
17
  * username: "my_username",
@@ -22,7 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
22
22
  * const postgresPassword = config.require("postgresPassword");
23
23
  * const postgresProdCredentialWo = new dbtcloud.PostgresCredential("postgres_prod_credential_wo", {
24
24
  * isActive: true,
25
- * projectId: Number(dbtProject.id),
25
+ * projectId: dbtProject.id,
26
26
  * type: "postgres",
27
27
  * defaultSchema: "my_schema",
28
28
  * username: "my_username",
@@ -40,7 +40,7 @@ const utilities = __importStar(require("./utilities"));
40
40
  * // Using the classic sensitive attribute (stored in state)
41
41
  * const postgresProdCredential = new dbtcloud.PostgresCredential("postgres_prod_credential", {
42
42
  * isActive: true,
43
- * projectId: Number(dbtProject.id),
43
+ * projectId: dbtProject.id,
44
44
  * type: "postgres",
45
45
  * defaultSchema: "my_schema",
46
46
  * username: "my_username",
@@ -51,7 +51,7 @@ const utilities = __importStar(require("./utilities"));
51
51
  * const postgresPassword = config.require("postgresPassword");
52
52
  * const postgresProdCredentialWo = new dbtcloud.PostgresCredential("postgres_prod_credential_wo", {
53
53
  * isActive: true,
54
- * projectId: Number(dbtProject.id),
54
+ * projectId: dbtProject.id,
55
55
  * type: "postgres",
56
56
  * defaultSchema: "my_schema",
57
57
  * username: "my_username",
@@ -12,12 +12,12 @@ import * as outputs from "./types/output";
12
12
  *
13
13
  * const testPostgresSemanticLayerCredential = new dbtcloud.PostgresSemanticLayerCredential("test_postgres_semantic_layer_credential", {
14
14
  * configuration: {
15
- * projectId: Number(projectId),
15
+ * projectId: projectId,
16
16
  * name: "Postgres SL Credential",
17
17
  * adapterVersion: "postgres_v0",
18
18
  * },
19
19
  * credential: {
20
- * projectId: Number(projectId),
20
+ * projectId: projectId,
21
21
  * username: username,
22
22
  * password: password,
23
23
  * semanticLayerCredential: true,
@@ -39,12 +39,12 @@ const utilities = __importStar(require("./utilities"));
39
39
  *
40
40
  * const testPostgresSemanticLayerCredential = new dbtcloud.PostgresSemanticLayerCredential("test_postgres_semantic_layer_credential", {
41
41
  * configuration: {
42
- * projectId: Number(projectId),
42
+ * projectId: projectId,
43
43
  * name: "Postgres SL Credential",
44
44
  * adapterVersion: "postgres_v0",
45
45
  * },
46
46
  * credential: {
47
- * projectId: Number(projectId),
47
+ * projectId: projectId,
48
48
  * username: username,
49
49
  * password: password,
50
50
  * semanticLayerCredential: true,
package/profile.d.ts CHANGED
@@ -10,18 +10,18 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * // A profile ties together a connection and credentials for use within environments.
12
12
  * const myProfile = new dbtcloud.Profile("my_profile", {
13
- * projectId: Number(myProject.id),
13
+ * projectId: myProject.id,
14
14
  * key: "my-profile",
15
- * connectionId: Number(myConnection.id),
16
- * credentialsId: Number(myCredential.credentialId),
15
+ * connectionId: myConnection.id,
16
+ * credentialsId: myCredential.credentialId,
17
17
  * });
18
18
  * // A profile with extended attributes
19
19
  * const myProfileWithAttrs = new dbtcloud.Profile("my_profile_with_attrs", {
20
- * projectId: Number(myProject.id),
20
+ * projectId: myProject.id,
21
21
  * key: "my-profile-with-attrs",
22
- * connectionId: Number(myConnection.id),
23
- * credentialsId: Number(myCredential.credentialId),
24
- * extendedAttributesId: Number(myAttributes.extendedAttributesId),
22
+ * connectionId: myConnection.id,
23
+ * credentialsId: myCredential.credentialId,
24
+ * extendedAttributesId: myAttributes.extendedAttributesId,
25
25
  * });
26
26
  * ```
27
27
  *
package/profile.js CHANGED
@@ -39,18 +39,18 @@ const utilities = __importStar(require("./utilities"));
39
39
  *
40
40
  * // A profile ties together a connection and credentials for use within environments.
41
41
  * const myProfile = new dbtcloud.Profile("my_profile", {
42
- * projectId: Number(myProject.id),
42
+ * projectId: myProject.id,
43
43
  * key: "my-profile",
44
- * connectionId: Number(myConnection.id),
45
- * credentialsId: Number(myCredential.credentialId),
44
+ * connectionId: myConnection.id,
45
+ * credentialsId: myCredential.credentialId,
46
46
  * });
47
47
  * // A profile with extended attributes
48
48
  * const myProfileWithAttrs = new dbtcloud.Profile("my_profile_with_attrs", {
49
- * projectId: Number(myProject.id),
49
+ * projectId: myProject.id,
50
50
  * key: "my-profile-with-attrs",
51
- * connectionId: Number(myConnection.id),
52
- * credentialsId: Number(myCredential.credentialId),
53
- * extendedAttributesId: Number(myAttributes.extendedAttributesId),
51
+ * connectionId: myConnection.id,
52
+ * credentialsId: myCredential.credentialId,
53
+ * extendedAttributesId: myAttributes.extendedAttributesId,
54
54
  * });
55
55
  * ```
56
56
  *
@@ -9,9 +9,9 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as dbtcloud from "@pulumi/dbtcloud";
10
10
  *
11
11
  * const myProjectArtefacts = new dbtcloud.ProjectArtefacts("my_project_artefacts", {
12
- * projectId: Number(dbtProject.id),
13
- * docsJobId: Number(prodJob.id),
14
- * freshnessJobId: Number(prodJob.id),
12
+ * projectId: dbtProject.id,
13
+ * docsJobId: prodJob.id,
14
+ * freshnessJobId: prodJob.id,
15
15
  * });
16
16
  * ```
17
17
  *
@@ -38,9 +38,9 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as dbtcloud from "@pulumi/dbtcloud";
39
39
  *
40
40
  * const myProjectArtefacts = new dbtcloud.ProjectArtefacts("my_project_artefacts", {
41
- * projectId: Number(dbtProject.id),
42
- * docsJobId: Number(prodJob.id),
43
- * freshnessJobId: Number(prodJob.id),
41
+ * projectId: dbtProject.id,
42
+ * docsJobId: prodJob.id,
43
+ * freshnessJobId: prodJob.id,
44
44
  * });
45
45
  * ```
46
46
  *
@@ -9,8 +9,8 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as dbtcloud from "@pulumi/dbtcloud";
10
10
  *
11
11
  * const dbtProjectRepository = new dbtcloud.ProjectRepository("dbt_project_repository", {
12
- * projectId: Number(dbtProject.id),
13
- * repositoryId: Number(dbtRepository.repositoryId),
12
+ * projectId: dbtProject.id,
13
+ * repositoryId: dbtRepository.repositoryId,
14
14
  * });
15
15
  * ```
16
16
  *
@@ -38,8 +38,8 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as dbtcloud from "@pulumi/dbtcloud";
39
39
  *
40
40
  * const dbtProjectRepository = new dbtcloud.ProjectRepository("dbt_project_repository", {
41
- * projectId: Number(dbtProject.id),
42
- * repositoryId: Number(dbtRepository.repositoryId),
41
+ * projectId: dbtProject.id,
42
+ * repositoryId: dbtRepository.repositoryId,
43
43
  * });
44
44
  * ```
45
45
  *
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * // Using the classic sensitive attribute (stored in state)
12
12
  * const redshift = new dbtcloud.RedshiftCredential("redshift", {
13
13
  * numThreads: 16,
14
- * projectId: Number(testProject.id),
14
+ * projectId: testProject.id,
15
15
  * defaultSchema: "my_schema",
16
16
  * username: "my_username",
17
17
  * password: "my_sensitive_password",
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * const redshiftPassword = config.require("redshiftPassword");
22
22
  * const redshiftWo = new dbtcloud.RedshiftCredential("redshift_wo", {
23
23
  * numThreads: 16,
24
- * projectId: Number(testProject.id),
24
+ * projectId: testProject.id,
25
25
  * defaultSchema: "my_schema",
26
26
  * username: "my_username",
27
27
  * passwordWo: redshiftPassword,
@@ -40,7 +40,7 @@ const utilities = __importStar(require("./utilities"));
40
40
  * // Using the classic sensitive attribute (stored in state)
41
41
  * const redshift = new dbtcloud.RedshiftCredential("redshift", {
42
42
  * numThreads: 16,
43
- * projectId: Number(testProject.id),
43
+ * projectId: testProject.id,
44
44
  * defaultSchema: "my_schema",
45
45
  * username: "my_username",
46
46
  * password: "my_sensitive_password",
@@ -50,7 +50,7 @@ const utilities = __importStar(require("./utilities"));
50
50
  * const redshiftPassword = config.require("redshiftPassword");
51
51
  * const redshiftWo = new dbtcloud.RedshiftCredential("redshift_wo", {
52
52
  * numThreads: 16,
53
- * projectId: Number(testProject.id),
53
+ * projectId: testProject.id,
54
54
  * defaultSchema: "my_schema",
55
55
  * username: "my_username",
56
56
  * passwordWo: redshiftPassword,
@@ -12,16 +12,16 @@ import * as outputs from "./types/output";
12
12
  *
13
13
  * const testRedshiftSemanticLayerCredential = new dbtcloud.RedshiftSemanticLayerCredential("test_redshift_semantic_layer_credential", {
14
14
  * configuration: {
15
- * projectId: Number(projectId),
15
+ * projectId: projectId,
16
16
  * name: "Redshift SL Credential",
17
17
  * adapterVersion: "redshift_v0",
18
18
  * },
19
19
  * credential: {
20
- * projectId: Number(projectId),
20
+ * projectId: projectId,
21
21
  * username: username,
22
22
  * isActive: true,
23
23
  * password: password,
24
- * numThreads: Number(numThreads),
24
+ * numThreads: numThreads,
25
25
  * defaultSchema: defaultSchema,
26
26
  * },
27
27
  * });
@@ -39,16 +39,16 @@ const utilities = __importStar(require("./utilities"));
39
39
  *
40
40
  * const testRedshiftSemanticLayerCredential = new dbtcloud.RedshiftSemanticLayerCredential("test_redshift_semantic_layer_credential", {
41
41
  * configuration: {
42
- * projectId: Number(projectId),
42
+ * projectId: projectId,
43
43
  * name: "Redshift SL Credential",
44
44
  * adapterVersion: "redshift_v0",
45
45
  * },
46
46
  * credential: {
47
- * projectId: Number(projectId),
47
+ * projectId: projectId,
48
48
  * username: username,
49
49
  * isActive: true,
50
50
  * password: password,
51
- * numThreads: Number(numThreads),
51
+ * numThreads: numThreads,
52
52
  * defaultSchema: defaultSchema,
53
53
  * },
54
54
  * });
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * // Using the classic sensitive attributes (stored in state)
12
12
  * const mySalesforceCred = new dbtcloud.SalesforceCredential("my_salesforce_cred", {
13
- * projectId: Number(dbtProject.id),
13
+ * projectId: dbtProject.id,
14
14
  * username: "user@example.com",
15
15
  * clientId: "your-oauth-client-id",
16
16
  * privateKey: "private-key value",
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * const salesforceClientId = config.require("salesforceClientId");
22
22
  * const salesforcePrivateKey = config.require("salesforcePrivateKey");
23
23
  * const mySalesforceCredWo = new dbtcloud.SalesforceCredential("my_salesforce_cred_wo", {
24
- * projectId: Number(dbtProject.id),
24
+ * projectId: dbtProject.id,
25
25
  * username: "user@example.com",
26
26
  * clientIdWo: salesforceClientId,
27
27
  * clientIdWoVersion: 1,