Skip to content

Commit 04610d6

Browse files
authored
Update
1 parent 376ff54 commit 04610d6

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

docs/wiki/Debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ If you're having issues with AzOps in your CI/CD system, it can be helpful to tr
1111
### Getting started
1212

1313
1. Clone the [project](https://github.com/Azure/AzOps) from GitHub and open with Visual Studio Code
14-
1. Run `Dependencies.ps1` from the scripts directory to install the dependant PoSH modules`
14+
1. Run `Dependencies.ps1` from the scripts directory to install the dependent PoSH modules`
1515
1. Login with the correct service principal that has Management Group scope access
1616

1717
```powershell

src/internal/functions/ConvertTo-AzOpsState.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The cmdlet converts Azure resources (Resources/ResourceGroups/Policy/PolicySet/PolicyAssignments/RoleAssignment/Definition) to the AzOps state format and exports them to the file structure.
66
.DESCRIPTION
77
The cmdlet converts Azure resources (Resources/ResourceGroups/Policy/PolicySet/PolicyAssignments/RoleAssignment/Definition) to the AzOps state format and exports them to the file structure.
8-
It is normally executed and orchestrated through the Invoke-AzOpsPull cmdlet. As most of the AzOps-cmdlets, it is dependant on the AzOpsAzManagementGroup and AzOpsSubscriptions variables.
8+
It is normally executed and orchestrated through the Invoke-AzOpsPull cmdlet. As most of the AzOps-cmdlets, it is dependent on the AzOpsAzManagementGroup and AzOpsSubscriptions variables.
99
Cmdlet will look into jq filter is template directory for the specific one before using the generic one at the root of the module
1010
.PARAMETER Resource
1111
Object with resource as input

src/localized/en-us/Strings.psd1

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -314,23 +314,23 @@
314314
'Remove-AzOpsDeployment.Scope.Failed' = 'Failed to resolve the scope for template {0}' # $TemplateFilePath
315315
'Remove-AzOpsDeployment.Scope.Empty' = 'Unable to determine the scope of template {0}' # $TemplateFilePath
316316
'Remove-AzOpsDeployment.SkipDueToWhatIf' = 'Skipping removal of resource due to WhatIf' #
317-
'Remove-AzOpsDeployment.ResourceDependencyNested' = 'resource dependency {0} for complete deletion of {1} is outside of supported AzOps scope. Please remove this dependency in Azure without AzOps.'# $roleAssignmentId, $policyAssignment.ResourceId
318-
'Remove-AzOpsDeployment.ResourceDependencyNotFound' = 'Missing resource dependency {0} for successful deletion of {1}. Please add missing resource and retry.'# $resource.Id, $scopeObject.Scope
319-
'Remove-AzOpsDeployment.Resource.RetryCount' = 'Retry deletion of {0} resources in different order'# $retry.Count
320-
'Remove-AzOpsDeployment.ResourceNotFound' = 'Unable to find resource of type {0} with id {1}.'# $scopeObject.Resource, $scopeObject.Scope, $resultsError
321-
'Remove-AzOpsDeployment.SkipUnsupportedResource' = 'Deletion of AzOps generated file resources is only supported for locks, policyAssignments, policyDefinitions, policyExemptions, policySetDefinitions and roleAssignments. Will NOT proceed with deletion of resource in file {0}'# $TemplateFilePath
322-
323-
'Remove-AzResourceRaw.Resource.Recursive.Missing' = 'Missing required parameter InputObject, when running Recursive'#
324-
'Remove-AzResourceRaw.Resource.Missing' = 'Missing required parameter ScopeObject'#
325-
'Remove-AzResourceRaw.Resource.CheckExistence' = 'Checking existence after deletion of: [{0}]'# $FullyQualifiedResourceId
317+
'Remove-AzOpsDeployment.ResourceDependencyNested' = 'resource dependency {0} for complete deletion of {1} is outside of supported AzOps scope. Please remove this dependency in Azure without AzOps.' # $roleAssignmentId, $policyAssignment.ResourceId
318+
'Remove-AzOpsDeployment.ResourceDependencyNotFound' = 'Missing resource dependency {0} for successful deletion of {1}. Please add missing resource and retry.' # $resource.Id, $scopeObject.Scope
319+
'Remove-AzOpsDeployment.Resource.RetryCount' = 'Retry deletion of {0} resources in different order' # $retry.Count
320+
'Remove-AzOpsDeployment.ResourceNotFound' = 'Unable to find resource of type {0} with id {1}.' # $scopeObject.Resource, $scopeObject.Scope, $resultsError
321+
'Remove-AzOpsDeployment.SkipUnsupportedResource' = 'Deletion of AzOps generated file resources is only supported for locks, policyAssignments, policyDefinitions, policyExemptions, policySetDefinitions and roleAssignments. Will NOT proceed with deletion of resource in file {0}' # $TemplateFilePath
322+
323+
'Remove-AzResourceRaw.Resource.Recursive.Missing' = 'Missing required parameter InputObject, when running Recursive' #
324+
'Remove-AzResourceRaw.Resource.Missing' = 'Missing required parameter ScopeObject' #
325+
'Remove-AzResourceRaw.Resource.CheckExistence' = 'Checking existence after deletion of: [{0}]' # $FullyQualifiedResourceId
326326
'Remove-AzResourceRaw.Resource.StackCommand' = 'Running deletion command: [{0}] for resource: [{1}] with ActionOnUnmanage: [{2}]' # $removeCommand, $ScopeObject.Scope, $actionOnUnmanage
327327
'Remove-AzResourceRaw.Resource.Command' = 'Running deletion command: [{0}] for resource: [{1}]' # 'Remove-AzResource', $ScopeObject.Scope
328-
'Remove-AzResourceRaw.Resource.Failed' = 'Unable to delete resource of type {0} with id {1}'# $ScopeObject.Resource, $ScopeObject.Scope
329-
'Remove-AzResourceRawRecursive.Processing' = 'Recursive retry processing to delete resource of type {0} with id {1}'# $item.ScopeObject.Resource, $item.ScopeObject.Scope
328+
'Remove-AzResourceRaw.Resource.Failed' = 'Unable to delete resource of type {0} with id {1}' # $ScopeObject.Resource, $ScopeObject.Scope
329+
'Remove-AzResourceRawRecursive.Processing' = 'Recursive retry processing to delete resource of type {0} with id {1}' # $item.ScopeObject.Resource, $item.ScopeObject.Scope
330330

331-
'Remove-AzOpsInvalidCharacter.Completed' = 'Valid string: {0}'# $String
332-
'Remove-AzOpsInvalidCharacter.Invalid' = 'Invalid character detected in string: {0}, further processing initiated'# $String
333-
'Remove-AzOpsInvalidCharacter.Removal' = 'Removed invalid character: {0} from string: {1}'# $character, $String
331+
'Remove-AzOpsInvalidCharacter.Completed' = 'Valid string: {0}' # $String
332+
'Remove-AzOpsInvalidCharacter.Invalid' = 'Invalid character detected in string: {0}, further processing initiated' # $String
333+
'Remove-AzOpsInvalidCharacter.Removal' = 'Removed invalid character: {0} from string: {1}' # $character, $String
334334

335335
'Save-AzOpsManagementGroupChild.Creating.Scope' = 'Creating scope object' #
336336
'Save-AzOpsManagementGroupChild.Data.Directory' = 'Resolved state path directory: {0}' # $statepathDirectory

0 commit comments

Comments
 (0)