Update documentation for backend initialization

This commit is contained in:
manojvazirani 2019-03-27 15:43:25 -04:00
Родитель a3c370c65e
Коммит a40010d1e5
1 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -6,14 +6,20 @@
- Service Principal
- [Terraform](https://www.terraform.io/downloads.html)
Fill the values required below in backend.tfvars to initialize Azure backend for Terraform
- Storage Account Name
- Storage Account Access Key
- Storage Account Container Name
- Key Name to store for Terraform State for Test Environment
## Resources
The following respources will be deployed
The following resources will be deployed:
- Azure Resource Group
- Azure KeyVault
## Deployment
1. Authenticate using your Azure Principal or an Azure account with privileges to deploy resource groups.
@ -22,11 +28,11 @@ The following respources will be deployed
$ az login
```
2. Execute the following commands:
2. Execute the following commands to initialize Azure Backend and deploy resources:
``` bash
$ cd ./shared
$ terraform init
$ terraform init -backend-config=./backend.tfvars
$ terraform apply
```