-
Notifications
You must be signed in to change notification settings - Fork 965
Description
Before you open an issue, please check if a similar issue already exists or has been closed before.
You can also find details on Troubleshooting Common Issues. You can use these tools to help gather additional logs and details to include in your issue.
Bug Details
I am encountering an issue while deploying the PubSec-Info-Assistant project using Terraform. The deployment fails with the following error:
Error: retrieving queue properties for Storage Account (Subscription: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Resource Group Name: "infoasst-ai-*****"
Storage Account Name: "infoasststoreiovoj"): executing request: unexpected status 403 (403 This request is not authorized to perform this operation using this permission.) with AuthorizationPermissionMismatch: This request is not authorized to perform this operation using this permission.
RequestId:57670ee2-d003-0028-809a-41f00a0000
Time:2024-11-28T13:34:54
with module.storage.azurerm_storage_account.storage,
on core/storage/storage-account.tf line 6, in resource "azurerm_storage_account" "storage":
6: resource "azurerm_storage_account" "storage"
Steps to Reproduce
- Clone the
PubSec-Info-Assistantrepository. - Open the project in VSCode using the provided devcontainer.
- Run
make deployto initiate the deployment process. - The deployment fails at the
azurerm_storage_accountresource with the error mentioned above.
Troubleshooting Steps Taken
- Attempted the deployment using the Azure root account, but the same error persists.
- Assigned the
Storage Queue Data Contributorrole to the credentials used for deployment, but it did not resolve the issue.
Observations
- The error indicates an
AuthorizationPermissionMismatch. - The operation fails when Terraform attempts to retrieve queue properties for the storage account.
Request for Help
Could you please provide guidance on the following:
- Are there any additional roles or permissions required to resolve this issue?
- Are there specific configurations in Terraform for the
azurerm_storage_accountmodule that need to be updated for this tag? - Any troubleshooting tips for verifying why the assigned permissions are not being recognized?
Environment Details
- PubSec-Info-Assistant version:
1.2 - Development Environment: VSCode devcontainer
Additional Information
Let me know if you need any more details or debug logs to investigate this issue.
Let me know if any further adjustments are required!
Information Assistant details
Please provide the following details. You can simply include a screenshot of your Info panel as well.
GitHub branch: [e.g. main]
version 1.2
Version or Latest commit: [obtained by runninggit log -n 1 <branchname>What region is your Azure Open AI Service in?
eastus2 and eastus
What ChatGPT model are you using?
gpt-3.5-turbo, gpt-4, gpt-4o-mini
model name: (i.e. gpt-3.5-turbo, gpt-4)model version: (i.e. 0613)
What embeddings model are you using?
Additional context
Add any other context about the problem here.
If the bug is confirmed, would you be willing to submit a PR?
- Yes
- No