Skip to content

Instantly share code, notes, and snippets.

@meangrape
Created October 3, 2017 22:20
Show Gist options
  • Save meangrape/882cca4bc71af5d681882c89a316d3e3 to your computer and use it in GitHub Desktop.
Save meangrape/882cca4bc71af5d681882c89a316d3e3 to your computer and use it in GitHub Desktop.
Terraform Debug Info; IPv6 CIDR validation
2017/10/03 18:07:16 [INFO] Terraform version: 0.10.7
2017/10/03 18:07:16 [INFO] Go runtime version: go1.9
2017/10/03 18:07:16 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2017/10/03 18:07:16 [DEBUG] Attempting to open CLI config file: /home/jayed/.terraformrc
2017/10/03 18:07:16 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/10/03 18:07:16 [DEBUG] CLI Config is main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:""}
2017/10/03 18:07:16 [INFO] CLI command args: []string{"plan"}
2017/10/03 18:07:16 [INFO] command: empty terraform config, returning nil
2017/10/03 18:07:16 [DEBUG] command: no data state file found for backend config
2017/10/03 18:07:16 [DEBUG] New state was assigned lineage "2c37d4ad-bfcd-4db5-b26e-eeb9919660c9"
2017/10/03 18:07:16 [INFO] command: backend initialized: <nil>
2017/10/03 18:07:16 [DEBUG] checking for provider in "."
2017/10/03 18:07:16 [DEBUG] checking for provider in "/usr/local/bin"
2017/10/03 18:07:16 [DEBUG] checking for provider in ".terraform/plugins/freebsd_amd64"
2017/10/03 18:07:16 [DEBUG] found provider "terraform-provider-aws_v1.0.0_x4"
2017/10/03 18:07:16 [DEBUG] found valid plugin: "aws"
2017/10/03 18:07:16 [DEBUG] checking for provisioner in "."
2017/10/03 18:07:16 [DEBUG] checking for provisioner in "/usr/local/bin"
2017/10/03 18:07:16 [DEBUG] checking for provisioner in ".terraform/plugins/freebsd_amd64"
2017/10/03 18:07:16 [INFO] command: backend <nil> is not enhanced, wrapping in local
2017/10/03 18:07:16 [INFO] backend/local: starting Plan operation
2017/10/03 18:07:16 [DEBUG] New state was assigned lineage "20163dca-813f-41e9-b2b9-16ed7667bc1f"
2017/10/03 18:07:16 [INFO] terraform: building graph: GraphTypeInput
2017/10/03 18:07:16 [DEBUG] Resource state not found for "aws_security_group.default_private": aws_security_group.default_private
2017/10/03 18:07:16 [DEBUG] Resource state not found for "aws_security_group_rule.all_ingress_private": aws_security_group_rule.all_ingress_private
2017/10/03 18:07:16 [DEBUG] ReferenceTransformer: "var.ipv6_digital_ocean" references: []
2017/10/03 18:07:16 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/10/03 18:07:16 [DEBUG] ReferenceTransformer: "aws_security_group.default_private" references: []
2017/10/03 18:07:16 [DEBUG] ReferenceTransformer: "aws_security_group_rule.all_ingress_private" references: [aws_security_group.default_private var.ipv6_digital_ocean]
2017/10/03 18:07:16 [DEBUG] Starting graph walk: walkInput
2017-10-03T18:07:16.575-0400 [DEBUG] plugin: starting plugin: path=/home/jayed/repos/tf-test/.terraform/plugins/freebsd_amd64/terraform-provider-aws_v1.0.0_x4 args=[/home/jayed/repos/tf-test/.terraform/plugins/freebsd_amd64/terraform-provider-aws_v1.0.0_x4]
2017-10-03T18:07:16.576-0400 [DEBUG] plugin: waiting for RPC address: path=/home/jayed/repos/tf-test/.terraform/plugins/freebsd_amd64/terraform-provider-aws_v1.0.0_x4
2017-10-03T18:07:16.579-0400 [DEBUG] plugin.terraform-provider-aws_v1.0.0_x4: 2017/10/03 18:07:16 [DEBUG] plugin: plugin address: unix /tmp/plugin958963935
2017/10/03 18:07:16 [DEBUG] command: asking for input: "provider.aws.region"
2017/10/03 18:07:21 [INFO] terraform: building graph: GraphTypeValidate
2017/10/03 18:07:21 [DEBUG] Resource state not found for "aws_security_group.default_private": aws_security_group.default_private
2017/10/03 18:07:21 [DEBUG] Resource state not found for "aws_security_group_rule.all_ingress_private": aws_security_group_rule.all_ingress_private
2017/10/03 18:07:21 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_security_group.default_private - *terraform.NodeValidatableResource
aws_security_group_rule.all_ingress_private - *terraform.NodeValidatableResource
2017/10/03 18:07:21 [TRACE] Graph after step *terraform.RootVariableTransformer:
aws_security_group.default_private - *terraform.NodeValidatableResource
aws_security_group_rule.all_ingress_private - *terraform.NodeValidatableResource
var.ipv6_digital_ocean - *terraform.NodeRootVariable
2017/10/03 18:07:21 [DEBUG] ReferenceTransformer: "var.ipv6_digital_ocean" references: []
2017/10/03 18:07:21 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/10/03 18:07:21 [DEBUG] ReferenceTransformer: "aws_security_group.default_private" references: []
2017/10/03 18:07:21 [DEBUG] ReferenceTransformer: "aws_security_group_rule.all_ingress_private" references: [aws_security_group.default_private var.ipv6_digital_ocean]
2017/10/03 18:07:21 [DEBUG] Starting graph walk: walkValidate
2017/10/03 18:07:21 [DEBUG] Resource state not found for "aws_security_group.default_private": aws_security_group.default_private
2017/10/03 18:07:21 [DEBUG] ReferenceTransformer: "aws_security_group.default_private" references: []
2017/10/03 18:07:21 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_security_group.default_private - *terraform.NodeValidatableResourceInstance
2017/10/03 18:07:21 [TRACE] Graph after step *terraform.RootTransformer:
aws_security_group.default_private - *terraform.NodeValidatableResourceInstance
2017/10/03 18:07:21 [DEBUG] Resource state not found for "aws_security_group_rule.all_ingress_private": aws_security_group_rule.all_ingress_private
2017/10/03 18:07:21 [DEBUG] ReferenceTransformer: "aws_security_group_rule.all_ingress_private" references: []
2017/10/03 18:07:21 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_security_group_rule.all_ingress_private - *terraform.NodeValidatableResourceInstance
2017/10/03 18:07:21 [ERROR] root: eval: *terraform.EvalValidateResource, err: Warnings: []. Errors: ["ipv6_cidr_blocks.0" must contain a valid network CIDR, got "2604:a880:800:a1::1774:5001/64"]
2017/10/03 18:07:21 [ERROR] root: eval: *terraform.EvalSequence, err: Warnings: []. Errors: ["ipv6_cidr_blocks.0" must contain a valid network CIDR, got "2604:a880:800:a1::1774:5001/64"]
2017/10/03 18:07:21 [TRACE] [walkValidate] Exiting eval tree: aws_security_group_rule.all_ingress_private
2017/10/03 18:07:21 [DEBUG] plugin: waiting for all plugin processes to complete...
2017-10-03T18:07:21.496-0400 [DEBUG] plugin: plugin process exited: path=/home/jayed/repos/tf-test/.terraform/plugins/freebsd_amd64/terraform-provider-aws_v1.0.0_x4
2017/10/03 18:17:16 [INFO] Terraform version: 0.10.7
2017/10/03 18:17:16 [INFO] Go runtime version: go1.9
2017/10/03 18:17:16 [INFO] CLI args: []string{"/usr/local/bin/terraform", "-v"}
2017/10/03 18:17:16 [DEBUG] Attempting to open CLI config file: /home/jayed/.terraformrc
2017/10/03 18:17:16 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/10/03 18:17:16 [DEBUG] CLI Config is main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:""}
2017/10/03 18:17:16 [INFO] CLI command args: []string{"version", "-v"}
2017/10/03 18:17:16 [DEBUG] plugin: waiting for all plugin processes to complete...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment