Skip to content

Commit

Permalink
Merge branch 'main' into issue/625
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari authored Nov 13, 2023
2 parents d95225f + 328a18b commit 016a826
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
12 changes: 12 additions & 0 deletions infra-as-code/bicep/modules/logging/generateddocs/logging.bicep.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ parLogAnalyticsWorkspaceLinkAutomationAccount | No | Log Analytics Workspa
parAutomationAccountName | No | Automation account name.
parAutomationAccountLocation | No | Automation Account region name. - Ensure the regions selected is a supported mapping as per: https://docs.microsoft.com/azure/automation/how-to/region-mappings.
parAutomationAccountUseManagedIdentity | No | Automation Account - use managed identity.
parAutomationAccountPublicNetworkAccess | No | Automation Account - Public network access.
parTags | No | Tags you would like to be applied to all resources in this module.
parAutomationAccountTags | No | Tags you would like to be applied to Automation Account.
parLogAnalyticsWorkspaceTags | No | Tags you would like to be applied to Log Analytics Workspace.
Expand Down Expand Up @@ -109,6 +110,14 @@ Automation Account - use managed identity.

- Default value: `True`

### parAutomationAccountPublicNetworkAccess

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Automation Account - Public network access.

- Default value: `True`

### parTags

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)
Expand Down Expand Up @@ -219,6 +228,9 @@ outAutomationAccountId | string |
"parAutomationAccountUseManagedIdentity": {
"value": true
},
"parAutomationAccountPublicNetworkAccess": {
"value": true
},
"parTags": {
"value": {}
},
Expand Down
10 changes: 7 additions & 3 deletions infra-as-code/bicep/modules/logging/logging.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ param parAutomationAccountLocation string = resourceGroup().location
@sys.description('Automation Account - use managed identity.')
param parAutomationAccountUseManagedIdentity bool = true

@sys.description('Automation Account - Public network access.')
param parAutomationAccountPublicNetworkAccess bool = true

@sys.description('Tags you would like to be applied to all resources in this module.')
param parTags object = {}

Expand Down Expand Up @@ -106,12 +109,13 @@ resource resAutomationAccount 'Microsoft.Automation/automationAccounts@2022-08-0
type: 'SystemAssigned'
} : null
properties: {
sku: {
name: 'Basic'
}
encryption: {
keySource: 'Microsoft.Automation'
}
publicNetworkAccess: parAutomationAccountPublicNetworkAccess
sku: {
name: 'Basic'
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
"parAutomationAccountUseManagedIdentity": {
"value": true
},
"parAutomationAccountPublicNetworkAccess": {
"value": true
},
"parTags": {
"value": {
"Environment": "Live"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"parAutomationAccountUseManagedIdentity": {
"value": true
},
"parAutomationAccountPublicNetworkAccess": {
"value": true
},
"parTags": {
"value": {
"Environment": "Live"
Expand Down

0 comments on commit 016a826

Please sign in to comment.