Terraform Version
Terraform v0.12.2
Debug Output
I have the trace output but would prefer not to post it here - even encrypted. It contains a lot of sensitive information. Is there an email address @hashicorp I can send it to instead?
Expected Behavior
Successful plan should have applied
Actual Behavior
Received error message for seemingly every resource in every module:
Error: Resource node has no configuration attached
The graph node for
module.aas_resources.module.aas_vm_avzone_creation.azurerm_virtual_machine_extension.oms_extension[0]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Error: Resource node has no configuration attached
The graph node for
module.hana_resources.module.hana_vm_avzone_creation.azurerm_virtual_machine_data_disk_attachment.disk_attachments[7]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Error: Resource node has no configuration attached
The graph node for
module.ci_resources.module.ci_vm_avzone_creation.azurerm_network_interface.nic[0]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Error: Resource node has no configuration attached
The graph node for
module.ci_resources.module.ci_vm_avzone_creation.azurerm_virtual_machine_data_disk_attachment.disk_attachments[3]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Steps to Reproduce
terraform init
terraform plan
terraform apply
Additional Context
We have around 4 layers of modules so it's hard to post a code snippet to describe the problem. The plan comes back green and it looks like everything it wants to create is what it should be creating. Everything worked as it should under TF 0.11.14, we are working through 0.12 changes so we can utilize the new version.
Workaround
I was able to workaround the issue by not using an output file from terraform plan and just doing an apply. Unfortunately that is not going to work for us because our pipeline automation doesn't work that way.
Terraform Version
Terraform v0.12.2
Debug Output
I have the trace output but would prefer not to post it here - even encrypted. It contains a lot of sensitive information. Is there an email address @hashicorp I can send it to instead?
Expected Behavior
Successful plan should have applied
Actual Behavior
Received error message for seemingly every resource in every module:
Error: Resource node has no configuration attached
The graph node for
module.aas_resources.module.aas_vm_avzone_creation.azurerm_virtual_machine_extension.oms_extension[0]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Error: Resource node has no configuration attached
The graph node for
module.hana_resources.module.hana_vm_avzone_creation.azurerm_virtual_machine_data_disk_attachment.disk_attachments[7]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Error: Resource node has no configuration attached
The graph node for
module.ci_resources.module.ci_vm_avzone_creation.azurerm_network_interface.nic[0]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Error: Resource node has no configuration attached
The graph node for
module.ci_resources.module.ci_vm_avzone_creation.azurerm_virtual_machine_data_disk_attachment.disk_attachments[3]
has no configuration attached to it. This suggests a bug in Terraform's apply
graph builder; please report it!
Steps to Reproduce
terraform init
terraform plan
terraform apply
Additional Context
We have around 4 layers of modules so it's hard to post a code snippet to describe the problem. The plan comes back green and it looks like everything it wants to create is what it should be creating. Everything worked as it should under TF 0.11.14, we are working through 0.12 changes so we can utilize the new version.
Workaround
I was able to workaround the issue by not using an output file from
terraform planand just doing an apply. Unfortunately that is not going to work for us because our pipeline automation doesn't work that way.