-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: missing root module on output call #1263
Comments
mitchellh
added a commit
that referenced
this issue
Mar 25, 2015
mitchellh
added a commit
that referenced
this issue
Mar 25, 2015
command/output: don't panic if no root module in state [GH-1263]
catsby
added a commit
that referenced
this issue
Mar 27, 2015
* master: (66 commits) provider/aws: Fix dependency violation when deleting Internet Gateways command/remote-config: failing tests update CHANGELOG command/remote-config: do a pull with `terraform remote config` command/remote-{pull,push}: colorize and show success output command/remote-config: lowercase the type so that Atlas works, for example command/remote-config: show flag parse errors command/remote-config: remove weird error case that shows no error message command: when setting up state, only write back if local is newer minor code cleanups to get acceptance tests passing update CHANGELOG providers/digitalocean: add dot in GET response providers/digitalocean: force fqdn in dns rr value update CHANGELOG small code cleanup Add proper reading/updating of tags for S3 provider/aws: Add tags to S3 Documentation for ASG Tags added Tags support added for AWS ASG command/output: don't panic if no root module in state [GH-1263] ...
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
ghost
locked and limited conversation to collaborators
May 4, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When calling "terraform output autoscaling_group_id" terraform crashes.
2015/03/20 15:16:57 [INFO] Terraform version: 0.3.7 0bc0c03+CHANGES
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: atlas = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-atlas
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: aws = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-aws
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: cloudflare = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-cloudflare
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: cloudstack = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-cloudstack
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: consul = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-consul
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: digitalocean = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-digitalocean
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: dnsimple = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-dnsimple
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: google = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-google
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: heroku = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-heroku
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: mailgun = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-mailgun
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: null = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-null
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: file = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provisioner-file
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: local-exec = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provisioner-local-exec
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: remote-exec = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provisioner-remote-exec
2015/03/20 15:16:57 Detected home directory from env var: /home/vagrant
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: atlas = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-atlas
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: aws = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-aws
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: cloudflare = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-cloudflare
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: cloudstack = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-cloudstack
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: consul = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-consul
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: digitalocean = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-digitalocean
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: dnsimple = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-dnsimple
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: google = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-google
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: heroku = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-heroku
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: mailgun = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-mailgun
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: null = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provider-null
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: file = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provisioner-file
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: local-exec = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provisioner-local-exec
2015/03/20 15:16:57 [DEBUG] Discoverd plugin: remote-exec = /home/vagrant/project/src/environments/conf/intelligence-api/z/a/terraform-provisioner-remote-exec
2015/03/20 15:16:57 Detected home directory from env var: /home/vagrant
2015/03/20 15:16:57 [DEBUG] Attempting to open CLI config file: /home/vagrant/.terraformrc
2015/03/20 15:16:57 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2015/03/20 15:16:57 waiting for all plugin processes to complete...
2015/03/20 15:16:57 Detected home directory from env var: /home/vagrant
panic: missing root module
goroutine 1 [running]:
github.com/hashicorp/terraform/terraform.(_State).RootModule(0x0, 0x0)
/Users/mitchellh/code/go/src/github.com/hashicorp/terraform/terraform/state.go:107 +0xa2
github.com/hashicorp/terraform/command.(_OutputCommand).Run(0xc20803cc30, 0xc20800a020, 0x1, 0x1, 0xc208040978)
/Users/mitchellh/code/go/src/github.com/hashicorp/terraform/command/output.go:41 +0x4b1
github.com/mitchellh/cli.(*CLI).Run(0xc20805e1e0, 0xc2080840c0, 0x0, 0x0)
/Users/mitchellh/code/go/src/github.com/mitchellh/cli/cli.go:100 +0x3ce
main.wrappedMain(0x0)
/Users/mitchellh/code/go/src/github.com/hashicorp/terraform/main.go:150 +0xb70
main.realMain(0x0)
/Users/mitchellh/code/go/src/github.com/hashicorp/terraform/main.go:82 +0x923
main.main()
/Users/mitchellh/code/go/src/github.com/hashicorp/terraform/main.go:18 +0x1f
goroutine 5 [syscall]:
os/signal.loop()
/Users/mitchellh/code/3rdparty/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/Users/mitchellh/code/3rdparty/go/src/os/signal/signal_unix.go:27 +0x35
goroutine 7 [select]:
net/http.(_Transport).getConn(0xc208066000, 0xc20803d1e0, 0x0, 0xc208066360, 0x5, 0xc20801eda0, 0x20, 0x0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/transport.go:525 +0x608
net/http.(_Transport).RoundTrip(0xc208066000, 0xc20803d1e0, 0xc2080663f0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/transport.go:228 +0x4d4
net/http.send(0xc20803d1e0, 0x7f416911e090, 0xc208066000, 0x88, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/client.go:219 +0x4fc
net/http.(_Client).send(0xc34ee0, 0xc20803d1e0, 0x88, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/client.go:142 +0x15b
net/http.(_Client).doFollowingRedirects(0xc34ee0, 0xc20803d1e0, 0xa9ffd8, 0x0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/client.go:367 +0xb25
net/http.(*Client).Do(0xc34ee0, 0xc20803d1e0, 0xa, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/client.go:174 +0xa4
github.com/hashicorp/go-checkpoint.Check(0xc2080b4080, 0x0, 0x0, 0x0)
/Users/mitchellh/code/go/src/github.com/hashicorp/go-checkpoint/checkpoint.go:139 +0xab6
main.runCheckpoint(0xc20801ed80)
/Users/mitchellh/code/go/src/github.com/hashicorp/terraform/checkpoint.go:51 +0x497
created by main.wrappedMain
/Users/mitchellh/code/go/src/github.com/hashicorp/terraform/main.go:99 +0x3f7
goroutine 38 [runnable]:
net.(_singleflight).doCall(0xc34510, 0xc20804a660, 0xc20801eda0, 0x1c, 0xc208033620)
/Users/mitchellh/code/3rdparty/go/src/net/singleflight.go:90
created by net.(_singleflight).DoChan
/Users/mitchellh/code/3rdparty/go/src/net/singleflight.go:84 +0x42b
goroutine 37 [runnable]:
runtime.timerproc()
/Users/mitchellh/code/3rdparty/go/src/runtime/time.go:151
runtime.goexit()
/Users/mitchellh/code/3rdparty/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 36 [select]:
net.lookupIPDeadline(0xc20801eda0, 0x1c, 0xecc9e3107, 0x3125f1c7, 0xc35040, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/lookup.go:82 +0x6cb
net.resolveInternetAddr(0x98de70, 0x3, 0xc20801eda0, 0x20, 0xecc9e3107, 0x3125f1c7, 0xc35040, 0x0, 0x0, 0x0, ...)
/Users/mitchellh/code/3rdparty/go/src/net/ipsock.go:285 +0x49b
net.resolveAddr(0x97f790, 0x4, 0x98de70, 0x3, 0xc20801eda0, 0x20, 0xecc9e3107, 0x3125f1c7, 0xc35040, 0x0, ...)
/Users/mitchellh/code/3rdparty/go/src/net/dial.go:110 +0x378
net.(_Dialer).Dial(0xc20803f1c0, 0x98de70, 0x3, 0xc20801eda0, 0x20, 0x0, 0x0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/dial.go:158 +0xf6
net._Dialer.Dial·fm(0x98de70, 0x3, 0xc20801eda0, 0x20, 0x0, 0x0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/transport.go:38 +0x79
net/http.(_Transport).dial(0xc208066000, 0x98de70, 0x3, 0xc20801eda0, 0x20, 0x0, 0x0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/transport.go:479 +0x84
net/http.(_Transport).dialConn(0xc208066000, 0x0, 0xc208066360, 0x5, 0xc20801eda0, 0x20, 0x0, 0x0, 0x0)
/Users/mitchellh/code/3rdparty/go/src/net/http/transport.go:564 +0x1678
net/http.func·019()
/Users/mitchellh/code/3rdparty/go/src/net/http/transport.go:520 +0x42
created by net/http.(*Transport).getConn
/Users/mitchellh/code/3rdparty/go/src/net/http/transport.go:522 +0x335
The text was updated successfully, but these errors were encountered: