@pulumi/harness 0.16.7 → 0.16.8
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/autostopping/alert.d.ts +2 -2
- package/autostopping/alert.js +2 -2
- package/autostopping/gcpProxy.d.ts +4 -4
- package/autostopping/gcpProxy.js +4 -4
- package/autostopping/ruleEcs.d.ts +4 -4
- package/autostopping/ruleEcs.js +4 -4
- package/autostopping/ruleRds.d.ts +5 -5
- package/autostopping/ruleRds.js +5 -5
- package/autostopping/ruleScaleGroup.d.ts +12 -12
- package/autostopping/ruleScaleGroup.js +12 -12
- package/autostopping/ruleVm.d.ts +22 -22
- package/autostopping/ruleVm.js +22 -22
- package/chaos/actionTemplate.d.ts +55 -55
- package/chaos/actionTemplate.js +55 -55
- package/chaos/experimentTemplate.d.ts +84 -84
- package/chaos/experimentTemplate.js +84 -84
- package/chaos/faultTemplate.d.ts +124 -124
- package/chaos/faultTemplate.js +124 -124
- package/chaos/imageRegistry.d.ts +6 -6
- package/chaos/imageRegistry.js +6 -6
- package/chaos/securityGovernanceCondition.d.ts +19 -19
- package/chaos/securityGovernanceCondition.js +19 -19
- package/chaos/securityGovernanceConditionV3.d.ts +13 -13
- package/chaos/securityGovernanceConditionV3.js +13 -13
- package/chaos/securityGovernanceRule.d.ts +21 -21
- package/chaos/securityGovernanceRule.js +21 -21
- package/chaos/securityGovernanceRuleV3.d.ts +9 -9
- package/chaos/securityGovernanceRuleV3.js +9 -9
- package/cluster/orchestrator.d.ts +1 -1
- package/cluster/orchestrator.js +1 -1
- package/cluster/orchestratorConfig.d.ts +9 -9
- package/cluster/orchestratorConfig.js +9 -9
- package/encryptedText.d.ts +3 -3
- package/encryptedText.js +3 -3
- package/environment.d.ts +7 -7
- package/environment.js +7 -7
- package/infrastructureDefinition.d.ts +13 -13
- package/infrastructureDefinition.js +13 -13
- package/package.json +2 -2
- package/platform/appDynamicsConnector.d.ts +8 -8
- package/platform/appDynamicsConnector.js +8 -8
- package/platform/artifactoryConnector.d.ts +12 -12
- package/platform/artifactoryConnector.js +12 -12
- package/platform/awsCCConnector.d.ts +4 -4
- package/platform/awsCCConnector.js +4 -4
- package/platform/azureCloudCostConnector.d.ts +12 -12
- package/platform/azureCloudCostConnector.js +12 -12
- package/platform/azureCloudProviderConnector.d.ts +31 -31
- package/platform/azureCloudProviderConnector.js +31 -31
- package/platform/bitbucketConnector.d.ts +27 -27
- package/platform/bitbucketConnector.js +27 -27
- package/platform/connectorCustomhealthsource.d.ts +6 -6
- package/platform/connectorCustomhealthsource.js +6 -6
- package/platform/connectorGcpKms.d.ts +15 -15
- package/platform/connectorGcpKms.js +15 -15
- package/platform/connectorRancher.d.ts +3 -3
- package/platform/connectorRancher.js +3 -3
- package/platform/dbSchema.d.ts +32 -32
- package/platform/dbSchema.js +32 -32
- package/platform/elasticsearchConnector.d.ts +8 -8
- package/platform/elasticsearchConnector.js +8 -8
- package/platform/environment.d.ts +11 -11
- package/platform/environment.js +11 -11
- package/platform/environmentClustersMapping.d.ts +6 -6
- package/platform/environmentClustersMapping.js +6 -6
- package/platform/filters.d.ts +4 -4
- package/platform/filters.js +4 -4
- package/platform/gcpCloudCostConnector.d.ts +4 -4
- package/platform/gcpCloudCostConnector.js +4 -4
- package/platform/gcpSecretManagerConnector.d.ts +8 -8
- package/platform/gcpSecretManagerConnector.js +8 -8
- package/platform/getEnvironmentClustersMapping.d.ts +12 -12
- package/platform/getEnvironmentClustersMapping.js +12 -12
- package/platform/getPolicySet.d.ts +8 -8
- package/platform/getPolicySet.js +8 -8
- package/platform/gitOpsAgent.d.ts +4 -4
- package/platform/gitOpsAgent.js +4 -4
- package/platform/gitOpsApplications.d.ts +9 -9
- package/platform/gitOpsApplications.js +9 -9
- package/platform/gitOpsGnupg.d.ts +3 -3
- package/platform/gitOpsGnupg.js +3 -3
- package/platform/gitOpsRepoCert.d.ts +1 -1
- package/platform/gitOpsRepoCert.js +1 -1
- package/platform/gitOpsRepoCred.d.ts +5 -5
- package/platform/gitOpsRepoCred.js +5 -5
- package/platform/gitopsAppProjectMapping.d.ts +12 -0
- package/platform/gitopsAppProjectMapping.d.ts.map +1 -1
- package/platform/gitopsAppProjectMapping.js +2 -0
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsApplicationset.d.ts +59 -59
- package/platform/gitopsApplicationset.js +59 -59
- package/platform/harLifecycleRule.d.ts +20 -20
- package/platform/harLifecycleRule.js +20 -20
- package/platform/harRegistry.d.ts +69 -69
- package/platform/harRegistry.js +69 -69
- package/platform/iacmAnsibleInventory.d.ts +11 -11
- package/platform/iacmAnsibleInventory.js +11 -11
- package/platform/iacmAnsiblePlaybook.d.ts +10 -10
- package/platform/iacmAnsiblePlaybook.js +10 -10
- package/platform/idpScorecard.d.ts +14 -14
- package/platform/idpScorecard.js +14 -14
- package/platform/idpScorecardCheck.d.ts +9 -9
- package/platform/idpScorecardCheck.js +9 -9
- package/platform/infraVariableSet.d.ts +21 -21
- package/platform/infraVariableSet.js +21 -21
- package/platform/infrastructure.d.ts +7 -7
- package/platform/infrastructure.js +7 -7
- package/platform/kubernetesConnector.d.ts +17 -17
- package/platform/kubernetesConnector.js +17 -17
- package/platform/monitoredService.d.ts +123 -123
- package/platform/monitoredService.js +123 -123
- package/platform/notificationRule.d.ts +10 -10
- package/platform/notificationRule.js +10 -10
- package/platform/pipeline.d.ts +9 -9
- package/platform/pipeline.js +9 -9
- package/platform/pipelineCentralNotificationRule.d.ts +22 -22
- package/platform/pipelineCentralNotificationRule.js +22 -22
- package/platform/pipelineFilters.d.ts +43 -43
- package/platform/pipelineFilters.js +43 -43
- package/platform/prometheusConnector.d.ts +6 -6
- package/platform/prometheusConnector.js +6 -6
- package/platform/repo.d.ts +4 -4
- package/platform/repo.js +4 -4
- package/platform/resourceGroup.d.ts +23 -23
- package/platform/resourceGroup.js +23 -23
- package/platform/secretFile.d.ts +10 -10
- package/platform/secretFile.js +10 -10
- package/platform/secretText.d.ts +13 -13
- package/platform/secretText.js +13 -13
- package/platform/secretWinrm.d.ts +89 -89
- package/platform/secretWinrm.js +89 -89
- package/platform/service.d.ts +10 -10
- package/platform/service.js +10 -10
- package/platform/slo.d.ts +17 -17
- package/platform/slo.js +17 -17
- package/platform/splunkConnector.d.ts +11 -11
- package/platform/splunkConnector.js +11 -11
- package/platform/templateFilters.d.ts +4 -4
- package/platform/templateFilters.js +4 -4
- package/platform/usergroup.d.ts +21 -21
- package/platform/usergroup.js +21 -21
- package/platform/variables.d.ts +4 -4
- package/platform/variables.js +4 -4
- package/platform/workspace.d.ts +32 -32
- package/platform/workspace.js +32 -32
- package/platformCcmFilters.d.ts +4 -4
- package/platformCcmFilters.js +4 -4
- package/service/discoveryAgent.d.ts +62 -62
- package/service/discoveryAgent.js +62 -62
- package/service/discoverySetting.d.ts +2 -2
- package/service/discoverySetting.js +2 -2
- package/service/kubernetes.d.ts +4 -4
- package/service/kubernetes.js +4 -4
- package/sshCredential.d.ts +3 -3
- package/sshCredential.js +3 -3
- package/userGroup.d.ts +6 -6
- package/userGroup.js +6 -6
|
@@ -40,18 +40,18 @@ const utilities = __importStar(require("../utilities"));
|
|
|
40
40
|
* import * as harness from "@pulumi/harness";
|
|
41
41
|
*
|
|
42
42
|
* const example = new harness.service.DiscoveryAgent("example", {
|
|
43
|
-
* name: "ExampleAgent",
|
|
44
|
-
* orgIdentifier: "your_org_id",
|
|
45
|
-
* projectIdentifier: "your_project_id",
|
|
46
|
-
* environmentIdentifier: "your_environment_id",
|
|
47
|
-
* infraIdentifier: "your_infra_id",
|
|
48
43
|
* configs: [{
|
|
49
|
-
* collectorImage: "harness/service-discovery-collector:main-latest",
|
|
50
|
-
* logWatcherImage: "harness/chaos-log-watcher:main-latest",
|
|
51
44
|
* kubernetes: [{
|
|
52
45
|
* namespace: "harness-sd",
|
|
53
46
|
* }],
|
|
47
|
+
* collectorImage: "harness/service-discovery-collector:main-latest",
|
|
48
|
+
* logWatcherImage: "harness/chaos-log-watcher:main-latest",
|
|
54
49
|
* }],
|
|
50
|
+
* name: "ExampleAgent",
|
|
51
|
+
* orgIdentifier: "your_org_id",
|
|
52
|
+
* projectIdentifier: "your_project_id",
|
|
53
|
+
* environmentIdentifier: "your_environment_id",
|
|
54
|
+
* infraIdentifier: "your_infra_id",
|
|
55
55
|
* });
|
|
56
56
|
* ```
|
|
57
57
|
*
|
|
@@ -63,62 +63,56 @@ const utilities = __importStar(require("../utilities"));
|
|
|
63
63
|
*
|
|
64
64
|
* // Create a new service discovery agent with minimal configuration
|
|
65
65
|
* const example = new harness.service.DiscoveryAgent("example", {
|
|
66
|
+
* configs: [{
|
|
67
|
+
* kubernetes: [{
|
|
68
|
+
* namespace: "harness-sd",
|
|
69
|
+
* }],
|
|
70
|
+
* }],
|
|
66
71
|
* name: "example-agent",
|
|
67
72
|
* orgIdentifier: orgIdentifier,
|
|
68
73
|
* projectIdentifier: projectIdentifier,
|
|
69
74
|
* environmentIdentifier: environmentIdentifier,
|
|
70
75
|
* infraIdentifier: "example-infra",
|
|
76
|
+
* });
|
|
77
|
+
* // Create a new service discovery agent with node agent enabled
|
|
78
|
+
* const nodeAgent = new harness.service.DiscoveryAgent("node_agent", {
|
|
71
79
|
* configs: [{
|
|
80
|
+
* datas: [{
|
|
81
|
+
* enableNodeAgent: true,
|
|
82
|
+
* }],
|
|
72
83
|
* kubernetes: [{
|
|
73
84
|
* namespace: "harness-sd",
|
|
74
85
|
* }],
|
|
75
86
|
* }],
|
|
76
|
-
* });
|
|
77
|
-
* // Create a new service discovery agent with node agent enabled
|
|
78
|
-
* const nodeAgent = new harness.service.DiscoveryAgent("node_agent", {
|
|
79
87
|
* name: "node-agent-example",
|
|
80
88
|
* orgIdentifier: orgIdentifier,
|
|
81
89
|
* projectIdentifier: projectIdentifier,
|
|
82
90
|
* environmentIdentifier: environmentIdentifier,
|
|
83
91
|
* infraIdentifier: "node-agent-example",
|
|
84
|
-
* configs: [{
|
|
85
|
-
* kubernetes: [{
|
|
86
|
-
* namespace: "harness-sd",
|
|
87
|
-
* }],
|
|
88
|
-
* datas: [{
|
|
89
|
-
* enableNodeAgent: true,
|
|
90
|
-
* }],
|
|
91
|
-
* }],
|
|
92
92
|
* });
|
|
93
93
|
* // Create a new service discovery agent with full configuration
|
|
94
94
|
* const fullConfig = new harness.service.DiscoveryAgent("full_config", {
|
|
95
|
-
* name: "full-config-example",
|
|
96
|
-
* orgIdentifier: orgIdentifier,
|
|
97
|
-
* projectIdentifier: projectIdentifier,
|
|
98
|
-
* environmentIdentifier: environmentIdentifier,
|
|
99
|
-
* infraIdentifier: "full-config-example",
|
|
100
|
-
* permanentInstallation: false,
|
|
101
|
-
* correlationId: "full-config-correlation-123",
|
|
102
95
|
* configs: [{
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
96
|
+
* datas: [{
|
|
97
|
+
* crons: [{
|
|
98
|
+
* expression: "0/10 * * * *",
|
|
99
|
+
* }],
|
|
100
|
+
* enableNodeAgent: true,
|
|
101
|
+
* nodeAgentSelector: "node-role.kubernetes.io/worker=",
|
|
102
|
+
* enableBatchResources: true,
|
|
103
|
+
* enableOrphanedPod: true,
|
|
104
|
+
* namespaceSelector: "environment=dev",
|
|
105
|
+
* collectionWindowInMin: 15,
|
|
106
|
+
* blacklistedNamespaces: [
|
|
107
|
+
* "kube-system",
|
|
108
|
+
* "kube-public",
|
|
109
|
+
* ],
|
|
110
|
+
* observedNamespaces: [
|
|
111
|
+
* "default",
|
|
112
|
+
* "harness",
|
|
113
|
+
* ],
|
|
114
|
+
* }],
|
|
106
115
|
* kubernetes: [{
|
|
107
|
-
* namespace: "harness-sd",
|
|
108
|
-
* serviceAccount: "harness-sd-sa",
|
|
109
|
-
* imagePullPolicy: "IfNotPresent",
|
|
110
|
-
* runAsUser: 2000,
|
|
111
|
-
* runAsGroup: 2000,
|
|
112
|
-
* labels: {
|
|
113
|
-
* app: "service-discovery",
|
|
114
|
-
* env: "dev",
|
|
115
|
-
* },
|
|
116
|
-
* annotations: {
|
|
117
|
-
* "example.com/annotation": "value",
|
|
118
|
-
* },
|
|
119
|
-
* nodeSelector: {
|
|
120
|
-
* "kubernetes.io/os": "linux",
|
|
121
|
-
* },
|
|
122
116
|
* resources: [{
|
|
123
117
|
* limits: {
|
|
124
118
|
* cpu: "500m",
|
|
@@ -135,25 +129,21 @@ const utilities = __importStar(require("../utilities"));
|
|
|
135
129
|
* value: "value1",
|
|
136
130
|
* effect: "NoSchedule",
|
|
137
131
|
* }],
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* "
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
* "
|
|
152
|
-
*
|
|
153
|
-
* ],
|
|
154
|
-
* crons: [{
|
|
155
|
-
* expression: "0/10 * * * *",
|
|
156
|
-
* }],
|
|
132
|
+
* namespace: "harness-sd",
|
|
133
|
+
* serviceAccount: "harness-sd-sa",
|
|
134
|
+
* imagePullPolicy: "IfNotPresent",
|
|
135
|
+
* runAsUser: 2000,
|
|
136
|
+
* runAsGroup: 2000,
|
|
137
|
+
* labels: {
|
|
138
|
+
* app: "service-discovery",
|
|
139
|
+
* env: "dev",
|
|
140
|
+
* },
|
|
141
|
+
* annotations: {
|
|
142
|
+
* "example.com/annotation": "value",
|
|
143
|
+
* },
|
|
144
|
+
* nodeSelector: {
|
|
145
|
+
* "kubernetes.io/os": "linux",
|
|
146
|
+
* },
|
|
157
147
|
* }],
|
|
158
148
|
* mtls: [{
|
|
159
149
|
* certPath: "/etc/certs/tls.crt",
|
|
@@ -167,7 +157,17 @@ const utilities = __importStar(require("../utilities"));
|
|
|
167
157
|
* noProxy: "localhost,127.0.0.1,.svc,.cluster.local",
|
|
168
158
|
* url: "https://proxy.example.com",
|
|
169
159
|
* }],
|
|
160
|
+
* collectorImage: "harness/service-discovery-collector:main-latest",
|
|
161
|
+
* logWatcherImage: "harness/chaos-log-watcher:main-latest",
|
|
162
|
+
* skipSecureVerify: false,
|
|
170
163
|
* }],
|
|
164
|
+
* name: "full-config-example",
|
|
165
|
+
* orgIdentifier: orgIdentifier,
|
|
166
|
+
* projectIdentifier: projectIdentifier,
|
|
167
|
+
* environmentIdentifier: environmentIdentifier,
|
|
168
|
+
* infraIdentifier: "full-config-example",
|
|
169
|
+
* permanentInstallation: false,
|
|
170
|
+
* correlationId: "full-config-correlation-123",
|
|
171
171
|
* });
|
|
172
172
|
* ```
|
|
173
173
|
*
|
|
@@ -12,13 +12,13 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* // Update image registry settings for service discovery
|
|
14
14
|
* const example = new harness.service.DiscoverySetting("example", {
|
|
15
|
-
* orgIdentifier: "sechaosworkshop",
|
|
16
|
-
* projectIdentifier: "se1",
|
|
17
15
|
* imageRegistry: {
|
|
18
16
|
* account: "<account_name>",
|
|
19
17
|
* server: "<registry_server>",
|
|
20
18
|
* secrets: ["<secret_name>"],
|
|
21
19
|
* },
|
|
20
|
+
* orgIdentifier: "sechaosworkshop",
|
|
21
|
+
* projectIdentifier: "se1",
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
@@ -39,13 +39,13 @@ const utilities = __importStar(require("../utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Update image registry settings for service discovery
|
|
41
41
|
* const example = new harness.service.DiscoverySetting("example", {
|
|
42
|
-
* orgIdentifier: "sechaosworkshop",
|
|
43
|
-
* projectIdentifier: "se1",
|
|
44
42
|
* imageRegistry: {
|
|
45
43
|
* account: "<account_name>",
|
|
46
44
|
* server: "<registry_server>",
|
|
47
45
|
* secrets: ["<secret_name>"],
|
|
48
46
|
* },
|
|
47
|
+
* orgIdentifier: "sechaosworkshop",
|
|
48
|
+
* projectIdentifier: "se1",
|
|
49
49
|
* });
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
package/service/kubernetes.d.ts
CHANGED
|
@@ -12,10 +12,6 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* const example = new harness.Application("example", {name: "example"});
|
|
14
14
|
* const exampleKubernetes = new harness.service.Kubernetes("example", {
|
|
15
|
-
* appId: example.id,
|
|
16
|
-
* name: "k8s-svc",
|
|
17
|
-
* helmVersion: "V3",
|
|
18
|
-
* description: "Service for deploying Kubernetes manifests",
|
|
19
15
|
* variables: [
|
|
20
16
|
* {
|
|
21
17
|
* name: "test",
|
|
@@ -28,6 +24,10 @@ import * as outputs from "../types/output";
|
|
|
28
24
|
* type: "TEXT",
|
|
29
25
|
* },
|
|
30
26
|
* ],
|
|
27
|
+
* appId: example.id,
|
|
28
|
+
* name: "k8s-svc",
|
|
29
|
+
* helmVersion: "V3",
|
|
30
|
+
* description: "Service for deploying Kubernetes manifests",
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
33
33
|
*
|
package/service/kubernetes.js
CHANGED
|
@@ -39,10 +39,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.Application("example", {name: "example"});
|
|
41
41
|
* const exampleKubernetes = new harness.service.Kubernetes("example", {
|
|
42
|
-
* appId: example.id,
|
|
43
|
-
* name: "k8s-svc",
|
|
44
|
-
* helmVersion: "V3",
|
|
45
|
-
* description: "Service for deploying Kubernetes manifests",
|
|
46
42
|
* variables: [
|
|
47
43
|
* {
|
|
48
44
|
* name: "test",
|
|
@@ -55,6 +51,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
55
51
|
* type: "TEXT",
|
|
56
52
|
* },
|
|
57
53
|
* ],
|
|
54
|
+
* appId: example.id,
|
|
55
|
+
* name: "k8s-svc",
|
|
56
|
+
* helmVersion: "V3",
|
|
57
|
+
* description: "Service for deploying Kubernetes manifests",
|
|
58
58
|
* });
|
|
59
59
|
* ```
|
|
60
60
|
*
|
package/sshCredential.d.ts
CHANGED
|
@@ -24,14 +24,14 @@ import * as outputs from "./types/output";
|
|
|
24
24
|
* secretManagerId: secretManager.then(secretManager => secretManager.id),
|
|
25
25
|
* });
|
|
26
26
|
* const sshCreds = new harness.SshCredential("ssh_creds", {
|
|
27
|
-
* name: "ssh-test",
|
|
28
27
|
* sshAuthentication: {
|
|
29
|
-
* port: 22,
|
|
30
|
-
* username: "git",
|
|
31
28
|
* inlineSsh: {
|
|
32
29
|
* sshKeyFileId: mySecret.id,
|
|
33
30
|
* },
|
|
31
|
+
* port: 22,
|
|
32
|
+
* username: "git",
|
|
34
33
|
* },
|
|
34
|
+
* name: "ssh-test",
|
|
35
35
|
* }, {
|
|
36
36
|
* ignoreChanges: ["sshAuthentication"],
|
|
37
37
|
* });
|
package/sshCredential.js
CHANGED
|
@@ -51,14 +51,14 @@ const utilities = __importStar(require("./utilities"));
|
|
|
51
51
|
* secretManagerId: secretManager.then(secretManager => secretManager.id),
|
|
52
52
|
* });
|
|
53
53
|
* const sshCreds = new harness.SshCredential("ssh_creds", {
|
|
54
|
-
* name: "ssh-test",
|
|
55
54
|
* sshAuthentication: {
|
|
56
|
-
* port: 22,
|
|
57
|
-
* username: "git",
|
|
58
55
|
* inlineSsh: {
|
|
59
56
|
* sshKeyFileId: mySecret.id,
|
|
60
57
|
* },
|
|
58
|
+
* port: 22,
|
|
59
|
+
* username: "git",
|
|
61
60
|
* },
|
|
61
|
+
* name: "ssh-test",
|
|
62
62
|
* }, {
|
|
63
63
|
* ignoreChanges: ["sshAuthentication"],
|
|
64
64
|
* });
|
package/userGroup.d.ts
CHANGED
|
@@ -11,13 +11,7 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const example = new harness.UserGroup("example", {
|
|
14
|
-
* name: "example-group",
|
|
15
|
-
* description: "This group demonstrates account level and resource level permissions.",
|
|
16
14
|
* permissions: {
|
|
17
|
-
* accountPermissions: [
|
|
18
|
-
* "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
|
|
19
|
-
* "MANAGE_API_KEYS",
|
|
20
|
-
* ],
|
|
21
15
|
* appPermissions: {
|
|
22
16
|
* alls: [{
|
|
23
17
|
* actions: [
|
|
@@ -128,7 +122,13 @@ import * as outputs from "./types/output";
|
|
|
128
122
|
* },
|
|
129
123
|
* ],
|
|
130
124
|
* },
|
|
125
|
+
* accountPermissions: [
|
|
126
|
+
* "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
|
|
127
|
+
* "MANAGE_API_KEYS",
|
|
128
|
+
* ],
|
|
131
129
|
* },
|
|
130
|
+
* name: "example-group",
|
|
131
|
+
* description: "This group demonstrates account level and resource level permissions.",
|
|
132
132
|
* });
|
|
133
133
|
* ```
|
|
134
134
|
*
|
package/userGroup.js
CHANGED
|
@@ -38,13 +38,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.UserGroup("example", {
|
|
41
|
-
* name: "example-group",
|
|
42
|
-
* description: "This group demonstrates account level and resource level permissions.",
|
|
43
41
|
* permissions: {
|
|
44
|
-
* accountPermissions: [
|
|
45
|
-
* "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
|
|
46
|
-
* "MANAGE_API_KEYS",
|
|
47
|
-
* ],
|
|
48
42
|
* appPermissions: {
|
|
49
43
|
* alls: [{
|
|
50
44
|
* actions: [
|
|
@@ -155,7 +149,13 @@ const utilities = __importStar(require("./utilities"));
|
|
|
155
149
|
* },
|
|
156
150
|
* ],
|
|
157
151
|
* },
|
|
152
|
+
* accountPermissions: [
|
|
153
|
+
* "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
|
|
154
|
+
* "MANAGE_API_KEYS",
|
|
155
|
+
* ],
|
|
158
156
|
* },
|
|
157
|
+
* name: "example-group",
|
|
158
|
+
* description: "This group demonstrates account level and resource level permissions.",
|
|
159
159
|
* });
|
|
160
160
|
* ```
|
|
161
161
|
*
|