Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic parameter names are lost on upgrade operation #81

Closed
keithbabinec opened this issue Mar 2, 2021 · 0 comments · Fixed by #82
Closed

Dynamic parameter names are lost on upgrade operation #81

keithbabinec opened this issue Mar 2, 2021 · 0 comments · Fixed by #82
Assignees

Comments

@keithbabinec
Copy link
Contributor

Component
[x] PowerShell module
[x] VSCode extension
[] Other

Description of the issue
Dynamic parameter names are lost when Invoke-AzUpgradeModulePlan is run.

Describe how to reproduce the issue
Run the module upgrade against the sample file for 'dynamic-parameters-test1.ps1'

Error output

VERBOSE: [C:\src2\azure-powershell-migration\common\code-upgrade-samples\azurerm\dynamic-parameters-test1.ps1] Reading
file contents.
VERBOSE: [dynamic-parameters-test1.ps1:7:6] Updating CmdletParameter DynamicUserParam2 to .
VERBOSE: [dynamic-parameters-test1.ps1:6:6] Updating CmdletParameter DynamicUserParam1 to .
VERBOSE: [dynamic-parameters-test1.ps1:3:1] Updating Cmdlet New-AzureRmResourceGroupDeployment to
New-AzResourceGroupDeployment.
VERBOSE: [C:\src2\azure-powershell-migration\common\code-upgrade-samples\azurerm\dynamic-parameters-test1.ps1] Saving
file contents in place.
VERBOSE: Module configuration file C:\Users\kebab\.aztoolsmigration\module-preferences.json exists, loading it now.
VERBOSE: Data collection option is enabled. Sending 'Upgrade' operation metrics.
VERBOSE: Operation duration: 00:00:02.4964723
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants