question

MuraliDulam-5364 avatar image
0 Votes"
MuraliDulam-5364 asked suvasara-MSFT edited

Unable to view the azure cloud resources which are created by terraform apply command

Unable to view the azure cloud resources which are created by terraform apply command. I have used resource group (rgpocstage1) and Vnet (vnetpocstage) as data source. I have tried without data source also

Please find the terraform output:
148046-terraform.jpg
Plan: 6 to add, 0 to change, 0 to destroy.

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

azurerm_subnet.websubnet111: Creating...
azurerm_subnet.appsubnet111: Creating...
azurerm_subnet.dbsubnet111: Creating...
azurerm_public_ip.webpublicip111: Creating...
azurerm_subnet.dbsubnet111: Creation complete after 5s [id=/subscriptions/xxxxxxxxxxxxxxx/resourceGroups/rgpocstage1/providers/Microsoft.Network/virtualNetworks/vnetpocstage/subnets/dbsubnet55]
azurerm_subnet.appsubnet111: Still creating... [10s elapsed]
azurerm_subnet.websubnet111: Still creating... [10s elapsed]
azurerm_public_ip.webpublicip111: Still creating... [10s elapsed]
azurerm_subnet.appsubnet111: Creation complete after 11s [id=/subscriptions/xxxxxxxxxxxxxxxxxxx/resourceGroups/rgpocstage1/providers/Microsoft.Network/virtualNetworks/vnetpocstage/subnets/appsubnet55]
azurerm_public_ip.webpublicip111: Creation complete after 12s [id=/subscriptions/xxxxxxxxxxxxxxx/resourceGroups/rgpocstage1/providers/Microsoft.Network/publicIPAddresses/webpublicip5]
azurerm_subnet.websubnet111: Creation complete after 17s [id=/subscriptions/xxxxxxxxxxxxxxxx/resourceGroups/rgpocstage1/providers/Microsoft.Network/virtualNetworks/vnetpocstage/subnets/websubnet55]
azurerm_network_interface.webnic111: Creating...
azurerm_network_interface.webnic111: Still creating... [10s elapsed]
azurerm_network_interface.webnic111: Creation complete after 14s [id=/subscriptions/xxxxxxxxxxxxxxxx/resourceGroups/rgpocstage1/providers/Microsoft.Network/networkInterfaces/webnic55]
azurerm_linux_virtual_machine.webserver1: Creating...
azurerm_linux_virtual_machine.webserver1: Still creating... [10s elapsed]
azurerm_linux_virtual_machine.webserver1: Still creating... [20s elapsed]
azurerm_linux_virtual_machine.webserver1: Still creating... [30s elapsed]
azurerm_linux_virtual_machine.webserver1: Still creating... [40s elapsed]
azurerm_linux_virtual_machine.webserver1: Still creating... [50s elapsed]
azurerm_linux_virtual_machine.webserver1: Creation complete after 57s [id=/subscriptions/xxxxxxxxxxxxxxx/resourceGroups/rgpocstage1/providers/Microsoft.Compute/virtualMachines/webserver]

Apply complete! Resources: 6 added, 0 changed, 0 destroyed.


Please find the Azure Cloud Console. There are no resources created in the console

148027-azure-resorce-group.jpg


azure-cloud-servicesazure-cloud-services-extended-support
terraform.jpg (139.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Also I have tried with IAM Owner permissions to terraform Service principle (SPN)

0 Votes 0 ·

@MuraliDulam-5364, This looks strange! Could you please re-run the template for a quick check? If there are resources deployed and not visible on portal, then it should throw an error indicating the existence of same resource ID. Then we can proceed accordingly.

0 Votes 0 ·

0 Answers