aztfmod / rover

The rover is a docker container in charge of the deployment of the Terraform platform engineering for Azure
MIT License
172 stars 142 forks source link

'rover landingzone list' command error #207

Closed brk3 closed 2 years ago

brk3 commented 2 years ago

In the case where no storage accounts can be found at a particular level, rover will crash with:

vscode@b268f68883df:/tf/rover$ rover landingzone list -level level0                   

<snip>

@calling process_actions
@calling get_storage_id
@calling list_deployed_landingzones
ERROR: argument --ids: expected at least one argument

TRY THIS:
az storage account show --ids /subscriptions/{SubID}/resourceGroups/{ResourceGroup}/pr
oviders/Microsoft.Storage/storageAccounts/{StorageAccount}
Show properties for a storage account by resource ID.

az storage account show --resource-group MyResourceGroup --name MyStorageAccount
Show properties for a storage account using an account name and resource group.

https://docs.microsoft.com/en-US/cli/azure/storage/account#az_storage_account_show
Read more about the command in reference docs
Error on or near line 278; exiting with status 1
Error on or near line 278; exiting with status 1

@calling clean_up_variables
cleanup variables
clean_up backend_files
arnaudlh commented 2 years ago

closing as fixed in 2111 stable rover