Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created March 12, 2019 16:53
Show Gist options
  • Select an option

  • Save 100daysofdevops/7685e5629bf310ebc93f24a5fab2e414 to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/7685e5629bf310ebc93f24a5fab2e414 to your computer and use it in GitHub Desktop.
$ terraform graph
digraph {
compound = "true"
newrank = "true"
subgraph "root" {
"[root] aws_instance.test-instance (orphan)" [label = "aws_instance.test-instance", shape = "box"]
"[root] aws_instance.test-instance1" [label = "aws_instance.test-instance1", shape = "box"]
"[root] provider.aws" [label = "provider.aws", shape = "diamond"]
"[root] aws_instance.test-instance (orphan)" -> "[root] provider.aws"
"[root] aws_instance.test-instance1" -> "[root] provider.aws"
"[root] aws_instance.test-instance1" -> "[root] var.centos_ami1"
"[root] aws_instance.test-instance1" -> "[root] var.instance_type1"
"[root] aws_instance.test-instance1" -> "[root] var.key_name1"
"[root] aws_instance.test-instance1" -> "[root] var.key_path1"
"[root] meta.count-boundary (count boundary fixup)" -> "[root] aws_instance.test-instance (orphan)"
"[root] meta.count-boundary (count boundary fixup)" -> "[root] aws_instance.test-instance1"
"[root] provider.aws (close)" -> "[root] aws_instance.test-instance (orphan)"
"[root] provider.aws (close)" -> "[root] aws_instance.test-instance1"
"[root] provisioner.remote-exec (close)" -> "[root] aws_instance.test-instance1"
"[root] root" -> "[root] meta.count-boundary (count boundary fixup)"
"[root] root" -> "[root] provider.aws (close)"
"[root] root" -> "[root] provisioner.remote-exec (close)"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment