@gradientedge/cdk-utils 10.4.0 → 10.5.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.
@@ -1,4 +1,3 @@
1
- import * as azure from '@pulumi/azure';
2
1
  import { Blob, BlobContainer, HttpProtocol, Kind, listStorageAccountSAS, Permissions, Services, SignedResourceTypes, SkuName, StorageAccount, } from '@pulumi/azure-native/storage/index.js';
3
2
  import * as pulumi from '@pulumi/pulumi';
4
3
  /**
@@ -79,13 +78,6 @@ export class AzureStorageManager {
79
78
  createStorageBlob(id, scope, props) {
80
79
  if (!props)
81
80
  throw `Props undefined for ${id}`;
82
- const resourceGroup = azure.core.getResourceGroupOutput({
83
- name: scope.props.resourceGroupName
84
- ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
85
- : `${props.resourceGroupName}`,
86
- });
87
- if (!resourceGroup)
88
- throw `Resource group undefined for ${id}`;
89
81
  const resourceGroupName = scope.props.resourceGroupName
90
82
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
91
83
  : `${props.resourceGroupName}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "10.4.0",
3
+ "version": "10.5.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -59,7 +59,6 @@
59
59
  "@aws-sdk/credential-providers": "^3.978.0",
60
60
  "@aws-sdk/types": "^3.973.1",
61
61
  "@pulumi/aws": "^7.16.0",
62
- "@pulumi/azure": "^6.31.0",
63
62
  "@pulumi/azure-native": "^3.13.0",
64
63
  "@pulumi/cloudflare": "^6.13.0",
65
64
  "@pulumi/command": "^1.1.3",
@@ -1,4 +1,3 @@
1
- import * as azure from '@pulumi/azure'
2
1
  import {
3
2
  Blob,
4
3
  BlobContainer,
@@ -108,14 +107,6 @@ export class AzureStorageManager {
108
107
  public createStorageBlob(id: string, scope: CommonAzureConstruct, props: StorageBlobProps) {
109
108
  if (!props) throw `Props undefined for ${id}`
110
109
 
111
- const resourceGroup = azure.core.getResourceGroupOutput({
112
- name: scope.props.resourceGroupName
113
- ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
114
- : `${props.resourceGroupName}`,
115
- })
116
-
117
- if (!resourceGroup) throw `Resource group undefined for ${id}`
118
-
119
110
  const resourceGroupName = scope.props.resourceGroupName
120
111
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
121
112
  : `${props.resourceGroupName}`