Created
January 31, 2021 19:41
-
-
Save johanngyger/5875a867d5080ce64e98e02469536459 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ az login -o none | |
The default web browser has been opened at https://login.microsoftonline.com/common/oauth2/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`. | |
You have logged in. Now let us find all the subscriptions to which you have access... | |
❯ terraform init | |
Initializing the backend... | |
Initializing provider plugins... | |
- Finding hashicorp/azurerm versions matching "~> 2.0"... | |
- Installing hashicorp/azurerm v2.45.1... | |
- Installed hashicorp/azurerm v2.45.1 (signed by HashiCorp) | |
Terraform has created a lock file .terraform.lock.hcl to record the provider | |
selections it made above. Include this file in your version control repository | |
so that Terraform can guarantee to make the same selections by default when | |
you run "terraform init" in the future. | |
Terraform has been successfully initialized! | |
You may now begin working with Terraform. Try running "terraform plan" to see | |
any changes that are required for your infrastructure. All Terraform commands | |
should now work. | |
If you ever set or change modules or backend configuration for Terraform, | |
rerun this command to reinitialize your working directory. If you forget, other | |
commands will detect it and remind you to do so if necessary. | |
❯ terraform apply | |
An execution plan has been generated and is shown below. | |
Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# azurerm_container_group.aci_caddy will be created | |
(...) | |
# azurerm_resource_group.aci_caddy will be created | |
(...) | |
# azurerm_storage_account.aci_caddy will be created | |
(...) | |
# azurerm_storage_share.aci_caddy will be created | |
(...) | |
Plan: 4 to add, 0 to change, 0 to destroy. | |
Changes to Outputs: | |
+ url = (known after apply) | |
Do you want to perform these actions? | |
Terraform will perform the actions described above. | |
Only 'yes' will be accepted to approve. | |
Enter a value: yes | |
(...) | |
Apply complete! Resources: 4 added, 0 changed, 0 destroyed. | |
Outputs: | |
url = "https://aci-caddy.westeurope.azurecontainer.io" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment