Created
February 24, 2021 18:19
-
-
Save upodroid/82817606c264b484fca73f5063bd9515 to your computer and use it in GitHub Desktop.
GCS No-current object deletion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Checking source code against gofmt... | |
==> Checking that code complies with gofmt requirements... | |
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google-beta -v -run TestAccStorageBucket_forceDestroyWithVersioning -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google-beta/v3/version.ProviderVersion=acc" | |
=== RUN TestAccStorageBucket_forceDestroyWithVersioning | |
=== PAUSE TestAccStorageBucket_forceDestroyWithVersioning | |
=== CONT TestAccStorageBucket_forceDestroyWithVersioning | |
2021/02/24 18:10:16 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:10:16 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:10:22 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:10:22 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:10:23 [DEBUG] Waiting for state to become: [success] | |
2021/02/24 18:10:23 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:10:23 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:10:23 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:10:23 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
POST /storage/v1/b?alt=json&prettyPrint=false&project=REDACTED HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
Content-Length: 212 | |
Content-Type: application/json | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
{ | |
"iamConfiguration": { | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"lifecycle": { | |
"rule": [] | |
}, | |
"location": "US", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"storageClass": "STANDARD", | |
"versioning": { | |
"enabled": true | |
} | |
} | |
----------------------------------------------------- | |
2021/02/24 18:10:24 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:10:24 GMT | |
Etag: CAE= | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-Uw31iuAT79i2TAJA05GGzqh6ZgcEXUPzE2kvp9EIqWYzR0q15NoxrnalhI405iitZLEorv6aDFcUK-eRTQ8MBc | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:10:24 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:10:24 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:10:24 [DEBUG] Created bucket tf-test-acc-bucket-4967628847734850547 at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:10:24 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:10:24 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:10:24 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:10:24 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:10:25 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:10:25 GMT | |
Etag: CAE= | |
Expires: Wed, 24 Feb 2021 18:10:25 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UzkEKYjDw8EOE3x8OqsOB3-H1fkRXICZil3Wal2lHfyz3deJIV_0cYdhn23ogdI59c3WiOH5cNbNNQO-DUOn8c | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:10:25 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:10:25 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:10:25 [DEBUG] Read bucket tf-test-acc-bucket-4967628847734850547 at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:10:28 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:10:28 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:10:28 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:10:28 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:10:29 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:10:29 GMT | |
Etag: CAE= | |
Expires: Wed, 24 Feb 2021 18:10:29 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UylXlvVQ9TXNC1WflRhrWKlEwn5wpPvS9I3Mtxzq-0lFMd53ji_APg2JnprjSwwhPix4E3BukGpA_pTWez0kmNv7qT14A | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:10:29 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:10:29 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:10:32 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:10:32 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:10:39 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:10:39 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:10:39 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:10:39 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:10:39 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:10:39 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:10:39 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:10:39 GMT | |
Etag: CAE= | |
Expires: Wed, 24 Feb 2021 18:10:39 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-Uw1t91wTjMwfB8RXnt2Ei8jOHNXEO5VnsdXz3nZS21oKK6NjJD9h6Gg99jjM0X1wxIvQjt_bC0LFndNuDKJO9QD6HwYtQ | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:10:39 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:10:39 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:10:39 [DEBUG] Read bucket tf-test-acc-bucket-4967628847734850547 at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:10:42 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:10:42 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:00 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:00 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:00 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:11:00 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:11:00 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:11:00 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:11:01 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:11:01 GMT | |
Etag: CAE= | |
Expires: Wed, 24 Feb 2021 18:11:01 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UwMVxlSJExCa_RGLU6v6nXzuU31ZVv2j9YUdwjGhUi_hlFAvCAD88l5wNAVe0cc0Eq9nmOkvxKNTyEsbHcwSsY | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:11:01 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:11:01 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:11:01 [DEBUG] Read bucket tf-test-acc-bucket-4967628847734850547 at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:11:05 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:05 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:11 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:11 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:16 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:11:16 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:11:16 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:11:16 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
POST /upload/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o?alt=json&prettyPrint=false&uploadType=multipart HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
Transfer-Encoding: chunked | |
Content-Type: multipart/related; boundary=9a33a45652a50637a0a0762af304cfbab2d4d721c52d1057d2c8419724d9 | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
138 | |
--9a33a45652a50637a0a0762af304cfbab2d4d721c52d1057d2c8419724d9 | |
Content-Type: application/json | |
{ | |
"name": "bucketDestroyTestFile" | |
} | |
--9a33a45652a50637a0a0762af304cfbab2d4d721c52d1057d2c8419724d9 | |
Content-Type: text/plain; charset=utf-8 | |
test | |
--9a33a45652a50637a0a0762af304cfbab2d4d721c52d1057d2c8419724d9-- | |
0 | |
----------------------------------------------------- | |
2021/02/24 18:11:16 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 821 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:11:16 GMT | |
Etag: CL+9qrCPg+8CEAE= | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UxDcR2r2MVOAMnTt4P8XGQ1KB0ZdrRO9Jm9OC0tFX_tsUnTkhM9y6uwbusQcJ6_8XvsagRh_H2koaYeLLHGl1Q | |
{ | |
"kind": "storage#object", | |
"id": "tf-test-acc-bucket-4967628847734850547/bucketDestroyTestFile/1614190276681407", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile", | |
"mediaLink": "https://storage.googleapis.com/download/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile?generation=1614190276681407&alt=media", | |
"name": "bucketDestroyTestFile", | |
"bucket": "tf-test-acc-bucket-4967628847734850547", | |
"generation": "1614190276681407", | |
"metageneration": "1", | |
"contentType": "text/plain; charset=utf-8", | |
"storageClass": "STANDARD", | |
"size": "4", | |
"md5Hash": "CY9rzUYh03PK3k6DJie09g==", | |
"crc32c": "hqBywA==", | |
"etag": "CL+9qrCPg+8CEAE=", | |
"timeCreated": "2021-02-24T18:11:16.709Z", | |
"updated": "2021-02-24T18:11:16.709Z", | |
"timeStorageClassUpdated": "2021-02-24T18:11:16.709Z" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:11:16 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:11:16 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:11:16 [INFO] Created object bucketDestroyTestFile at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile | |
2021/02/24 18:11:20 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:20 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:27 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:27 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:27 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:11:27 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:11:27 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:11:27 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:11:27 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:11:27 GMT | |
Etag: CAE= | |
Expires: Wed, 24 Feb 2021 18:11:27 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UxQdYT0EJ-4wQQO6Dx1_P-4-H4vQWalLaGcFMoAjmaDG1DVGpG1_oUoRC0zsYE7KEzptAm2tRYPAtsZjZgjyHw | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:11:27 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:11:27 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:11:27 [DEBUG] Read bucket tf-test-acc-bucket-4967628847734850547 at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:11:31 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:31 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:47 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:47 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:47 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:11:47 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:11:47 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:11:47 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:11:48 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:11:48 GMT | |
Etag: CAE= | |
Expires: Wed, 24 Feb 2021 18:11:48 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UyrHEHIYc0IyeoKG6B_NzcNZUlWtoWdaTjQrhC3K8337AEblqaX39paeT3HMMXHEy4vV8w4rhu94Eta6LTZ95o | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:11:48 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:11:48 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:11:48 [DEBUG] Read bucket tf-test-acc-bucket-4967628847734850547 at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:11:51 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:51 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:11:57 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:11:57 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:12:00 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:00 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:00 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:00 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
POST /upload/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o?alt=json&prettyPrint=false&uploadType=multipart HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
Transfer-Encoding: chunked | |
Content-Type: multipart/related; boundary=ff4095fe71cbe6c70574858da0d0df05431086fb740c484d3c56c75240e5 | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
138 | |
--ff4095fe71cbe6c70574858da0d0df05431086fb740c484d3c56c75240e5 | |
Content-Type: application/json | |
{ | |
"name": "bucketDestroyTestFile" | |
} | |
--ff4095fe71cbe6c70574858da0d0df05431086fb740c484d3c56c75240e5 | |
Content-Type: text/plain; charset=utf-8 | |
test | |
--ff4095fe71cbe6c70574858da0d0df05431086fb740c484d3c56c75240e5-- | |
0 | |
----------------------------------------------------- | |
2021/02/24 18:12:01 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 821 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:12:01 GMT | |
Etag: COfYu8WPg+8CEAE= | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UxIy4WPGqdwRvIN-Up-1U_nkMwpiRjndHBUS-Pw3GhLqUopgeF4FyeZu8rCbNnpm5QL3bxrRsa-8kwZ-b1fvHo | |
{ | |
"kind": "storage#object", | |
"id": "tf-test-acc-bucket-4967628847734850547/bucketDestroyTestFile/1614190321003623", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile", | |
"mediaLink": "https://storage.googleapis.com/download/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile?generation=1614190321003623&alt=media", | |
"name": "bucketDestroyTestFile", | |
"bucket": "tf-test-acc-bucket-4967628847734850547", | |
"generation": "1614190321003623", | |
"metageneration": "1", | |
"contentType": "text/plain; charset=utf-8", | |
"storageClass": "STANDARD", | |
"size": "4", | |
"md5Hash": "CY9rzUYh03PK3k6DJie09g==", | |
"crc32c": "hqBywA==", | |
"etag": "COfYu8WPg+8CEAE=", | |
"timeCreated": "2021-02-24T18:12:01.112Z", | |
"updated": "2021-02-24T18:12:01.112Z", | |
"timeStorageClassUpdated": "2021-02-24T18:12:01.112Z" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:12:01 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:12:01 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:12:01 [INFO] Created object bucketDestroyTestFile at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile | |
2021/02/24 18:12:04 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:12:04 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:12:11 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:12:11 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:12:11 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:11 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:11 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:11 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:12:12 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 560 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:12:12 GMT | |
Etag: CAE= | |
Expires: Wed, 24 Feb 2021 18:12:12 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UzrQXWqt59uJPMOSxv7X9ejJbgTUV-ZkKIvEEWfh6HXDqZamKn9RjSKF1I6q7V6_f67Xkn-7w6a7JiSe1-220U | |
{ | |
"kind": "storage#bucket", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547", | |
"id": "tf-test-acc-bucket-4967628847734850547", | |
"name": "tf-test-acc-bucket-4967628847734850547", | |
"projectNumber": "550924169191", | |
"metageneration": "1", | |
"location": "US", | |
"storageClass": "STANDARD", | |
"etag": "CAE=", | |
"timeCreated": "2021-02-24T18:10:24.761Z", | |
"updated": "2021-02-24T18:10:24.761Z", | |
"versioning": { | |
"enabled": true | |
}, | |
"iamConfiguration": { | |
"bucketPolicyOnly": { | |
"enabled": false | |
}, | |
"uniformBucketLevelAccess": { | |
"enabled": false | |
} | |
}, | |
"locationType": "multi-region" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:12:12 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:12:12 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:12:12 [DEBUG] Read bucket tf-test-acc-bucket-4967628847734850547 at location https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:12:15 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:12:15 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:12:27 [INFO] Authenticating using DefaultClient... | |
2021/02/24 18:12:27 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email] | |
2021/02/24 18:12:27 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:27 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547/o?alt=json&prettyPrint=false&versions=true HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:12:27 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 1721 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:12:27 GMT | |
Expires: Wed, 24 Feb 2021 18:12:27 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-Uzhj4h_VarCCn0D5kbr7wgHMxtUzWNay1syse7XUJgvbWYBkFX9O_IupavbvTdMXlHtMRLuwhXEfVG7QBUPk6A | |
{ | |
"kind": "storage#objects", | |
"items": [ | |
{ | |
"kind": "storage#object", | |
"id": "tf-test-acc-bucket-4967628847734850547/bucketDestroyTestFile/1614190276681407", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile", | |
"mediaLink": "https://storage.googleapis.com/download/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile?generation=1614190276681407&alt=media", | |
"name": "bucketDestroyTestFile", | |
"bucket": "tf-test-acc-bucket-4967628847734850547", | |
"generation": "1614190276681407", | |
"metageneration": "1", | |
"contentType": "text/plain; charset=utf-8", | |
"storageClass": "STANDARD", | |
"size": "4", | |
"md5Hash": "CY9rzUYh03PK3k6DJie09g==", | |
"crc32c": "hqBywA==", | |
"etag": "CL+9qrCPg+8CEAE=", | |
"timeCreated": "2021-02-24T18:11:16.709Z", | |
"updated": "2021-02-24T18:11:16.709Z", | |
"timeDeleted": "2021-02-24T18:12:01.112Z", | |
"timeStorageClassUpdated": "2021-02-24T18:11:16.709Z" | |
}, | |
{ | |
"kind": "storage#object", | |
"id": "tf-test-acc-bucket-4967628847734850547/bucketDestroyTestFile/1614190321003623", | |
"selfLink": "https://www.googleapis.com/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile", | |
"mediaLink": "https://storage.googleapis.com/download/storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile?generation=1614190321003623&alt=media", | |
"name": "bucketDestroyTestFile", | |
"bucket": "tf-test-acc-bucket-4967628847734850547", | |
"generation": "1614190321003623", | |
"metageneration": "1", | |
"contentType": "text/plain; charset=utf-8", | |
"storageClass": "STANDARD", | |
"size": "4", | |
"md5Hash": "CY9rzUYh03PK3k6DJie09g==", | |
"crc32c": "hqBywA==", | |
"etag": "COfYu8WPg+8CEAE=", | |
"timeCreated": "2021-02-24T18:12:01.112Z", | |
"updated": "2021-02-24T18:12:01.112Z", | |
"timeStorageClassUpdated": "2021-02-24T18:12:01.112Z" | |
} | |
] | |
} | |
----------------------------------------------------- | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:12:27 [DEBUG] GCS Bucket attempting to forceDestroy | |
2021/02/24 18:12:27 [DEBUG] Found bucketDestroyTestFile | |
2021/02/24 18:12:27 [DEBUG] Found bucketDestroyTestFile | |
2021/02/24 18:12:27 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:27 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:27 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:27 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
DELETE /storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile?alt=json&generation=1614190276681407&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:12:27 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
DELETE /storage/v1/b/tf-test-acc-bucket-4967628847734850547/o/bucketDestroyTestFile?alt=json&generation=1614190321003623&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:12:28 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 204 No Content | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json | |
Date: Wed, 24 Feb 2021 18:12:28 GMT | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-Uwv0CnILxM2UYbr2l3Af0r7vfVqtQpbt57L2aHefkWirwapJJVeOmiGuGr01dG68KwDUu1VhjdVDQqcG7bCTqM | |
----------------------------------------------------- | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:12:28 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 204 No Content | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json | |
Date: Wed, 24 Feb 2021 18:12:28 GMT | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UzyxGzIbVdaVSYxU5jtVhe0Nmi-cWI6iopVjR-bASh_gh5sBVL9fJPud9HL2YzDG-AbErgu8H-MrD8hG1lme_A | |
----------------------------------------------------- | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:12:28 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:28 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547/o?alt=json&prettyPrint=false&versions=true HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:12:28 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 200 OK | |
Content-Length: 26 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: private, max-age=0, must-revalidate, no-transform | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:12:28 GMT | |
Expires: Wed, 24 Feb 2021 18:12:28 GMT | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UxqLpZ5m-SYhXTzHnvBLA0Pm173Dhe_cy5CSXMYVpOiaO7TbzNMAKlccm8Bo0MParuLowm0TYnT5AHkJ-Glres | |
{ | |
"kind": "storage#objects" | |
} | |
----------------------------------------------------- | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:12:28 [DEBUG] Waiting for state to become: [success] | |
2021/02/24 18:12:28 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:28 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:28 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
DELETE /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:12:29 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 204 No Content | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json | |
Date: Wed, 24 Feb 2021 18:12:29 GMT | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-Uw0C6bdwfB5nkjuoYSIDgff-VNjqbprbTVdLpZe5C2uoSxbb-KoIMP4njTIeuInbDyoTHYnGuHffBfipSa1370 | |
----------------------------------------------------- | |
2021/02/24 18:12:29 [DEBUG] Retry Transport: Stopping retries, last request was successful | |
2021/02/24 18:12:29 [DEBUG] Retry Transport: Returning after 1 attempts | |
2021/02/24 18:12:29 [DEBUG] Deleted bucket tf-test-acc-bucket-4967628847734850547 | |
2021/02/24 18:12:29 [INFO] Instantiating Google Storage client for path https://storage.googleapis.com/storage/v1/ | |
2021/02/24 18:12:29 [DEBUG] Retry Transport: starting RoundTrip retry loop | |
2021/02/24 18:12:29 [DEBUG] Retry Transport: request attempt 0 | |
2021/02/24 18:12:29 [DEBUG] Google API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
GET /storage/v1/b/tf-test-acc-bucket-4967628847734850547?alt=json&prettyPrint=false HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/0.13.2 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.2 terraform-provider-google-beta/acc | |
X-Goog-Api-Client: gl-go/1.15.5 gdcl/20210128 | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2021/02/24 18:12:29 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 404 Not Found | |
Content-Length: 117 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:12:29 GMT | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UxQS1cNBqmZoD8dvZnFKqXUVAXWjWqcEjPfS2gPVtJ3DI-c_KDFY9Sexo4-KOGS1w345cInAVob5BCxn-7ao0w | |
{ | |
"error": { | |
"code": 404, | |
"message": "Not Found", | |
"errors": [ | |
{ | |
"message": "Not Found", | |
"domain": "global", | |
"reason": "notFound" | |
} | |
] | |
} | |
} | |
----------------------------------------------------- | |
2021/02/24 18:12:29 [DEBUG] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 404 with body: HTTP/2.0 404 Not Found | |
Content-Length: 117 | |
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 24 Feb 2021 18:12:29 GMT | |
Expires: Mon, 01 Jan 1990 00:00:00 GMT | |
Pragma: no-cache | |
Server: UploadServer | |
Vary: Origin | |
Vary: X-Origin | |
X-Guploader-Uploadid: ABg5-UxQS1cNBqmZoD8dvZnFKqXUVAXWjWqcEjPfS2gPVtJ3DI-c_KDFY9Sexo4-KOGS1w345cInAVob5BCxn-7ao0w | |
{"error":{"code":404,"message":"Not Found","errors":[{"message":"Not Found","domain":"global","reason":"notFound"}]}} | |
2021/02/24 18:12:29 [DEBUG] Retry Transport: Returning after 1 attempts | |
--- PASS: TestAccStorageBucket_forceDestroyWithVersioning (167.99s) | |
PASS | |
ok github.com/hashicorp/terraform-provider-google-beta/v3/google-beta 172.101s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment