By using apply command on terraform, unable to create container

Amit Anand 0 Reputation points
2024-05-30T12:09:51.2933333+00:00

I was trying to create resources under the resource group one by one so I was not having any issues but same thing when I tried creating the resources all at once using the "depends on " in terraform, I am unable to apply.

after writting terraform apply i am getting below error:

Error: retrieving share properties for Storage Account (Subscription: "4a35d0f8-b433-4789-b37c-076eee37ac50"

│ Resource Group Name: "app-grp"

│ Storage Account Name: "innocentrxstorage"): storage.FileServicesClient#GetServiceProperties: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="ResourceNotFound" Message="The specified resource does not exist.\nRequestId:5aa46c08-501a-0002-5e7f-aee86a000000\nTime:2024-05-25T08:44:34.2804830Z"

│ with azurerm_storage_account.innocentrxstorage,

│ on main.tf line 25, in resource "azurerm_storage_account" "innocentrxstorage":

│ 25: resource "azurerm_storage_account" "innocentrxstorage" {

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
324 questions
0 comments No comments
{count} votes