@pulumi/newrelic 5.57.1 → 5.57.2
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.
|
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
*
|
|
16
16
|
* ### Workload Identity Federation (WIF) Attributes
|
|
17
17
|
*
|
|
18
|
-
* The following arguments rely on an OCI Identity Domain OAuth2 client set up for workload identity federation (identity propagation): `ociClientId`, `ociClientSecret
|
|
18
|
+
* The following arguments rely on an OCI Identity Domain OAuth2 client set up for workload identity federation (identity propagation): `ociClientId`, `ociClientSecret` and `ociDomainUrl`.
|
|
19
19
|
*
|
|
20
20
|
* To create and retrieve these values, follow Oracle's guidance for configuring identity propagation / JWT token exchange:
|
|
21
21
|
*
|
|
@@ -25,8 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
25
|
* 1. Create (or identify) an Identity Domain and register an OAuth2 confidential application (client) to represent New Relic ingestion.
|
|
26
26
|
* 2. Generate / record the client ID (`ociClientId`) and client secret (`ociClientSecret`). Store the secret securely (e.g., in OCI Vault; reference its OCID via `ingestVaultOcid` / `userVaultOcid` if desired).
|
|
27
27
|
* 3. Use the Identity Domain base URL as `ociDomainUrl` (format: `https://idcs-<hash>.identity.oraclecloud.com`).
|
|
28
|
-
* 4.
|
|
29
|
-
* 5. Ensure the client has the required scopes and the tenancy policies allow the token exchange.
|
|
28
|
+
* 4. Ensure the client has the required scopes and the tenancy policies allow the token exchange.
|
|
30
29
|
*
|
|
31
30
|
* > TIP: Rotating the OAuth2 client secret only requires updating `ociClientSecret`; it does not force resource replacement.
|
|
32
31
|
*
|
|
@@ -47,7 +46,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
47
46
|
* ociClientSecret: ociClientSecret,
|
|
48
47
|
* ociDomainUrl: "https://idcs-1234567890abcdef.identity.oraclecloud.com",
|
|
49
48
|
* ociHomeRegion: "us-ashburn-1",
|
|
50
|
-
* ociSvcUserName: "svc-newrelic-collector",
|
|
51
49
|
* });
|
|
52
50
|
* ```
|
|
53
51
|
*
|
|
@@ -65,7 +63,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
65
63
|
* ociClientSecret: ociClientSecret,
|
|
66
64
|
* ociDomainUrl: "https://idcs-1234567890abcdef.identity.oraclecloud.com",
|
|
67
65
|
* ociHomeRegion: "us-ashburn-1",
|
|
68
|
-
* ociSvcUserName: "svc-newrelic-collector",
|
|
69
66
|
* ingestVaultOcid: "ocid1.vaultsecret.oc1..ccccccccexample",
|
|
70
67
|
* userVaultOcid: "ocid1.vaultsecret.oc1..ddddddddexample",
|
|
71
68
|
* instrumentationType: "METRICS,LOGS",
|
|
@@ -149,10 +146,6 @@ export declare class OciLinkAccount extends pulumi.CustomResource {
|
|
|
149
146
|
* OCI region for the linkage (ignored on create, applied on update).
|
|
150
147
|
*/
|
|
151
148
|
readonly ociRegion: pulumi.Output<string | undefined>;
|
|
152
|
-
/**
|
|
153
|
-
* Service user name associated with the WIF configuration.
|
|
154
|
-
*/
|
|
155
|
-
readonly ociSvcUserName: pulumi.Output<string>;
|
|
156
149
|
/**
|
|
157
150
|
* OCI tenancy OCID (root tenancy). Changing forces a new linked account.
|
|
158
151
|
*/
|
|
@@ -222,10 +215,6 @@ export interface OciLinkAccountState {
|
|
|
222
215
|
* OCI region for the linkage (ignored on create, applied on update).
|
|
223
216
|
*/
|
|
224
217
|
ociRegion?: pulumi.Input<string>;
|
|
225
|
-
/**
|
|
226
|
-
* Service user name associated with the WIF configuration.
|
|
227
|
-
*/
|
|
228
|
-
ociSvcUserName?: pulumi.Input<string>;
|
|
229
218
|
/**
|
|
230
219
|
* OCI tenancy OCID (root tenancy). Changing forces a new linked account.
|
|
231
220
|
*/
|
|
@@ -287,10 +276,6 @@ export interface OciLinkAccountArgs {
|
|
|
287
276
|
* OCI region for the linkage (ignored on create, applied on update).
|
|
288
277
|
*/
|
|
289
278
|
ociRegion?: pulumi.Input<string>;
|
|
290
|
-
/**
|
|
291
|
-
* Service user name associated with the WIF configuration.
|
|
292
|
-
*/
|
|
293
|
-
ociSvcUserName: pulumi.Input<string>;
|
|
294
279
|
/**
|
|
295
280
|
* OCI tenancy OCID (root tenancy). Changing forces a new linked account.
|
|
296
281
|
*/
|
package/cloud/ociLinkAccount.js
CHANGED
|
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
|
|
|
21
21
|
*
|
|
22
22
|
* ### Workload Identity Federation (WIF) Attributes
|
|
23
23
|
*
|
|
24
|
-
* The following arguments rely on an OCI Identity Domain OAuth2 client set up for workload identity federation (identity propagation): `ociClientId`, `ociClientSecret
|
|
24
|
+
* The following arguments rely on an OCI Identity Domain OAuth2 client set up for workload identity federation (identity propagation): `ociClientId`, `ociClientSecret` and `ociDomainUrl`.
|
|
25
25
|
*
|
|
26
26
|
* To create and retrieve these values, follow Oracle's guidance for configuring identity propagation / JWT token exchange:
|
|
27
27
|
*
|
|
@@ -31,8 +31,7 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* 1. Create (or identify) an Identity Domain and register an OAuth2 confidential application (client) to represent New Relic ingestion.
|
|
32
32
|
* 2. Generate / record the client ID (`ociClientId`) and client secret (`ociClientSecret`). Store the secret securely (e.g., in OCI Vault; reference its OCID via `ingestVaultOcid` / `userVaultOcid` if desired).
|
|
33
33
|
* 3. Use the Identity Domain base URL as `ociDomainUrl` (format: `https://idcs-<hash>.identity.oraclecloud.com`).
|
|
34
|
-
* 4.
|
|
35
|
-
* 5. Ensure the client has the required scopes and the tenancy policies allow the token exchange.
|
|
34
|
+
* 4. Ensure the client has the required scopes and the tenancy policies allow the token exchange.
|
|
36
35
|
*
|
|
37
36
|
* > TIP: Rotating the OAuth2 client secret only requires updating `ociClientSecret`; it does not force resource replacement.
|
|
38
37
|
*
|
|
@@ -53,7 +52,6 @@ const utilities = require("../utilities");
|
|
|
53
52
|
* ociClientSecret: ociClientSecret,
|
|
54
53
|
* ociDomainUrl: "https://idcs-1234567890abcdef.identity.oraclecloud.com",
|
|
55
54
|
* ociHomeRegion: "us-ashburn-1",
|
|
56
|
-
* ociSvcUserName: "svc-newrelic-collector",
|
|
57
55
|
* });
|
|
58
56
|
* ```
|
|
59
57
|
*
|
|
@@ -71,7 +69,6 @@ const utilities = require("../utilities");
|
|
|
71
69
|
* ociClientSecret: ociClientSecret,
|
|
72
70
|
* ociDomainUrl: "https://idcs-1234567890abcdef.identity.oraclecloud.com",
|
|
73
71
|
* ociHomeRegion: "us-ashburn-1",
|
|
74
|
-
* ociSvcUserName: "svc-newrelic-collector",
|
|
75
72
|
* ingestVaultOcid: "ocid1.vaultsecret.oc1..ccccccccexample",
|
|
76
73
|
* userVaultOcid: "ocid1.vaultsecret.oc1..ddddddddexample",
|
|
77
74
|
* instrumentationType: "METRICS,LOGS",
|
|
@@ -131,7 +128,6 @@ class OciLinkAccount extends pulumi.CustomResource {
|
|
|
131
128
|
resourceInputs["ociDomainUrl"] = state?.ociDomainUrl;
|
|
132
129
|
resourceInputs["ociHomeRegion"] = state?.ociHomeRegion;
|
|
133
130
|
resourceInputs["ociRegion"] = state?.ociRegion;
|
|
134
|
-
resourceInputs["ociSvcUserName"] = state?.ociSvcUserName;
|
|
135
131
|
resourceInputs["tenantId"] = state?.tenantId;
|
|
136
132
|
resourceInputs["userVaultOcid"] = state?.userVaultOcid;
|
|
137
133
|
}
|
|
@@ -152,9 +148,6 @@ class OciLinkAccount extends pulumi.CustomResource {
|
|
|
152
148
|
if (args?.ociHomeRegion === undefined && !opts.urn) {
|
|
153
149
|
throw new Error("Missing required property 'ociHomeRegion'");
|
|
154
150
|
}
|
|
155
|
-
if (args?.ociSvcUserName === undefined && !opts.urn) {
|
|
156
|
-
throw new Error("Missing required property 'ociSvcUserName'");
|
|
157
|
-
}
|
|
158
151
|
if (args?.tenantId === undefined && !opts.urn) {
|
|
159
152
|
throw new Error("Missing required property 'tenantId'");
|
|
160
153
|
}
|
|
@@ -170,7 +163,6 @@ class OciLinkAccount extends pulumi.CustomResource {
|
|
|
170
163
|
resourceInputs["ociDomainUrl"] = args?.ociDomainUrl;
|
|
171
164
|
resourceInputs["ociHomeRegion"] = args?.ociHomeRegion;
|
|
172
165
|
resourceInputs["ociRegion"] = args?.ociRegion;
|
|
173
|
-
resourceInputs["ociSvcUserName"] = args?.ociSvcUserName;
|
|
174
166
|
resourceInputs["tenantId"] = args?.tenantId;
|
|
175
167
|
resourceInputs["userVaultOcid"] = args?.userVaultOcid;
|
|
176
168
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ociLinkAccount.js","sourceRoot":"","sources":["../../cloud/ociLinkAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"ociLinkAccount.js","sourceRoot":"","sources":["../../cloud/ociLinkAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;I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B,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5G,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAvJL,wCAwJC;AA1IG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "5.57.
|
|
3
|
+
"version": "5.57.2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing New Relic resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "newrelic",
|
|
26
|
-
"version": "5.57.
|
|
26
|
+
"version": "5.57.2"
|
|
27
27
|
}
|
|
28
28
|
}
|