Remove the usage of deprecated resourceGroupName properties
MODIFY
azure-ts-aks-keda/index.ts
azure-ts-aks-keda/index.ts
@@ -23,7 +23,6 @@ const storageAccount = new azure.storage.Account("kedapulumi", {
accountReplicationType: "LRS",
});
const queue = new azure.storage.Queue("kedaqueue", {
- resourceGroupName: resourceGroup.name,
storageAccountName: storageAccount.name,
});

MODIFY
azure-ts-appservice-devops/infra/index.ts
azure-ts-appservice-devops/infra/index.ts
@@ -40,7 +40,6 @@ const appServicePlan = new azure.appservice.Plan(`${prefix}-asp`, {
const storageContainer = new azure.storage.Container(`${prefix}-c`, {
- resourceGroupName: resourceGroup.name,
storageAccountName: storageAccount.name,
containerAccessType: "private",
});

MODIFY
azure-ts-appservice/index.ts
azure-ts-appservice/index.ts
@@ -38,7 +38,6 @@ const appServicePlan = new azure.appservice.Plan(`${prefix}-asp`, {
});
const storageContainer = new azure.storage.Container(`${prefix}-c`, {
- resourceGroupName: resourceGroup.name,
storageAccountName: storageAccount.name,
containerAccessType: "private",
});

MODIFY
azure-ts-dynamicresource/index.ts
azure-ts-dynamicresource/index.ts
@@ -31,7 +31,6 @@ const storageAccount = new azure.storage.Account("storageAccount", {
* endpoint for this blob container.
*/
const blobContainer = new azure.storage.Container("blobContainer", {
- resourceGroupName: resourceGroup.name,
storageAccountName: storageAccount.name,
// Make each "blob" in the container publicly accessible.
// DO NOT set this property if you are going to store sensitive files!

MODIFY
azure-ts-hdinsight-spark/index.ts
azure-ts-hdinsight-spark/index.ts
@@ -20,7 +20,6 @@ const storageAccount = new azure.storage.Account("sparksa", {
});
const storageContainer = new azure.storage.Container("spark", {
- resourceGroupName: resourceGroup.name,
storageAccountName: storageAccount.name,
containerAccessType: "private",
});

MODIFY
azure-ts-msi-keyvault-rbac/index.ts
azure-ts-msi-keyvault-rbac/index.ts
@@ -17,7 +17,6 @@ const storageAccount = new azure.storage.Account("storage", {
// The container to put our files into
const storageContainer = new azure.storage.Container("files", {
- resourceGroupName: resourceGroup.name,
storageAccountName: storageAccount.name,
containerAccessType: "private",
});

Remove the usage of deprecated resourceGroupName properties (#378)