You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When AZD is configured to use Remote environment, it stores the environment related files in the storage account.
Wen using Terraform as IaC deployment tool, there are env specific additional files withing (.terraform) folder that gets created inside the .azure/ folder like state files, and plan files used for the deployment folder. These files need to be stored to the env files in the storage account as well to be able to have the same consistent deployment details and state file available when using different vms as the files now stored globally and not locally on the machine.
name: azd-project-namestate:
remote:
backend: AzureBlobStorageconfig:
accountName: saazdremotestatecontainerName: myproject # Defaults to project name if not specified
Run azd up cmd to deploy the app and infrastructure.
Check the storage account for the environment. the state files are not there
The text was updated successfully, but these errors were encountered:
When AZD is configured to use Remote environment, it stores the environment related files in the storage account.
Wen using Terraform as IaC deployment tool, there are env specific additional files withing (.terraform) folder that gets created inside the .azure/ folder like state files, and plan files used for the deployment folder. These files need to be stored to the env files in the storage account as well to be able to have the same consistent deployment details and state file available when using different vms as the files now stored globally and not locally on the machine.
Repro step:
The text was updated successfully, but these errors were encountered: