Skip to content

Instantly share code, notes, and snippets.

@devops-rob
Created August 20, 2020 15:54
Show Gist options
  • Save devops-rob/34d8a15b67ef46742ceefb44dbce7f0d to your computer and use it in GitHub Desktop.
Save devops-rob/34d8a15b67ef46742ceefb44dbce7f0d to your computer and use it in GitHub Desktop.
Error debug output from terraform plan. Subscription IDs have been anonymised
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.azurerm_subscription.current: Refreshing state...
data.azurerm_role_definition.contributor: Refreshing state...
azurerm_resource_group.main: Refreshing state... [id=/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/packer-resources]
azurerm_resource_group.demo-packer-rg: Refreshing state... [id=/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/demo-packer-rg]
azurerm_virtual_network.main: Refreshing state... [id=/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/packer-resources/providers/Microsoft.Network/virtualNetworks/packer-network]
azurerm_public_ip.packer: Refreshing state... [id=/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/packer-resources/providers/Microsoft.Network/publicIPAddresses/packer]
azurerm_subnet.internal: Refreshing state... [id=/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/packer-resources/providers/Microsoft.Network/virtualNetworks/packer-network/subnets/internal]
azurerm_network_interface.main: Refreshing state... [id=/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/packer-resources/providers/Microsoft.Network/networkInterfaces/packer-nic]
azurerm_virtual_machine.main: Refreshing state... [id=/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/packer-resources/providers/Microsoft.Compute/virtualMachines/packer-vm]
Error: expected "name" to be a valid UUID, got packer-vm
on packer-vm.tf line 106, in resource "azurerm_role_assignment" "example":
106: resource "azurerm_role_assignment" "example" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment