-
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
r/aws_kendra_data_source #25686
r/aws_kendra_data_source #25686
Conversation
Step 3/3 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
f15b391
to
dea7719
Compare
dea7719
to
f4f7e30
Compare
ValidationException: Secrets Manager throws the exception: User is not authorized to perform: secretsmanager:GetSecretValue on resource: because no identity-based policy allows the secretsmanager:GetSecretValue action
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 🚀.
% ACCTEST_TIMEOUT=1800m make testacc TESTARGS='-run=TestAccKendraDataSource_' PKG=kendra ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/kendra/... -v -count 1 -parallel 3 -run=TestAccKendraDataSource_ -timeout 1800m
=== RUN TestAccKendraDataSource_basic
=== PAUSE TestAccKendraDataSource_basic
=== RUN TestAccKendraDataSource_disappears
=== PAUSE TestAccKendraDataSource_disappears
=== RUN TestAccKendraDataSource_name
=== PAUSE TestAccKendraDataSource_name
=== RUN TestAccKendraDataSource_description
=== PAUSE TestAccKendraDataSource_description
=== RUN TestAccKendraDataSource_languageCode
=== PAUSE TestAccKendraDataSource_languageCode
=== RUN TestAccKendraDataSource_roleARN
=== PAUSE TestAccKendraDataSource_roleARN
=== RUN TestAccKendraDataSource_schedule
=== PAUSE TestAccKendraDataSource_schedule
=== RUN TestAccKendraDataSource_tags
=== PAUSE TestAccKendraDataSource_tags
=== RUN TestAccKendraDataSource_typeCustomCustomizeDiff
=== PAUSE TestAccKendraDataSource_typeCustomCustomizeDiff
=== RUN TestAccKendraDataSource_Configuration_S3_Bucket
=== PAUSE TestAccKendraDataSource_Configuration_S3_Bucket
=== RUN TestAccKendraDataSource_Configuration_S3_AccessControlList
=== PAUSE TestAccKendraDataSource_Configuration_S3_AccessControlList
=== RUN TestAccKendraDataSource_Configuration_S3_DocumentsMetadataConfiguration
=== PAUSE TestAccKendraDataSource_Configuration_S3_DocumentsMetadataConfiguration
=== RUN TestAccKendraDataSource_Configuration_S3_ExclusionInclusionPatternsPrefixes
=== PAUSE TestAccKendraDataSource_Configuration_S3_ExclusionInclusionPatternsPrefixes
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_URLsSeedURLs
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_URLsSeedURLs
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_URLsWebCrawlerMode
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_URLsWebCrawlerMode
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_AuthenticationConfigurationBasicHostPort
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_AuthenticationConfigurationBasicHostPort
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_AuthenticationConfigurationBasicCredentials
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_AuthenticationConfigurationBasicCredentials
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_CrawlDepth
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_CrawlDepth
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_MaxLinksPerPage
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_MaxLinksPerPage
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_MaxURLsPerMinuteCrawlRate
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_MaxURLsPerMinuteCrawlRate
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationCredentials
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationCredentials
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationHostPort
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationHostPort
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_URLExclusionInclusionPatterns
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_URLExclusionInclusionPatterns
=== RUN TestAccKendraDataSource_Configuration_WebCrawler_URLsSiteMaps
=== PAUSE TestAccKendraDataSource_Configuration_WebCrawler_URLsSiteMaps
=== RUN TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_InlineConfigurations
=== PAUSE TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_InlineConfigurations
=== RUN TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_InvocationCondition
=== PAUSE TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_InvocationCondition
=== RUN TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_RoleARN
=== PAUSE TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_RoleARN
=== RUN TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_S3Bucket
=== PAUSE TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_S3Bucket
=== RUN TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_LambdaARN
=== PAUSE TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_LambdaARN
=== CONT TestAccKendraDataSource_basic
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_AuthenticationConfigurationBasicHostPort
=== CONT TestAccKendraDataSource_typeCustomCustomizeDiff
--- PASS: TestAccKendraDataSource_typeCustomCustomizeDiff (1124.29s)
=== CONT TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_LambdaARN
--- PASS: TestAccKendraDataSource_basic (2711.16s)
=== CONT TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_S3Bucket
--- PASS: TestAccKendraDataSource_Configuration_WebCrawler_AuthenticationConfigurationBasicHostPort (3044.67s)
=== CONT TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_RoleARN
--- PASS: TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_LambdaARN (1983.24s)
=== CONT TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_InvocationCondition
--- PASS: TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_RoleARN (1682.75s)
=== CONT TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_InlineConfigurations
--- PASS: TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_S3Bucket (2077.58s)
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_URLsSiteMaps
--- PASS: TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_ExtractionHookConfiguration_InvocationCondition (3200.47s)
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_URLExclusionInclusionPatterns
--- PASS: TestAccKendraDataSource_CustomDocumentEnrichmentConfiguration_InlineConfigurations (1808.07s)
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationHostPort
--- PASS: TestAccKendraDataSource_Configuration_WebCrawler_URLsSiteMaps (1749.39s)
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationCredentials
--- PASS: TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationHostPort (233.39s)
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_MaxURLsPerMinuteCrawlRate
--- PASS: TestAccKendraDataSource_Configuration_WebCrawler_ProxyConfigurationCredentials (234.03s)
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_MaxLinksPerPage
--- PASS: TestAccKendraDataSource_Configuration_WebCrawler_URLExclusionInclusionPatterns (504.84s)
=== CONT TestAccKendraDataSource_Configuration_WebCrawler_CrawlDepth
^CFAIL github.com/hashicorp/terraform-provider-aws/internal/service/kendra 6926.217s
Testing cut short by network connectivity problems 😄.
We'll check status in nightly CI.
This functionality has been released in v4.25.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. Thank you! |
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
Relates #13367
Note that each acceptance test can potentially take up to 1.5 hours since a Kendra Index must be created first and the Data Source also requires some time to delete. Hence, to speed up the test cases, one way is to create an Index outside of Terraform and hard-code it's ID into the test cases (not committed to GitHub). This also requires tweaks to the test cases to substitute the Kendra Index ARN and ID where it is used.
Output from acceptance testing:
Some notes
TypeSet
, I am unable to suppress the diffs. Hence, the provider can only support UTC at the moment and this is called out in the README