Last active
June 25, 2021 15:53
-
-
Save MarcusFelling/259fb8ce8c13f1369b037a5576cd2c56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Change scope to create resource group | |
targetScope = 'subscription' | |
// Create resource Group | |
resource rg 'Microsoft.Resources/resourceGroups@2021-04-01' = { | |
name: 'myIoTProjectRG' | |
location: 'eastus' | |
} | |
// Create IoT project inside resource group above | |
// Creates IoT Hub, storage account, blob container | |
module iot 'iot-with-storgage.bicep.bicep' = { | |
name: 'IoTDeploy' | |
scope: rg | |
params: { | |
projectName: 'myIoTProject' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment