Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/aws_glue_crawler: Use IAM timeout constant for retries, add …
…LakeFormation permissions retries and configuration to tests Reference: #16752 Previously: ``` === CONT TestAccAWSGlueCrawler_CatalogTarget resource_aws_glue_crawler_test.go:719: Step 1/3 error: Error running apply: Error: error creating Glue crawler: InvalidInputException: Insufficient Lake Formation permission(s) on tf-acc-test-1833852258513360098_table_0 (Service: AmazonDataCatalog; Status Code: 400; Error Code: AccessDeniedException; Request ID: 34c98eb1-4821-4ff5-897b-a9ef0acb7567; Proxy: null) --- FAIL: TestAccAWSGlueCrawler_CatalogTarget (20.93s) === CONT TestAccAWSGlueCrawler_CatalogTarget_Multiple resource_aws_glue_crawler_test.go:791: Step 1/4 error: Error running apply: Error: error creating Glue crawler: InvalidInputException: Insufficient Lake Formation permission(s) on tf-acc-test-3733486415820405861_table_0 (Service: AmazonDataCatalog; Status Code: 400; Error Code: AccessDeniedException; Request ID: 914fed0e-b5dd-4243-859d-f38341bb1ead; Proxy: null) --- FAIL: TestAccAWSGlueCrawler_CatalogTarget_Multiple (22.48s) ``` Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSGlueCrawler_CatalogTarget (73.93s) --- PASS: TestAccAWSGlueCrawler_CatalogTarget_Multiple (116.15s) --- PASS: TestAccAWSGlueCrawler_Classifiers (114.19s) --- PASS: TestAccAWSGlueCrawler_Configuration (94.89s) --- PASS: TestAccAWSGlueCrawler_Description (88.94s) --- PASS: TestAccAWSGlueCrawler_disappears (55.16s) --- PASS: TestAccAWSGlueCrawler_DynamodbTarget (96.79s) --- PASS: TestAccAWSGlueCrawler_DynamodbTarget_scanAll (81.31s) --- PASS: TestAccAWSGlueCrawler_DynamodbTarget_scanRate (114.15s) --- PASS: TestAccAWSGlueCrawler_JdbcTarget (65.58s) --- PASS: TestAccAWSGlueCrawler_JdbcTarget_Exclusions (95.61s) --- PASS: TestAccAWSGlueCrawler_JdbcTarget_Multiple (62.19s) --- PASS: TestAccAWSGlueCrawler_lineageConfig (119.41s) --- PASS: TestAccAWSGlueCrawler_mongoDBTarget (54.79s) --- PASS: TestAccAWSGlueCrawler_mongoDBTarget_multiple (119.08s) --- PASS: TestAccAWSGlueCrawler_mongoDBTarget_scan_all (115.39s) --- PASS: TestAccAWSGlueCrawler_recrawlPolicy (115.84s) --- PASS: TestAccAWSGlueCrawler_RemoveTablePrefix (89.98s) --- PASS: TestAccAWSGlueCrawler_Role_ARN_NoPath (60.10s) --- PASS: TestAccAWSGlueCrawler_Role_ARN_Path (64.04s) --- PASS: TestAccAWSGlueCrawler_Role_Name_Path (58.68s) --- PASS: TestAccAWSGlueCrawler_S3Target (49.10s) --- PASS: TestAccAWSGlueCrawler_S3Target_ConnectionName (44.01s) --- PASS: TestAccAWSGlueCrawler_S3Target_Exclusions (47.69s) --- PASS: TestAccAWSGlueCrawler_S3Target_Multiple (76.37s) --- PASS: TestAccAWSGlueCrawler_Schedule (119.23s) --- PASS: TestAccAWSGlueCrawler_SchemaChangePolicy (89.88s) --- PASS: TestAccAWSGlueCrawler_SecurityConfiguration (96.75s) --- PASS: TestAccAWSGlueCrawler_TablePrefix (101.47s) --- PASS: TestAccAWSGlueCrawler_Tags (114.07s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSGlueCrawler_CatalogTarget (106.03s) --- PASS: TestAccAWSGlueCrawler_CatalogTarget_Multiple (150.49s) --- PASS: TestAccAWSGlueCrawler_Classifiers (112.27s) --- PASS: TestAccAWSGlueCrawler_Configuration (80.77s) --- PASS: TestAccAWSGlueCrawler_Description (83.16s) --- PASS: TestAccAWSGlueCrawler_disappears (50.28s) --- PASS: TestAccAWSGlueCrawler_DynamodbTarget (78.75s) --- PASS: TestAccAWSGlueCrawler_DynamodbTarget_scanAll (105.33s) --- PASS: TestAccAWSGlueCrawler_DynamodbTarget_scanRate (111.31s) --- PASS: TestAccAWSGlueCrawler_JdbcTarget (82.87s) --- PASS: TestAccAWSGlueCrawler_JdbcTarget_Exclusions (74.76s) --- PASS: TestAccAWSGlueCrawler_JdbcTarget_Multiple (101.25s) --- PASS: TestAccAWSGlueCrawler_lineageConfig (117.90s) --- PASS: TestAccAWSGlueCrawler_mongoDBTarget (82.21s) --- PASS: TestAccAWSGlueCrawler_mongoDBTarget_multiple (113.25s) --- PASS: TestAccAWSGlueCrawler_mongoDBTarget_scan_all (103.75s) --- PASS: TestAccAWSGlueCrawler_recrawlPolicy (112.81s) --- PASS: TestAccAWSGlueCrawler_RemoveTablePrefix (79.86s) --- PASS: TestAccAWSGlueCrawler_Role_ARN_NoPath (47.48s) --- PASS: TestAccAWSGlueCrawler_Role_ARN_Path (39.29s) --- PASS: TestAccAWSGlueCrawler_Role_Name_Path (40.08s) --- PASS: TestAccAWSGlueCrawler_S3Target (78.72s) --- PASS: TestAccAWSGlueCrawler_S3Target_ConnectionName (49.21s) --- PASS: TestAccAWSGlueCrawler_S3Target_Exclusions (82.72s) --- PASS: TestAccAWSGlueCrawler_S3Target_Multiple (101.74s) --- PASS: TestAccAWSGlueCrawler_Schedule (103.16s) --- PASS: TestAccAWSGlueCrawler_SchemaChangePolicy (71.90s) --- PASS: TestAccAWSGlueCrawler_SecurityConfiguration (77.77s) --- PASS: TestAccAWSGlueCrawler_TablePrefix (73.91s) --- PASS: TestAccAWSGlueCrawler_Tags (100.25s) ```
- Loading branch information