-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource/timestreamwrite_table: new resource #19354
Conversation
TableName: aws.String(tableName), | ||
} | ||
|
||
_, err = conn.DeleteTableWithContext(ctx, input) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add line
log.Printf("[DEBUG] Deleting Timestream Table (%s)", d.Id())
so that the sweeper reports the deletion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSTimestreamWriteTable_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSTimestreamWriteTable_ -timeout 180m
=== RUN TestAccAWSTimestreamWriteTable_basic
=== PAUSE TestAccAWSTimestreamWriteTable_basic
=== RUN TestAccAWSTimestreamWriteTable_disappears
=== PAUSE TestAccAWSTimestreamWriteTable_disappears
=== RUN TestAccAWSTimestreamWriteTable_RetentionProperties
=== PAUSE TestAccAWSTimestreamWriteTable_RetentionProperties
=== RUN TestAccAWSTimestreamWriteTable_Tags
=== PAUSE TestAccAWSTimestreamWriteTable_Tags
=== CONT TestAccAWSTimestreamWriteTable_basic
=== CONT TestAccAWSTimestreamWriteTable_Tags
=== CONT TestAccAWSTimestreamWriteTable_RetentionProperties
=== CONT TestAccAWSTimestreamWriteTable_disappears
--- PASS: TestAccAWSTimestreamWriteTable_disappears (21.54s)
--- PASS: TestAccAWSTimestreamWriteTable_basic (27.19s)
--- PASS: TestAccAWSTimestreamWriteTable_Tags (55.98s)
--- PASS: TestAccAWSTimestreamWriteTable_RetentionProperties (57.08s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 60.072s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSTimestreamWriteTable_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSTimestreamWriteTable_ -timeout 180m
=== RUN TestAccAWSTimestreamWriteTable_basic
=== PAUSE TestAccAWSTimestreamWriteTable_basic
=== RUN TestAccAWSTimestreamWriteTable_disappears
=== PAUSE TestAccAWSTimestreamWriteTable_disappears
=== RUN TestAccAWSTimestreamWriteTable_RetentionProperties
=== PAUSE TestAccAWSTimestreamWriteTable_RetentionProperties
=== RUN TestAccAWSTimestreamWriteTable_Tags
=== PAUSE TestAccAWSTimestreamWriteTable_Tags
=== CONT TestAccAWSTimestreamWriteTable_basic
=== CONT TestAccAWSTimestreamWriteTable_Tags
=== CONT TestAccAWSTimestreamWriteTable_disappears
=== CONT TestAccAWSTimestreamWriteTable_RetentionProperties
^CFAIL github.com/terraform-providers/terraform-provider-aws/aws 134.323s
make: *** [testacc] Error 1
If I run aws --debug timestream-write list-databases
it hangs at
2021-05-13 11:00:41,332 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): ingest.timestream.us-gov-west-1.amazonaws.com:443
Co-authored-by: Kit Ewbank <Kit_Ewbank@hotmail.com>
🤔 maybe there was some downtime in GovCloud? I just re-ran again in
|
This has been released in version 3.40.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #15422
Output from acceptance testing (Commercial):
Output from acceptance testing (GovCloud):