You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please see the Terraform AWS Provider repository, but presumably this would happen with any resource configuration and ImportState + ExpectError defined.
Debug Output
Please ask if you need it.
Expected Behavior
ExpectError passes when import error message matches regular expression, which was the behavior in SDK v1. Otherwise this change to be documented in the SDK v2 upgrade guide.
Actual Behavior
=== CONT TestAccAWSKinesisFirehoseDeliveryStream_basic
TestAccAWSKinesisFirehoseDeliveryStream_basic: testing_new_import_state.go:74: failed to import: terraform failed: exit status 1
stderr:
Error: Expected ID in format of arn:PARTITION:firehose:REGION:ACCOUNTID:deliverystream/NAME and provided: just-a-name
--- FAIL: TestAccAWSKinesisFirehoseDeliveryStream_basic (101.43s)
Steps to Reproduce
TF_ACC=1 go test ./aws -v -count 1 -timeout 120m -parallel 20 -run='TestAccAWSKinesisFirehoseDeliveryStream_basic'
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Oct 11, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
SDK version
Relevant provider source code
Terraform Configuration Files
Please see the Terraform AWS Provider repository, but presumably this would happen with any resource configuration and
ImportState
+ExpectError
defined.Debug Output
Please ask if you need it.
Expected Behavior
ExpectError
passes when import error message matches regular expression, which was the behavior in SDK v1. Otherwise this change to be documented in the SDK v2 upgrade guide.Actual Behavior
Steps to Reproduce
TF_ACC=1 go test ./aws -v -count 1 -timeout 120m -parallel 20 -run='TestAccAWSKinesisFirehoseDeliveryStream_basic'
The text was updated successfully, but these errors were encountered: