Skip to content

Commit

Permalink
Fixed incorrect metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Oct 22, 2024
1 parent b1d87be commit 0c52ca0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions avm/ptn/virtual-machine-images/azure-image-builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,11 @@ The files to upload to the Assets Storage Account.
| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`name`](#parameter-storageaccountfilestouploadname) | string | The name of the environment variable. |

**Optional parameters**

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`secureValue`](#parameter-storageaccountfilestouploadsecurevalue) | securestring | The value of the secure environment variable. |
| [`value`](#parameter-storageaccountfilestouploadvalue) | string | The value of the environment variable. |

Expand Down
4 changes: 2 additions & 2 deletions avm/ptn/virtual-machine-images/azure-image-builder/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -597,10 +597,10 @@ type storageAccountFilesToUploadType = {
@description('Required. The name of the environment variable.')
name: string

@description('Required. The value of the secure environment variable.')
@description('Optional. The value of the secure environment variable.')
@secure()
secureValue: string?

@description('Required. The value of the environment variable.')
@description('Optional. The value of the environment variable.')
value: string?
}
6 changes: 3 additions & 3 deletions avm/ptn/virtual-machine-images/azure-image-builder/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "4580919221810730076"
"templateHash": "9111396630441610187"
},
"name": "Custom Images using Azure Image Builder",
"description": "This module provides you with a packaged solution to create custom images using the Azure Image Builder service publishing to an Azure Compute Gallery.",
Expand All @@ -26,14 +26,14 @@
"type": "securestring",
"nullable": true,
"metadata": {
"description": "Required. The value of the secure environment variable."
"description": "Optional. The value of the secure environment variable."
}
},
"value": {
"type": "string",
"nullable": true,
"metadata": {
"description": "Required. The value of the environment variable."
"description": "Optional. The value of the environment variable."
}
}
},
Expand Down

0 comments on commit 0c52ca0

Please sign in to comment.