-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_key_vault_managed_storage_account
- fix TestAccKeyVaultManagedStorageAccount_*
#23022
Conversation
This seems to block by lagacy functions detection, needs to figure out a different way to address this. |
internal/services/keyvault/key_vault_managed_storage_account.go
Outdated
Show resolved
Hide resolved
…s and exclude the `/` from the BaseURI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment that I'm going to push a commit for, but this otherwise LGTM 👍
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This issue is introduced by #22915
Fix TestAccKeyVaultManagedStorageAccount* all of them are failing now.
Root cause: The id needs to be set here is a managed storage account id with format looks like "https://acctestkv-rxfqz.vault.azure.net/storage/acctestKVstorage", not common StorageAccountId.
Fix method: Update the parsing function for two resources when creating and add .ID function for sasToken.
After this fix, all tests besides TestAccKeyVaultManagedStorageAccountSasTokenDefinition_recovery should works. Will track that one in a diff PR.