Skip to content

Instantly share code, notes, and snippets.

@githubvick
Created April 21, 2017 03:04
Show Gist options
  • Save githubvick/783dc82edd5d4328b1b13bd98b0315f0 to your computer and use it in GitHub Desktop.
Save githubvick/783dc82edd5d4328b1b13bd98b0315f0 to your computer and use it in GitHub Desktop.
Azure referencing resource issue
2017/04/20 22:48:14 [DEBUG] apply: null_resource.ansible-provision: executing Apply
null_resource.ansible-provision: Creating...
2017/04/20 22:48:14 [DEBUG] plugin: terraform: null-provider (internal) 2017/04/20 22:48:14 [DEBUG] No meta timeoutkey found in Apply()
2017/04/20 22:48:14 [DEBUG] root: eval: *terraform.EvalWriteState
2017/04/20 22:48:14 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/04/20 22:48:14 [DEBUG] root: eval: *terraform.EvalIf
2017/04/20 22:48:14 [DEBUG] root: eval: *terraform.EvalWriteState
2017/04/20 22:48:14 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/04/20 22:48:14 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/04/20 22:48:14 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* Resource 'azurerm_public_ip.mysvcs-k8sip.0' does not have attribute 'ip_address' for variable 'azurerm_public_ip.mysvcs-k8sip.0.ip_address'
2017/04/20 22:48:14 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* Resource 'azurerm_public_ip.mysvcs-k8sip.0' does not have attribute 'ip_address' for variable 'azurerm_public_ip.mysvcs-k8sip.0.ip_address'
2017/04/20 22:48:14 [TRACE] [walkApply] Exiting eval tree: null_resource.ansible-provision
2017/04/20 22:48:14 [DEBUG] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2017/04/20 22:48:14 [TRACE] Preserving existing state lineage "6de418b1-25f8-4f85-8c48-01096f3cf86a"
2017/04/20 22:48:14 [DEBUG] plugin: waiting for all plugin processes to complete...
Error applying plan:
1 error(s) occurred:
* null_resource.ansible-provision: 1 error(s) occurred:
* Resource 'azurerm_public_ip.mysvcs-k8sip.0' does not have attribute 'ip_address' for variable 'azurerm_public_ip.mysvcs-k8sip.0.ip_address'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment