@gradientedge/cdk-utils-azure 2.50.0 → 2.52.0
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.
|
@@ -101,10 +101,6 @@ export declare class CommonAzureConstruct extends ComponentResource {
|
|
|
101
101
|
* - No-op if commonLogAnalyticsWorkspace is not configured in props
|
|
102
102
|
*/
|
|
103
103
|
protected resolveCommonLogAnalyticsWorkspace(): void;
|
|
104
|
-
/**
|
|
105
|
-
* @summary Determine the fully qualified domain name based on domainName & subDomain
|
|
106
|
-
*/
|
|
107
|
-
protected determineFullyQualifiedDomain(): void;
|
|
108
104
|
/**
|
|
109
105
|
* @summary Utility method to determine if the initialisation is in development (dev) stage
|
|
110
106
|
* This is determined by the stage property injected via cdk context
|
|
@@ -100,7 +100,6 @@ export class CommonAzureConstruct extends ComponentResource {
|
|
|
100
100
|
this.securityCentermanager = new AzureSecurityCentermanager();
|
|
101
101
|
this.serviceBusManager = new AzureServiceBusManager();
|
|
102
102
|
this.storageManager = new AzureStorageManager();
|
|
103
|
-
this.determineFullyQualifiedDomain();
|
|
104
103
|
}
|
|
105
104
|
/**
|
|
106
105
|
* @summary Resolve a Pulumi stack reference for cross-stack outputs
|
|
@@ -146,14 +145,6 @@ export class CommonAzureConstruct extends ComponentResource {
|
|
|
146
145
|
resourceGroupName: this.props.commonLogAnalyticsWorkspace.resourceGroupName,
|
|
147
146
|
});
|
|
148
147
|
}
|
|
149
|
-
/**
|
|
150
|
-
* @summary Determine the fully qualified domain name based on domainName & subDomain
|
|
151
|
-
*/
|
|
152
|
-
determineFullyQualifiedDomain() {
|
|
153
|
-
this.fullyQualifiedDomainName = this.props.subDomain
|
|
154
|
-
? `${this.props.subDomain}.${this.props.domainName}`
|
|
155
|
-
: this.props.domainName;
|
|
156
|
-
}
|
|
157
148
|
/**
|
|
158
149
|
* @summary Utility method to determine if the initialisation is in development (dev) stage
|
|
159
150
|
* This is determined by the stage property injected via cdk context
|
|
@@ -79,7 +79,7 @@ export declare class CommonAzureStack extends ComponentResource {
|
|
|
79
79
|
/**
|
|
80
80
|
* @summary Determine the fully qualified domain name based on domainName & subDomain
|
|
81
81
|
*/
|
|
82
|
-
protected fullyQualifiedDomain(): string;
|
|
82
|
+
protected fullyQualifiedDomain(): string | undefined;
|
|
83
83
|
/**
|
|
84
84
|
* @summary Walk up the directory tree to locate the infrastructure root containing the stage context path
|
|
85
85
|
* @returns The directory path containing the stage context configuration
|
|
@@ -36,6 +36,7 @@ export class AzureCosmosDbManager {
|
|
|
36
36
|
return new DatabaseAccount(`${id}-ca`, {
|
|
37
37
|
...props,
|
|
38
38
|
accountName: scope.resourceNameFormatter.format(props.accountName?.toString(), scope.props.resourceNameOptions?.cosmosDbAccount),
|
|
39
|
+
disableLocalAuth: true,
|
|
39
40
|
location: props.location ?? scope.props.location,
|
|
40
41
|
resourceGroupName,
|
|
41
42
|
tags: {
|
|
@@ -40,6 +40,7 @@ export class AzureFunctionManager {
|
|
|
40
40
|
resourceGroupName,
|
|
41
41
|
location: props.location ?? scope.props.location,
|
|
42
42
|
kind: props.kind ?? 'functionapp,linux',
|
|
43
|
+
httpsOnly: props.httpsOnly ?? true,
|
|
43
44
|
identity: props.identity ?? {
|
|
44
45
|
type: ManagedServiceIdentityType.SystemAssigned,
|
|
45
46
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils-azure",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.52.0",
|
|
4
4
|
"description": "Azure Pulumi utilities for @gradientedge/cdk-utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"lodash": "4.18.1",
|
|
24
24
|
"uuid": "14.0.0",
|
|
25
25
|
"yaml": "2.9.0",
|
|
26
|
-
"@gradientedge/cdk-utils-common": "2.
|
|
26
|
+
"@gradientedge/cdk-utils-common": "2.11.0"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"gradientedge",
|