-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #508 from microsoft/ryonsteele/terraform-conversion
Conversion from BICEP to Terraform - Part 1
- Loading branch information
Showing
87 changed files
with
4,436 additions
and
3,637 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"$schema": "${arm_template_schema_mgmt_api}/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"name": { | ||
"type": "string", | ||
"metadata" : { | ||
"description" : "The name of the AVAM resource" | ||
}, | ||
"defaultValue": "avam-account" | ||
}, | ||
"managedIdentityId": { | ||
"type": "string", | ||
"metadata" : { | ||
"description" : "The managed identity used to grant access to the Azure Storage account" | ||
}, | ||
"defaultValue": "" | ||
}, | ||
"storageServicesResourceId": { | ||
"type": "string", | ||
"metadata" : { | ||
"description" : "The Storage Account Id for storing uploaded videos. The Account needs to be created prior to the creation of this template" | ||
}, | ||
"defaultValue" : "" | ||
}, | ||
"tags": { | ||
"type": "object", | ||
"metadata" : { | ||
"description" : "Arm Template Tags" | ||
}, | ||
"defaultValue": {} | ||
}, | ||
"apiVersion": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Video indexer api version" | ||
} | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.VideoIndexer/accounts", | ||
"apiVersion": "[parameters('apiVersion')]", | ||
"name": "[parameters('name')]", | ||
|
||
"location": "[resourceGroup().location]", | ||
"tags": "[parameters('tags')]", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"[parameters('managedIdentityId')]": {} | ||
} | ||
}, | ||
"properties": { | ||
"storageServices": { | ||
"resourceId": "[parameters('storageServicesResourceId')]", | ||
"userAssignedIdentity": "[parameters('managedIdentityId')]" | ||
} | ||
} | ||
} | ||
], | ||
"outputs": { | ||
"avam_id": { | ||
"value": "[reference(resourceId('Microsoft.VideoIndexer/accounts',parameters('name'))).accountId]", | ||
"type": "string" | ||
} | ||
} | ||
} |
Oops, something went wrong.