Skip to content

Instantly share code, notes, and snippets.

@mthmulders
Created November 5, 2019 08:58
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 mthmulders/71e2563bb8ce3408195f9b611474dfef to your computer and use it in GitHub Desktop.
Save mthmulders/71e2563bb8ce3408195f9b611474dfef to your computer and use it in GitHub Desktop.
terraform-providers:terraform-provider-oci/918 debug output
oci_functions_application.example: Creating...
2019/11/05 09:55:50 [DEBUG] oci_functions_application.example: applying the planned Create change
2019/11/05 09:55:50 [TRACE] GRPCProvider: ApplyResourceChange
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: 2019/11/05 09:55:50 [DEBUG] setting computed for "config" from ComputedKeys
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: 2019/11/05 09:55:50 [DEBUG] setting computed for "defined_tags" from ComputedKeys
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: 2019/11/05 09:55:50 [DEBUG] setting computed for "defined_tags" from ComputedKeys
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: 2019/11/05 09:55:50 [DEBUG] setting computed for "freeform_tags" from ComputedKeys
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089704 asm_amd64.s:1337: operation attempt #1
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089749 http.go:604: Marshaling to Request: CreateApplicationRequest
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089760 http.go:542: Marshaling to body from field:CreateApplicationDetails
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089884 http.go:160: Adjusting tag: mandatory is false and json tag is valid on field: Config
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089894 http.go:160: Adjusting tag: mandatory is false and json tag is valid on field: FreeformTags
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089913 http.go:160: Adjusting tag: mandatory is false and json tag is valid on field: DefinedTags
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089942 http.go:542: Marshaled body is: {"compartmentId":"(redacted)","displayName":"Example App","subnetIds":["(redacted)"]}
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089951 http.go:534: Marshaling to header from field: OpcRequestId
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089959 http.go:434: add request id for header: opc-request-id, with value: (redacted)
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089972 http.go:577: RequestMetadata does not contain contributes tag. Skipping.
2019-11-05T09:55:50.089+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.089980 client.go:263: Atempting to call downstream service
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.091752 log.go:168: Dump Request POST /20181201/applications HTTP/1.1
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Host: functions.eu-frankfurt-1.oci.oraclecloud.com
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: User-Agent: Oracle-GoSDK/12.2.0 (go/go1.12.6; darwin/amd64; terraform/0.12.4-dev; terraform-cli/0.12.13) Oracle-TerraformProvider/3.50.0
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Content-Length: 236
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Accept: */*
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Authorization: Signature version="1",headers="date (request-target) host content-length content-type x-content-sha256",keyId="(redacted)",algorithm="rsa-sha256",signature="(redacted)"
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Content-Type: application/json
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Date: Tue, 05 Nov 2019 08:55:50 GMT
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Opc-Client-Info: Oracle-GoSDK/12.2.0
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Opc-Request-Id: (redacted)
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: X-Content-Sha256: (redacted)
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Accept-Encoding: gzip
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4:
2019-11-05T09:55:50.091+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: {"compartmentId":"(redacted)","displayName":"Example App","subnetIds":["(redacted)"]}
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: DEBUG 2019/11/05 09:55:50.473589 log.go:168: Dump Response HTTP/1.1 400 Bad Request
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Content-Length: 81
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Content-Security-Policy: default-src 'self'
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Content-Type: application/json
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Date: Tue, 05 Nov 2019 08:55:50 GMT
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Opc-Request-Id: (redacted)
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: X-Content-Type-Options: nosniff
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: X-Content-Type-Options: nosniff
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: X-Frame-Options: deny
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: X-Xss-Protection: 1; mode=block
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4:
2019-11-05T09:55:50.473+0100 [DEBUG] plugin.terraform-provider-oci_v3.50.0_x4: {"code":"InvalidParameter","message":"displayName should be at most 255 bytes. "}
2019/11/05 09:55:50 [DEBUG] oci_functions_application.example: apply errored, but we're indicating that via the Error pointer rather than returning it: Service error:InvalidParameter. displayName should be at most 255 bytes. . http status code: 400. Opc request id: (redacted)
2019/11/05 09:55:50 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2019/11/05 09:55:50 [TRACE] EvalMaybeTainted: oci_functions_application.example encountered an error during creation, so it is now marked as tainted
2019/11/05 09:55:50 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: Service error:InvalidParameter. displayName should be at most 255 bytes. . http status code: 400. Opc request id: (redacted)
2019/11/05 09:55:50 [ERROR] <root>: eval: *terraform.EvalSequence, err: Service error:InvalidParameter. displayName should be at most 255 bytes. . http status code: 400. Opc request id: (redacted)
2019/11/05 09:55:50 [TRACE] [walkApply] Exiting eval tree: oci_functions_application.example
2019/11/05 09:55:50 [TRACE] vertex "oci_functions_application.example": visit complete
2019/11/05 09:55:50 [TRACE] dag/walk: upstream of "provider.oci (close)" errored, so skipping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment