Closed benjaminjaffe closed 6 years ago
Please find attached the sanitized Terraform Configs for the above bug
experiencing same symptoms with 11.4 + 11.5.
Error: Error applying plan:
5 error(s) occurred:
* module.ldapi.aws_lb_target_group.ldapi: 1 error(s) occurred:
* aws_lb_target_group.ldapi: unexpected EOF
* module.ldapi.data.aws_lb.ldapi: connection is shut down
* module.ldapi.aws_ecs_service.ldapi_secure: Resource 'aws_lb_target_group.ldapi_secure' not found for variable 'aws_lb_target_group.ldapi_secure.arn'
* module.ldapi.aws_lb_target_group.ldapi_secure: connection is shut down
* module.ldapi.aws_route53_record.nlb_4_subnets: connection is shut down
I am seeing this as well. I do get some state refreshed.
v0.11.5
aws_acm_certificate.ssl: Refreshing state... (ID: -removed-) aws_ecr_repository.registry: Refreshing state... (ID: -removed-) aws_iam_role.backup_bucket_role: Refreshing state... (ID: -removed-) aws_ecr_repository.plugin-java: Refreshing state... (ID: -removed-) aws_iam_role.cm: Refreshing state... (ID: -removed-) aws_iam_role.registry_manager: Refreshing state... (ID: -removed-) data.aws_iam_policy_document.ecs_cluster_permissions: Refreshing state... data.aws_iam_policy_document.lambda_api: Refreshing state... data.aws_iam_policy_document.ecs_instance: Refreshing state... aws_ecs_cluster.plugin_cluster: Refreshing state... (ID: -removed-) aws_iam_policy.bucket_policy: Refreshing state... (ID: -removed-) data.aws_availability_zones.available: Refreshing state... aws_iam_role.cloudwatch: Refreshing state... (ID: -removed-) aws_cloudwatch_log_group.ipf-ecs-plugin: Refreshing state... (ID: -removed-) aws_ecr_repository.plugin-node: Refreshing state... (ID: -removed-) aws_vpc.plugin: Refreshing state... (ID: -removed-) aws_cloudwatch_log_group.ipf-ecs: Refreshing state... (ID: -removed-) aws_api_gateway_rest_api.api: Refreshing state... (ID: -removed-) aws_iam_policy.s3_developer_bucket_access: Refreshing state... (ID: -removed-) data.aws_ami.ecs: Refreshing state... aws_iam_policy.cm: Refreshing state... (ID: -removed-) aws_iam_role.asg: Refreshing state... (ID: -removed-) aws_iam_role.bucket_role: Refreshing state... (ID: -removed-) aws_iam_policy.backup_bucket_policy: Refreshing state... (ID: -removed-) data.aws_route53_zone.public_zone: Refreshing state... aws_ecr_repository.container-manager: Refreshing state... (ID: -removed-) aws_ecr_repository.nginx: Refreshing state... (ID: -removed-) aws_iam_group.ipf-plugin-developer: Refreshing state... (ID: -removed-) data.aws_iam_policy_document.lambda_api_policy: Refreshing state... data.aws_availability_zones.available: Refreshing state... aws_iam_role.ecs_instance: Refreshing state... (ID: -removed-) aws_iam_role.iam_registry_lambda_role: Refreshing state... (ID: -removed-) aws_s3_bucket.servers-b: Refreshing state... (ID: -removed-) aws_s3_bucket.clients-b: Refreshing state... (ID: -removed-) aws_iam_role_policy_attachment.cloudwatch: Refreshing state... (ID: -removed-) data.template_file.plugin-node: Refreshing state... aws_iam_policy_attachment.asg: Refreshing state... (ID: -removed-) aws_iam_policy_attachment.bucket: Refreshing state... (ID: -removed-) aws_iam_policy_attachment.developer: Refreshing state... (ID: -removed-) aws_iam_policy.lambda_role_policy: Refreshing state... (ID: -removed-) aws_iam_policy_attachment.cm: Refreshing state... (ID: -removed-) aws_iam_policy.ipf-registry-api-access: Refreshing state... (ID: -removed-) aws_api_gateway_account.api-account: Refreshing state... (ID: -removed-) data.template_file.cm: Refreshing state... aws_iam_policy_attachment.backup: Refreshing state... (ID: -removed-) aws_ecs_task_definition.plugin-node: Refreshing state... (ID: -removed-) aws_iam_role_policy.ecs_cluster_permissions: Refreshing state... (ID: -removed-) aws_iam_instance_profile.ecs_instance: Refreshing state... (ID: -removed-) aws_route53_record.ssl_cert_validation_record: Refreshing state... (ID: -removed-) aws_lambda_function.registry_updater_lambda: Refreshing state... (ID: -removed-) aws_iam_policy_attachment.AmazonEC2ContainerServiceforEC2Role: Refreshing state... (ID: -removed-) aws_iam_policy_attachment.AmazonEC2ContainerServiceRole: Refreshing state... (ID: -removed-) aws_ecs_task_definition.cm: Refreshing state... (ID: -removed-) aws_iam_role_policy_attachment.lambda_role_attachment: Refreshing state... (ID: -removed-) aws_acm_certificate_validation.ssl_cert_validation: Refreshing state... (ID: -removed-) aws_iam_policy_attachment.api-attachment: Refreshing state... (ID: -removed-) aws_lambda_alias.alias: Refreshing state... (ID: -removed-) aws_api_gateway_domain_name.api_domain: Refreshing state... (ID: -removed-) aws_security_group.alb: Refreshing state... (ID: -removed-) aws_db_parameter_group.rds_ipf: Refreshing state... (ID: -removed-) aws_lb_target_group.nlb: Refreshing state... (ID: -removed-) aws_security_group.ecs_instance: Refreshing state... (ID: -removed-) aws_security_group.rds_ipf: Refreshing state... (ID: -removed-) aws_subnet.ipf-public-2: Refreshing state... (ID: -removed-) aws_subnet.ipf-public-1: Refreshing state... (ID: -removed-) aws_internet_gateway.plugin: Refreshing state... (ID: -removed-) aws_alb_target_group.webhook: Refreshing state... (ID: -removed-) aws_subnet.ipf-private-2: Refreshing state... (ID: -removed-) aws_subnet.ipf-private-1: Refreshing state... (ID: -removed-) aws_alb_target_group.alb: Refreshing state... (ID: -removed-) aws_route53_zone.site-int-private: Refreshing state... (ID: -removed-) aws_api_gateway_base_path_mapping.api_stage: Refreshing state... (ID: -removed-) aws_route53_record.api-public-A: Refreshing state... (ID: -removed-)
Error: panic: runtime error: invalid memory address or nil pointer dereference 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: [signal 0xc0000005 code=0x0 addr=0x0 pc=0x1de9fa1] 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: goroutine 587 [running]: 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: github.com/terraform-providers/terraform-provider-aws/aws.flattenAwsLbTargetGroupResource(0xc042253ab0, 0x26ec040, 0xc042084a00, 0xc042c20510, 0x0, 0x0) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_lb_target_group.go:468 +0x601 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsLbTargetGroupRead(0xc042253ab0, 0x26ec040, 0xc042084a00, 0xc042253ab0, 0x0) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_lb_target_group.go:276 +0x292 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema.(Resource).Refresh(0xc042252690, 0xc042defdb0, 0x26ec040, 0xc042084a00, 0xc042054740, 0xfb823700980fc601, 0x8006fc03e30) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:354 +0x185 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema.(Provider).Refresh(0xc0422527e0, 0xc042defd60, 0xc042defdb0, 0x69c2148, 0x0, 0x0) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:308 +0xa1 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/plugin.(ResourceProviderServer).Refresh(0xc0423c8140, 0xc042d8d670, 0xc042d8d740, 0x0, 0x0) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:549 +0x55 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: reflect.Value.call(0xc04234cb40, 0xc042162058, 0x13, 0x2b07230, 0x4, 0xc042ca1f20, 0x3, 0x3, 0xc042b52200, 0x0, ...) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /usr/local/go/src/reflect/value.go:434 +0x90c 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: reflect.Value.Call(0xc04234cb40, 0xc042162058, 0x13, 0xc042ca1f20, 0x3, 0x3, 0x0, 0x0, 0x0) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /usr/local/go/src/reflect/value.go:302 +0xab 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: net/rpc.(service).call(0xc04215a140, 0xc0421481e0, 0xc042154060, 0xc04216c800, 0xc0423c86c0, 0x2237d60, 0xc042d8d670, 0x16, 0x2237da0, 0xc042d8d740, ...) 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /usr/local/go/src/net/rpc/server.go:381 +0x149 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: created by net/rpc.(Server).ServeCodec 2018-03-28T17:06:32.563-0500 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4.exe: /usr/local/go/src/net/rpc/server.go:475 +0x372 2018/03/28 17:06:32 [ERROR] root.s3: eval: terraform.EvalRefresh, err: aws_s3_bucket.servers-b: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.s3: eval: terraform.EvalRefresh, err: aws_s3_bucket.clients-b: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.subnets: eval: terraform.EvalRefresh, err: aws_subnet.ipf-private-2: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.rds: eval: terraform.EvalRefresh, err: aws_db_parameter_group.rds_ipf: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.load_balancers: eval: terraform.EvalRefresh, err: aws_alb_target_group.webhook: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.load_balancers: eval: terraform.EvalSequence, err: aws_alb_target_group.webhook: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.subnets: eval: terraform.EvalSequence, err: aws_subnet.ipf-private-2: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.s3: eval: terraform.EvalSequence, err: aws_s3_bucket.clients-b: unexpected EOF 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.s3.aws_s3_bucket.clients-b 2018/03/28 17:06:32 [ERROR] root.load_balancers: eval: terraform.EvalRefresh, err: aws_lb_target_group.nlb: unexpected EOF 2018/03/28 17:06:32 [ERROR] root.load_balancers: eval: terraform.EvalSequence, err: aws_lb_target_group.nlb: unexpected EOF 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.load_balancers.aws_lb_target_group.nlb 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalGetProvider 2018/03/28 17:06:32 [TRACE] root.load_balancers: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.s3.aws_s3_bucket.clients" 2018/03/28 17:06:32 [ERROR] root.s3: eval: terraform.EvalSequence, err: aws_s3_bucket.servers-b: unexpected EOF 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.s3.aws_s3_bucket.servers-b 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.s3.aws_s3_bucket_notification.clients" 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalReadState 2018/03/28 17:06:32 [ERROR] root.ecs_cluster: eval: terraform.EvalRefresh, err: aws_security_group.ecs_instance: unexpected EOF 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.s3.provider.aws.backup_provider (close)" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.s3.aws_s3_bucket.servers" 2018/03/28 17:06:32 [ERROR] root.ecs_cluster: eval: terraform.EvalSequence, err: aws_security_group.ecs_instance: unexpected EOF 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.s3.aws_s3_bucket_notification.servers" 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.ecs_cluster.aws_security_group.ecs_instance 2018/03/28 17:06:32 [ERROR] root.subnets: eval: terraform.EvalRefresh, err: aws_subnet.ipf-public-1: unexpected EOF 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.s3.output.notification_bucket_arns" 2018/03/28 17:06:32 [ERROR] root.subnets: eval: terraform.EvalSequence, err: aws_subnet.ipf-public-1: unexpected EOF 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.subnets.aws_subnet.ipf-public-1 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.aws_security_group_rule.all_outbound_all" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.lambda.var.notificiation_bucket_arns" 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.output.security_group_id" 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalInterpolate 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.aws_security_group_rule.all_inbound_ports" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.subnets.output.public_subnet_1_id" 2018/03/28 17:06:32 [ERROR] root.rds: eval: terraform.EvalSequence, err: aws_db_parameter_group.rds_ipf: unexpected EOF 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.rds.aws_db_parameter_group.rds_ipf 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.load_balancers.aws_alb_target_group.webhook 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalNoop 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.subnets.aws_subnet.ipf-private-2 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalOpFilter 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalWriteOutput 2018/03/28 17:06:32 [TRACE] root.rds: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root.rds: eval: terraform.EvalNoop 2018/03/28 17:06:32 [TRACE] root.rds: eval: terraform.EvalOpFilter 2018/03/28 17:06:32 [TRACE] root.rds: eval: terraform.EvalWriteOutput 2018/03/28 17:06:32 [ERROR] root.ecs_cluster: eval: terraform.EvalReadDataApply, err: data.aws_ami.ecs: unexpected EOF 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalCountCheckComputed 2018/03/28 17:06:32 [ERROR] root.ecs_cluster: eval: terraform.EvalSequence, err: data.aws_ami.ecs: unexpected EOF 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalIf 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalRefresh 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.aws_security_group_rule.all_inbound_ssh" 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalNoop 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalOpFilter 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalWriteOutput 2018/03/28 17:06:32 [ERROR] root.subnets: eval: terraform.EvalRefresh, err: aws_subnet.ipf-private-1: connection is shut down 2018/03/28 17:06:32 [ERROR] root.subnets: eval: terraform.EvalSequence, err: aws_subnet.ipf-private-1: connection is shut down 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.subnets.aws_subnet.ipf-private-1 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.lambda.aws_lambda_permission.allow_s3" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.output.db_paramater_group_id" 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalNoop 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalOpFilter 2018/03/28 17:06:32 [TRACE] root.subnets: eval: terraform.EvalWriteOutput 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.subnets.output.private_subnet_1_id" 2018/03/28 17:06:32 [TRACE] root.load_balancers: eval: terraform.EvalGetProvider 2018/03/28 17:06:32 [TRACE] root.load_balancers: eval: terraform.EvalReadState 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalGetProvider 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalReadState 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.subnets.output.private_subnet_2_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.var.private_subnet_ids" 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalCountFixZeroOneBoundary 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.aws_lb.nlb" 2018/03/28 17:06:32 [ERROR] root.route-tables: eval: terraform.EvalRefresh, err: aws_internet_gateway.plugin: unexpected EOF 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.output.ipf_registry_nlb_arn" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.output.nlb_zone_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.api-gateway.var.nlb_registry_arn" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.aws_lb_listener.nlb" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.output.nlb_dns" 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.ecs_cluster.data.aws_ami.ecs 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.api-gateway.output.api_domain_cloudfront_domain_name 2018/03/28 17:06:32 [TRACE] root.load_balancers: eval: terraform.EvalRefresh 2018/03/28 17:06:32 [ERROR] root.route-tables: eval: terraform.EvalSequence, err: aws_internet_gateway.plugin: unexpected EOF 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.api-gateway.aws_api_gateway_vpc_link.api" 2018/03/28 17:06:32 [ERROR] root.load_balancers: eval: terraform.EvalRefresh, err: aws_alb_target_group.alb: connection is shut down 2018/03/28 17:06:32 [ERROR] root.load_balancers: eval: terraform.EvalSequence, err: aws_alb_target_group.alb: connection is shut down 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.api-gateway.aws_api_gateway_deployment.api" 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.load_balancers.aws_alb_target_group.alb 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.api-gateway.aws_api_gateway_base_path_mapping.api_stage 2018/03/28 17:06:32 [TRACE] vertex 'root.module.api-gateway.aws_api_gateway_base_path_mapping.api_stage': expanding/walking dynamic subgraph 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalRefresh 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.aws_launch_configuration.ecs_instance" 2018/03/28 17:06:32 [ERROR] root.route53: eval: terraform.EvalRefresh, err: aws_route53_zone.site-int-private: connection is shut down 2018/03/28 17:06:32 [ERROR] root.route53: eval: terraform.EvalSequence, err: aws_route53_zone.site-int-private: connection is shut down 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.route53.aws_route53_zone.site-int-private 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.route-tables.aws_internet_gateway.plugin 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.subnets.output.public_subnet_2_id 2018/03/28 17:06:32 [TRACE] Graph after step *terraform.ResourceCountTransformer:
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] OrphanResourceCount: Starting... 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.var.subnet_ids" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.route-tables.aws_route_table.plugin-public" 2018/03/28 17:06:32 [TRACE] OrphanResourceCount: Checking: module.api-gateway.aws_api_gateway_base_path_mapping.api_stage 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.aws_db_subnet_group.rds_ipf" 2018/03/28 17:06:32 [TRACE] Graph after step terraform.OrphanResourceCountTransformer:
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.var.subnet_ids" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.route-tables.var.public_subnet_ids" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.output.db_subnet_group_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.var.public_subnet_ids" 2018/03/28 17:06:32 [TRACE] dag/walk: walking "module.route53.var.api_domain_cloudfront_domain_name" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.route-tables.aws_route_table_association.ipf-public-routes" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.aws_autoscaling_group.ecs_cluster_instances" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.aws_alb.alb" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.output.asg_name" 2018/03/28 17:06:32 [TRACE] vertex 'root.module.route53.var.api_domain_cloudfront_domain_name': walking 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.output.alb_dns" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.var.asg_name" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.output.ipf_registry_alb_arn" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.aws_autoscaling_attachment.tg_attachment_webhook" 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.api-gateway.output.api_domain_cloudfront_zone_id 2018/03/28 17:06:32 [TRACE] dag/walk: walking "module.route53.var.api_domain_cloudfront_zone_id" 2018/03/28 17:06:32 [TRACE] vertex 'root.module.route53.var.api_domain_cloudfront_domain_name': evaluating 2018/03/28 17:06:32 [TRACE] [walkRefresh] Entering eval tree: module.route53.var.api_domain_cloudfront_domain_name 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.aws_lb_listener.alb" 2018/03/28 17:06:32 [TRACE] vertex 'root.module.route53.var.api_domain_cloudfront_zone_id': walking 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.aws_rds_cluster.rds_ipf" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.output.cluster_resource_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.output.alb_zone_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.aws_rds_cluster_instance.rds_ipf" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.output.cluster_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.route53.var.alb_zone_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.output.instance_ids" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.aws_autoscaling_attachment.tg_attachment_alb" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.load_balancers.aws_autoscaling_attachment.tg_attachment_nlb" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.route-tables.output.internet_gateway_id" 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalNoop 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalOpFilter 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.iam.var.rds_cluster_resource_id" 2018/03/28 17:06:32 [TRACE] vertex 'root.module.route53.var.api_domain_cloudfront_zone_id': evaluating 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.route53.var.alb_dns" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.var.db_cluster_resource_id" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.output.db_server" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.route53.aws_route53_record.public-A" 2018/03/28 17:06:32 [DEBUG] Attaching resource state to "module.api-gateway.aws_api_gateway_base_path_mapping.api_stage": &terraform.ResourceState{Type:"aws_api_gateway_base_path_mapping", Dependencies:[]string{"aws_api_gateway_domain_name.api_domain", "aws_api_gateway_rest_api.api"}, Primary:(terraform.InstanceState)(0xc042f38b90), Deposed:[]terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}} 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.var.registry_db_server" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.rds.output.dbi_instance_resource_ids" 2018/03/28 17:06:32 [TRACE] Graph after step terraform.AttachStateTransformer:
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.var.db_cluster_identitfier" 2018/03/28 17:06:32 [TRACE] Graph after step terraform.TargetsTransformer:
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.var.db_cluster_instance_resource_ids" 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalInterpolate 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.data.template_file.registry" 2018/03/28 17:06:32 [DEBUG] ReferenceTransformer: "module.api-gateway.aws_api_gateway_base_path_mapping.api_stage" references: [] 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "provider.template (close)" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.ecs_cluster.aws_ecs_task_definition.registry" 2018/03/28 17:06:32 [TRACE] [walkRefresh] Entering eval tree: module.route53.var.api_domain_cloudfront_zone_id 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalNoop 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalOpFilter 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalInterpolate 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.iam.var.rds_cluster_instance_ids" 2018/03/28 17:06:32 [TRACE] Graph after step terraform.ReferenceTransformer:
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] Graph after step terraform.RootTransformer:
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.iam.aws_iam_policy.ipf-registry-manager-policy" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "module.iam.aws_iam_policy_attachment.registry_manager" 2018/03/28 17:06:32 [TRACE] dag/walk: added new vertex: "module.api-gateway.aws_api_gateway_base_path_mapping.api_stage" 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.rds.output.db_security_group_id 2018/03/28 17:06:32 [TRACE] dag/walk: walking "module.api-gateway.aws_api_gateway_base_path_mapping.api_stage" 2018/03/28 17:06:32 [TRACE] vertex 'root.api-gateway.module.api-gateway.aws_api_gateway_base_path_mapping.api_stage': walking 2018/03/28 17:06:32 [TRACE] vertex 'root.api-gateway.module.api-gateway.aws_api_gateway_base_path_mapping.api_stage': evaluating 2018/03/28 17:06:32 [TRACE] [walkRefresh] Entering eval tree: module.api-gateway.aws_api_gateway_base_path_mapping.api_stage 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalGetProvider 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalReadState 2018/03/28 17:06:32 [TRACE] root.api-gateway: eval: terraform.EvalRefresh 2018/03/28 17:06:32 [ERROR] root.api-gateway: eval: terraform.EvalRefresh, err: aws_api_gateway_base_path_mapping.api_stage: connection is shut down 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalVariableBlock 2018/03/28 17:06:32 [ERROR] root.api-gateway: eval: terraform.EvalSequence, err: aws_api_gateway_base_path_mapping.api_stage: connection is shut down 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.api-gateway.aws_api_gateway_base_path_mapping.api_stage 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalVariableBlock 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalCoerceMapVariable 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalCoerceMapVariable 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalTypeCheckVariable 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalTypeCheckVariable 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalSetVariables 2018/03/28 17:06:32 [TRACE] root: eval: terraform.EvalSetVariables 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.route53.var.api_domain_cloudfront_domain_name 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.route53.var.api_domain_cloudfront_zone_id 2018/03/28 17:06:32 [TRACE] dag/walk: walking "module.route53.aws_route53_record.api-public-A" 2018/03/28 17:06:32 [TRACE] vertex 'root.module.route53.aws_route53_record.api-public-A': walking 2018/03/28 17:06:32 [TRACE] vertex 'root.module.route53.aws_route53_record.api-public-A': evaluating 2018/03/28 17:06:32 [TRACE] [walkRefresh] Entering eval tree: module.route53.aws_route53_record.api-public-A 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalInterpolate 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalCountCheckComputed 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalIf 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalCountFixZeroOneBoundary 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.route53.aws_route53_record.api-public-A 2018/03/28 17:06:32 [TRACE] vertex 'root.module.route53.aws_route53_record.api-public-A': expanding/walking dynamic subgraph 2018/03/28 17:06:32 [TRACE] Graph after step *terraform.ResourceCountTransformer:
module.route53.aws_route53_record.api-public-A - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] OrphanResourceCount: Starting... 2018/03/28 17:06:32 [TRACE] OrphanResourceCount: Checking: module.route53.aws_route53_record.api-public-A 2018/03/28 17:06:32 [TRACE] Graph after step terraform.OrphanResourceCountTransformer:
module.route53.aws_route53_record.api-public-A - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [DEBUG] Attaching resource state to "module.route53.aws_route53_record.api-public-A": &terraform.ResourceState{Type:"aws_route53_record", Dependencies:[]string{"data.aws_route53_zone.public_zone"}, Primary:(terraform.InstanceState)(0xc0428574a0), Deposed:[]terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}} 2018/03/28 17:06:32 [TRACE] Graph after step terraform.AttachStateTransformer:
module.route53.aws_route53_record.api-public-A - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] Graph after step terraform.TargetsTransformer:
module.route53.aws_route53_record.api-public-A - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [DEBUG] ReferenceTransformer: "module.route53.aws_route53_record.api-public-A" references: [] 2018/03/28 17:06:32 [TRACE] Graph after step terraform.ReferenceTransformer:
module.route53.aws_route53_record.api-public-A - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] Graph after step terraform.RootTransformer:
module.route53.aws_route53_record.api-public-A - terraform.NodeRefreshableManagedResourceInstance 2018/03/28 17:06:32 [TRACE] dag/walk: added new vertex: "module.route53.aws_route53_record.api-public-A" 2018/03/28 17:06:32 [TRACE] dag/walk: walking "module.route53.aws_route53_record.api-public-A" 2018/03/28 17:06:32 [TRACE] vertex 'root.route53.module.route53.aws_route53_record.api-public-A': walking 2018/03/28 17:06:32 [TRACE] vertex 'root.route53.module.route53.aws_route53_record.api-public-A': evaluating 2018/03/28 17:06:32 [TRACE] [walkRefresh] Entering eval tree: module.route53.aws_route53_record.api-public-A 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalSequence 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalGetProvider 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalReadState 2018/03/28 17:06:32 [TRACE] root.route53: eval: terraform.EvalRefresh 2018/03/28 17:06:32 [ERROR] root.route53: eval: terraform.EvalRefresh, err: aws_route53_record.api-public-A: connection is shut down 2018/03/28 17:06:32 [ERROR] root.route53: eval: *terraform.EvalSequence, err: aws_route53_record.api-public-A: connection is shut down 2018/03/28 17:06:32 [TRACE] [walkRefresh] Exiting eval tree: module.route53.aws_route53_record.api-public-A 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "provider.aws (close)" 2018/03/28 17:06:32 [TRACE] dag/walk: upstream errored, not walking "root" 2018/03/28 17:06:32 [DEBUG] plugin: waiting for all plugin processes to complete... 2018-03-28T17:06:32.570-0500 [WARN ] plugin: error closing client during Kill: err="connection is shut down" 2018-03-28T17:06:32.572-0500 [WARN ] plugin: error closing client during Kill: err="unexpected EOF" 2018-03-28T17:06:32.581-0500 [DEBUG] plugin: plugin process exited: path=C:\Source\sailpoint\labs\IDN.Plugin.Framework\plugin-terraform\teraform-configurations.terraform\plugins\windows_amd64\terraform-provider-template_v1.0.0_x4.exe 2018-03-28T17:06:32.582-0500 [DEBUG] plugin: plugin process exited: path=C:\Source\sailpoint\labs\IDN.Plugin.Framework\plugin-terraform\teraform-configurations.terraform\plugins\windows_amd64\terraform-provider-aws_v1.12.0_x4.exe
Error refreshing state: 15 error(s) occurre
d!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform. A crash log has been placed at "crash.log" relative to your current working directory. It would be immensely helpful if you could please report the crash with Terraform1 so that we can fix this.
When reporting bugs, please include your terraform version. That information is available on the first line of crash.log. You can also get it by running 'terraform --version' on the command line.
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! :
module.load_balancers.aws_lb_target_group.nlb: 1 error(s) occurred:
module.load_balancers.aws_lb_target_group.nlb: aws_lb_target_group.nlb: unexpected EOF
module.s3.aws_s3_bucket.servers-b: 1 error(s) occurred:
module.s3.aws_s3_bucket.servers-b: aws_s3_bucket.servers-b: unexpected EOF
module.ecs_cluster.aws_security_group.ecs_instance: 1 error(s) occurred:
module.ecs_cluster.aws_security_group.ecs_instance: aws_security_group.ecs_instance: unexpected EOF
module.load_balancers.aws_alb_target_group.alb: 1 error(s) occurred:
module.load_balancers.aws_alb_target_group.alb: aws_alb_target_group.alb: connection is shut down
module.s3.aws_s3_bucket.clients-b: 1 error(s) occurred:
module.s3.aws_s3_bucket.clients-b: aws_s3_bucket.clients-b: unexpected EOF
module.route53.aws_route53_zone.site-int-private: 1 error(s) occurred:
module.route53.aws_route53_zone.site-int-private: aws_route53_zone.site-int-private: connection is shut down
module.subnets.aws_subnet.ipf-private-2: 1 error(s) occurred:
module.subnets.aws_subnet.ipf-private-2: aws_subnet.ipf-private-2: unexpected EOF
module.subnets.aws_subnet.ipf-private-1: 1 error(s) occurred:
module.subnets.aws_subnet.ipf-private-1: aws_subnet.ipf-private-1: connection is shut down
module.route-tables.aws_internet_gateway.plugin: 1 error(s) occurred:
module.route-tables.aws_internet_gateway.plugin: aws_internet_gateway.plugin: unexpected EOF
module.ecs_cluster.data.aws_ami.ecs: 1 error(s) occurred:
module.ecs_cluster.data.aws_ami.ecs: data.aws_ami.ecs: unexpected EOF
module.rds.aws_db_parameter_group.rds_ipf: 1 error(s) occurred:
module.rds.aws_db_parameter_group.rds_ipf: aws_db_parameter_group.rds_ipf: unexpected EOF
module.load_balancers.aws_alb_target_group.webhook: 1 error(s) occurred:
module.load_balancers.aws_alb_target_group.webhook: aws_alb_target_group.webhook: unexpected EOF
module.route53.aws_route53_record.api-public-A: 1 error(s) occurred:
module.route53.aws_route53_record.api-public-A: aws_route53_record.api-public-A: connection is shut down
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage: 1 error(s) occurred:
module.api-gateway.aws_api_gateway_base_path_mapping.api_stage: aws_api_gateway_base_path_mapping.api_stage: connection is shut down
module.subnets.aws_subnet.ipf-public-1: 1 error(s) occurred:
module.subnets.aws_subnet.ipf-public-1: aws_subnet.ipf-public-1: unexpected EOF
2018-03-28T15:14:34.774-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: Action=DescribeTargetGroups&TargetGroupArns.member.1=arn%3Aaws%3Aelasticloadbalancing%3Aus-east-1%3A017553722036%3Atargetgroup%2Fok2-ldapi%2Fb4205f75fd324e38&Version=2015-12-01
2018-03-28T15:14:34.774-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: -----------------------------------------------------
2018-03-28T15:14:35.108-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: 2018/03/28 15:14:35 [DEBUG] [aws-sdk-go] DEBUG: Response elasticloadbalancing/DescribeTargetGroups Details:
2018-03-28T15:14:35.108-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: ---[ RESPONSE ]--------------------------------------
2018-03-28T15:14:35.108-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: HTTP/1.1 200 OK
2018-03-28T15:14:35.108-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: Connection: close
2018-03-28T15:14:35.108-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: Content-Length: 1073
2018-03-28T15:14:35.108-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: Content-Type: text/xml
2018-03-28T15:14:35.108-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: Date: Wed, 28 Mar 2018 22:14:34 GMT
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: X-Amzn-Requestid: 65b629ad-32d5-11e8-ab08-75f9c4b75b69
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4:
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4:
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: -----------------------------------------------------
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: 2018/03/28 15:14:35 [DEBUG] [aws-sdk-go] <DescribeTargetGroupsResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/">
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <DescribeTargetGroupsResult>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <TargetGroups>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <member>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <TargetGroupArn>arn:aws:elasticloadbalancing:us-east-1:017553722036:targetgroup/ok2-ldapi/b4205f75fd324e38</TargetGroupArn>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <HealthCheckTimeoutSeconds>10</HealthCheckTimeoutSeconds>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <HealthCheckPort>9389</HealthCheckPort>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <TargetType>instance</TargetType>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <TargetGroupName>ok2-ldapi</TargetGroupName>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <HealthCheckProtocol>TCP</HealthCheckProtocol>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <Protocol>TCP</Protocol>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <Port>389</Port>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <VpcId>vpc-ce8ea6ab</VpcId>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <HealthyThresholdCount>3</HealthyThresholdCount>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <HealthCheckIntervalSeconds>30</HealthCheckIntervalSeconds>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <LoadBalancerArns/>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <UnhealthyThresholdCount>3</UnhealthyThresholdCount>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: </member>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: </TargetGroups>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: </DescribeTargetGroupsResult>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <ResponseMetadata>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: <RequestId>65b629ad-32d5-11e8-ab08-75f9c4b75b69</RequestId>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: </ResponseMetadata>
2018-03-28T15:14:35.109-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: </DescribeTargetGroupsResponse>
2018-03-28T15:14:35.111-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: panic: runtime error: invalid memory address or nil pointer dereference
2018-03-28T15:14:35.111-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1d4e5da]
2018-03-28T15:14:35.111-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4:
2018-03-28T15:14:35.111-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: goroutine 702 [running]:
2018-03-28T15:14:35.111-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.flattenAwsLbTargetGroupResource(0xc420222e70, 0x264d900, 0xc4202f0280, 0xc420699950, 0x0, 0xc420288b38)
2018-03-28T15:14:35.111-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_lb_target_group.go:468 +0x5fa
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsLbTargetGroupRead(0xc420222e70, 0x264d900, 0xc4202f0280, 0x0, 0x0)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_lb_target_group.go:276 +0x28b
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsLbTargetGroupUpdate(0xc420222e70, 0x264d900, 0xc4202f0280, 0x0, 0x0)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_lb_target_group.go:378 +0x178
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsLbTargetGroupCreate(0xc420222e70, 0x264d900, 0xc4202f0280, 0xc420222e70, 0x0)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_lb_target_group.go:254 +0x8f9
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc420157340, 0xc420783c20, 0xc42044c7a0, 0x264d900, 0xc4202f0280, 0x1, 0xc420327260, 0xc420327260)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:227 +0x364
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc420157500, 0xc420783bd0, 0xc420783c20, 0xc42044c7a0, 0x7f8522eb9000, 0x0, 0x45)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:283 +0xa4
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc4204ac720, 0xc42044c700, 0xc420448630, 0x0, 0x0)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:527 +0x57
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: reflect.Value.call(0xc4205867e0, 0xc42000cc60, 0x13, 0x2a69310, 0x4, 0xc420372f20, 0x3, 0x3, 0x0, 0x0, ...)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /usr/local/go/src/reflect/value.go:434 +0x905
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: reflect.Value.Call(0xc4205867e0, 0xc42000cc60, 0x13, 0xc4207b5720, 0x3, 0x3, 0xc42037f440, 0x0, 0x0)
2018-03-28T15:14:35.112-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /usr/local/go/src/reflect/value.go:302 +0xa4
2018-03-28T15:14:35.113-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: net/rpc.(*service).call(0xc42039c400, 0xc420320230, 0xc4205825c0, 0xc42060e180, 0xc4204ac7c0, 0x2198920, 0xc42044c700, 0x16, 0x2198960, 0xc420448630, ...)
2018-03-28T15:14:35.113-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /usr/local/go/src/net/rpc/server.go:381 +0x142
2018-03-28T15:14:35.113-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: created by net/rpc.(*Server).ServeCodec
2018-03-28T15:14:35.113-0700 [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: /usr/local/go/src/net/rpc/server.go:475 +0x36b
2018-03-28T15:14:35.118-0700 [DEBUG] plugin: plugin process exited: path=/home/rmuscaritolo/okta/terraform/aws-prod/aue1p/vpc/ok2/service_ldapi/.terraform/plugins/linux_amd64/terraform-provider-aws_v1.12.0_x4
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalWriteState
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalApplyProvisioners
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalIf
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalWriteState
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalWriteDiff
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalApplyPost
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* aws_lb_target_group.ldapi: unexpected EOF
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* aws_lb_target_group.ldapi: unexpected EOF
2018/03/28 15:14:35 [TRACE] [walkApply] Exiting eval tree: module.ldapi.aws_lb_target_group.ldapi
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalSequence
2018/03/28 15:14:35 [TRACE] dag/walk: upstream errored, not walking "module.ldapi.aws_lb_listener.ldapi"
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInstanceInfo
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalReadDiff
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalIf
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: terraform.EvalNoop
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalIf
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInterpolate
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInterpolate
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalGetProvider
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalReadState
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalValidateResource
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalValidateResource, err: Warnings: []. Errors: [connection is shut down]
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalSequence, err: Warnings: []. Errors: [connection is shut down]
2018/03/28 15:14:35 [TRACE] [walkApply] Exiting eval tree: module.ldapi.aws_lb_target_group.ldapi_secure
2018/03/28 15:14:35 [TRACE] dag/walk: walking "module.ldapi.aws_lb_listener.ldapi_secure"
2018/03/28 15:14:35 [TRACE] vertex 'root.module.ldapi.aws_lb_listener.ldapi_secure': walking
2018/03/28 15:14:35 [TRACE] vertex 'root.module.ldapi.aws_lb_listener.ldapi_secure': evaluating
2018/03/28 15:14:35 [TRACE] [walkApply] Entering eval tree: module.ldapi.aws_lb_listener.ldapi_secure
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalLocal
2018/03/28 15:14:35 [TRACE] [walkApply] Exiting eval tree: module.ldapi.local.task_definition
2018/03/28 15:14:35 [TRACE] dag/walk: walking "module.ldapi.aws_ecs_service.ldapi_secure"
2018/03/28 15:14:35 [TRACE] vertex 'root.module.ldapi.aws_ecs_service.ldapi_secure': walking
2018/03/28 15:14:35 [TRACE] vertex 'root.module.ldapi.aws_ecs_service.ldapi_secure': evaluating
2018/03/28 15:14:35 [TRACE] [walkApply] Entering eval tree: module.ldapi.aws_ecs_service.ldapi_secure
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalSequence
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInstanceInfo
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalReadDiff
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalIf
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: terraform.EvalNoop
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalIf
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInterpolate
2018/03/28 15:14:35 [TRACE] dag/walk: upstream errored, not walking "module.ldapi.aws_ecs_service.ldapi"
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInterpolate
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalInterpolate, err: Resource 'aws_lb_target_group.ldapi_secure' not found for variable 'aws_lb_target_group.ldapi_secure.arn'
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalSequence, err: Resource 'aws_lb_target_group.ldapi_secure' not found for variable 'aws_lb_target_group.ldapi_secure.arn'
2018/03/28 15:14:35 [TRACE] [walkApply] Exiting eval tree: module.ldapi.aws_lb_listener.ldapi_secure
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalSequence
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInstanceInfo
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalReadDiff
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalIf
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: terraform.EvalNoop
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalIf
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInterpolate
2018/03/28 15:14:35 [TRACE] root.ldapi: eval: *terraform.EvalInterpolate
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalInterpolate, err: Resource 'aws_lb_target_group.ldapi_secure' not found for variable 'aws_lb_target_group.ldapi_secure.arn'
2018/03/28 15:14:35 [ERROR] root.ldapi: eval: *terraform.EvalSequence, err: Resource 'aws_lb_target_group.ldapi_secure' not found for variable 'aws_lb_target_group.ldapi_secure.arn'
2018/03/28 15:14:35 [TRACE] [walkApply] Exiting eval tree: module.ldapi.aws_ecs_service.ldapi_secure
2018/03/28 15:14:35 [TRACE] dag/walk: upstream errored, not walking "provider.aws (close)"
2018/03/28 15:14:35 [TRACE] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2018/03/28 15:14:35 [TRACE] dag/walk: upstream errored, not walking "root"
2018/03/28 15:14:35 [TRACE] Preserving existing state lineage "e1aa8aba-d69d-8be5-5b72-04f63e97b8ff"
2018/03/28 15:14:35 [TRACE] Preserving existing state lineage "e1aa8aba-d69d-8be5-5b72-04f63e97b8ff"
2018/03/28 15:14:35 [TRACE] Preserving existing state lineage "e1aa8aba-d69d-8be5-5b72-04f63e97b8ff"
2018/03/28 15:14:35 [DEBUG] Uploading remote state to S3: {
Body: buffer(0xc420873c20),
This issue has been automatically migrated to terraform-providers/terraform-provider-aws#3965 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to terraform-providers/terraform-provider-aws#3965.
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.
Terraform Version
Terraform Configuration Files
Crash Output
Expected Behavior
Terraform plan runs
Actual Behavior
Terraform crashed
Steps to Reproduce
terraform init terraform get terraform plan
Additional Context
We are running terraform in a CICD pipeline. We run hundreds of plans and applies a day, and are only getting it on this repo. We attempted to go back to an old state file and still have the same issue. When we remove the state file and run the TF it works fine, and attempts to re-build all the resources as expected.