Skip to content

Instantly share code, notes, and snippets.

@zioalex
Created January 15, 2020 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zioalex/0b4c01ea1a4d6213fee1cff86ae50a46 to your computer and use it in GitHub Desktop.
Save zioalex/0b4c01ea1a4d6213fee1cff86ae50a46 to your computer and use it in GitHub Desktop.
2020-01-15T18:02:39.472+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2020/01/15 18:02:40 [DEBUG] [aws-sdk-go] DEBUG: Response acm/ImportCertificate Details:
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 400 Bad Request
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 154
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-amz-json-1.1
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Wed, 15 Jan 2020 17:02:39 GMT
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amzn-Requestid: ad0750e3-bce4-441b-b3ce-07dd8c48306e
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2020/01/15 18:02:40 [DEBUG] [aws-sdk-go] {"__type":"ValidationException","message":"The certificate field contains more than one certificate. You can specify only one certificate in this field."}
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2020/01/15 18:02:40 [DEBUG] [aws-sdk-go] DEBUG: Validate Response acm/ImportCertificate failed, attempt 0/25, error ValidationException: The certificate field contains more than one certificate. You can specify only one certificate in this field.
2020-01-15T18:02:40.138+0100 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: status code: 400, request id: ad0750e3-bce4-441b-b3ce-07dd8c48306e
2020/01/15 18:02:40 [DEBUG] module.kubernetes_cluster.aws_acm_certificate.wildcard_users_service_domain[0]: apply errored, but we're indicating that via the Error pointer rather than returning it: Error updating certificate: ValidationException: The certificate field contains more than one certificate. You can specify only one certificate in this field.
status code: 400, request id: ad0750e3-bce4-441b-b3ce-07dd8c48306e
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalMaybeTainted
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalWriteState
2020/01/15 18:02:40 [TRACE] EvalWriteState: recording 0 dependencies for module.kubernetes_cluster.aws_acm_certificate.wildcard_users_service_domain[0]
2020/01/15 18:02:40 [TRACE] EvalWriteState: writing current state object for module.kubernetes_cluster.aws_acm_certificate.wildcard_users_service_domain[0]
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalApplyProvisioners
2020/01/15 18:02:40 [TRACE] EvalApplyProvisioners: aws_acm_certificate.wildcard_users_service_domain[0] is not freshly-created, so no provisioning is required
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalMaybeTainted
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalWriteState
2020/01/15 18:02:40 [TRACE] EvalWriteState: recording 0 dependencies for module.kubernetes_cluster.aws_acm_certificate.wildcard_users_service_domain[0]
2020/01/15 18:02:40 [TRACE] EvalWriteState: writing current state object for module.kubernetes_cluster.aws_acm_certificate.wildcard_users_service_domain[0]
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalIf
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalIf
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalWriteDiff
2020/01/15 18:02:40 [TRACE] module.kubernetes_cluster: eval: *terraform.EvalApplyPost
2020/01/15 18:02:40 [ERROR] module.kubernetes_cluster: eval: *terraform.EvalApplyPost, err: Error updating certificate: ValidationException: The certificate field contains more than one certificate. You can specify only one certificate in this field.
status code: 400, request id: ad0750e3-bce4-441b-b3ce-07dd8c48306e
2020/01/15 18:02:40 [ERROR] module.kubernetes_cluster: eval: *terraform.EvalSequence, err: Error updating certificate: ValidationException: The certificate field contains more than one certificate. You can specify only one certificate in this field.
status code: 400, request id: ad0750e3-bce4-441b-b3ce-07dd8c48306e
2020/01/15 18:02:40 [TRACE] [walkApply] Exiting eval tree: module.kubernetes_cluster.aws_acm_certificate.wildcard_users_service_domain[0]
2020/01/15 18:02:40 [TRACE] vertex "module.kubernetes_cluster.aws_acm_certificate.wildcard_users_service_domain[0]": visit complete
2020/01/15 18:02:40 [TRACE] dag/walk: upstream of "provider.aws (close)" errored, so skipping
2020/01/15 18:02:40 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2020/01/15 18:02:40 [TRACE] dag/walk: upstream of "root" errored, so skipping
2020/01/15 18:02:40 [TRACE] statemgr.Filesystem: creating backup snapshot at terraform.tfstate.backup
2020/01/15 18:02:40 [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 521
2020/01/15 18:02:40 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2020/01/15 18:02:40 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2020/01/15 18:02:40 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
Error: Error updating certificate: ValidationException: The certificate field contains more than one certificate. You can specify only one certificate in this field.
status code: 400, request id: ad0750e3-bce4-441b-b3ce-07dd8c48306e
on ../modules/cluster/loadbalancer.tf line 210, in resource "aws_acm_certificate" "wildcard_users_service_domain":
210: resource "aws_acm_certificate" "wildcard_users_service_domain" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment