Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save haidangwa/88471caa7d0a61652075aaeda7512dc3 to your computer and use it in GitHub Desktop.
Save haidangwa/88471caa7d0a61652075aaeda7512dc3 to your computer and use it in GitHub Desktop.
`terraform destroy` fail on aws_app_cookie_stickiness_policy when load balancer doesn't exist
2016/06/07 20:04:13 [DEBUG] root: eval: *terraform.EvalWriteState
2016/06/07 20:04:13 [DEBUG] root: eval: terraform.EvalNoop
2016/06/07 20:04:13 [DEBUG] root: eval: terraform.EvalNoop
2016/06/07 20:04:13 [DEBUG] root: eval: terraform.EvalNoop
2016/06/07 20:04:13 [DEBUG] vertex provider.aws (close), got dep: aws_route53_record.public_lb_alias
2016/06/07 20:04:13 [DEBUG] vertex provider.aws (close), got dep: aws_app_cookie_stickiness_policy.chef (destroy tainted)
2016/06/07 20:04:13 [DEBUG] vertex output.cluster CNAME, got dep: aws_route53_record.public_lb_alias
2016/06/07 20:04:13 [DEBUG] vertex root.output.cluster CNAME: walking
2016/06/07 20:04:13 [DEBUG] vertex root.output.cluster CNAME: evaluating
2016/06/07 20:04:13 [DEBUG] root: eval: *terraform.EvalSequence
2016/06/07 20:04:13 [DEBUG] root: eval: *terraform.EvalWriteOutput
2016/06/07 20:04:13 [DEBUG] vertex root, got dep: output.cluster CNAME
2016/06/07 20:04:13 [DEBUG] vertex root, got dep: provider.aws (close)
2016/06/07 20:04:13 [DEBUG] vertex root, got dep: provisioner.remote-exec (close)
2016/06/07 20:04:13 [DEBUG] vertex root, got dep: output.backend bootstrap node
2016/06/07 20:04:13 [DEBUG] vertex root, got dep: var.aws_security_group
2016/06/07 20:04:13 [DEBUG] waiting for all plugin processes to complete...
Error refreshing state: 1 error(s) occurred:
* aws_app_cookie_stickiness_policy.chef: Error retrieving policy: LoadBalancerNotFound: There is no ACTIVE Load Balancer named 'dang-desktop-test-elb'
status code: 400, request id: ae4647bb-2d25-11e6-9afc-cf567208f28d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment