Skip to content

Spring PetClinic application hosted on Azure IaaS, using Terraform and Ansible.

Notifications You must be signed in to change notification settings

joaovictorino/terraform-azure-ansible-roles-spring

Repository files navigation

Terraform e Ansible criando IaaS no Azure e fazendo deploy de Java e MySQL

Pré-requisitos

  • Az-cli instalado
  • Terraform instalado

Logar no Azure via az-cli, o navegador será aberto para que o login seja feito

az login

Inicializar o Terraform

terraform init

Executar o Terraform

terraform apply -auto-approve

Excluir as máquinas Ansible após execução

terraform destroy --auto-approve    --target azurerm_linux_virtual_machine.vm_aula_ansible \
                                    --target azurerm_storage_account.storage_aula_ansible \
                                    --target azurerm_network_interface.nic_aula_ansible \
                                    --target azurerm_public_ip.publicip_aula_ansible

About

Spring PetClinic application hosted on Azure IaaS, using Terraform and Ansible.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published