enough-baker-16813
02/19/2020, 3:50 PMdebug: Google API Request Details:
debug: ---[ REQUEST ]---------------------------------------
debug: incoming output value translated: ->
debug: POST /v1beta1/projects/my-project-88b03ea/secrets?alt=json&secretId=my-secret-name HTTP/1.1
debug: incoming output property translated: id -> id
debug: Host: <http://secretmanager.googleapis.com|secretmanager.googleapis.com>
debug: User-Agent: HashiCorp Terraform/0.11+compatible (+<https://www.terraform.io>) Terraform Plugin SDK/1.4.0 terraform-provider-google-beta/dev
debug: incoming output value translated: projects/my-project -> projects/my-project
debug: Content-Length: 33
debug: Content-Type: application/json
debug: incoming output property translated: number -> number
debug: Accept-Encoding: gzip
debug:
debug: incoming output value translated: 608582423015 -> 608582423015
debug: {
debug: incoming output property translated: labels -> labels
debug: "replication": {
debug: "automatic": {}
debug: incoming output value translated: {} -> {}
debug: incoming output property translated: projectId -> project_id
debug: }
debug: }
debug: incoming output value translated: my-project -> my-project
> curl "<https://secretmanager.googleapis.com/v1beta1/projects/my-project-88b03ea/secrets?secretId=test-secret>" --request "POST" --header "authorization: Bearer $(gcloud auth print-access-token)" --header "content-type: application/json" --header "x-goog-user-project: my-project-88b03ea" --data "{\"replication\": {\"automatic\": {}}}"