Guest User

Untitled

a guest
Jan 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. ARM_CLIENT_ID
  2. ARM_CLIENT_SECRET
  3. ARM_SUBSCRIPTION_ID
  4. ARM_TENANT_ID
  5.  
  6. sudo apt install wget
  7.  
  8. wget https://releases.hashicorp.com/terraform/0.11.11/terraform_0.11.11_linux_amd64.zip
  9.  
  10. sudo apt-get install unzip
  11.  
  12. unzip terraform_0.11.11_linux_amd64.zip
  13.  
  14. terraform init
  15.  
  16. terraform plan -var-file=terraform.tfvars -out=ax.plan
  17.  
  18. terraform apply ax.plan
  19.  
  20. terraform destroy -auto-approve
  21.  
  22. variable "ARM_SUBSCRIPTION_ID" {
  23. default="$(Build.ARM_SUBSCRIPTION_ID)"
  24. }
  25.  
  26. [0m[1m[32mTerraform has been successfully initialized![0m[32m[0m
  27. [0m[32m
  28. You may now begin working with Terraform. Try running "terraform plan" to see
  29. any changes that are required for your infrastructure. All Terraform commands
  30. should now work.
  31. If you ever set or change modules or backend configuration for Terraform,
  32. rerun this command to reinitialize your working directory. If you forget, other
  33. commands will detect it and remind you to do so if necessary.[0m
  34. [0m[1mvar.ARM_CLIENT_ID[0m
Add Comment
Please, Sign In to add comment