moto/tests/terraformtests/etc/0003-Patch-IAM-wait-times.patch

26 lines
898 B
Diff
Raw Normal View History

2023-08-21 20:33:16 +00:00
From 84af701010212ceccccba66422191dfcf1e7445b Mon Sep 17 00:00:00 2001
From: Bert Blommers <info@bertblommers.nl>
2023-08-21 20:33:16 +00:00
Date: Sun, 13 Aug 2023 21:35:11 +0000
Subject: [PATCH] Patch IAM timings
---
2023-08-21 20:33:16 +00:00
internal/service/iam/wait.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/service/iam/wait.go b/internal/service/iam/wait.go
2023-08-21 20:33:16 +00:00
index 3d1c542aa2..e2e5069b63 100644
--- a/internal/service/iam/wait.go
+++ b/internal/service/iam/wait.go
2023-08-21 20:33:16 +00:00
@@ -20,7 +20,7 @@ const (
// as this will negatively impact user experience when configurations
// have incorrect references or permissions.
// Reference: https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency
2022-06-26 17:23:26 +00:00
- propagationTimeout = 2 * time.Minute
+ propagationTimeout = 2 * time.Second
RoleStatusARNIsUniqueID = "uniqueid"
RoleStatusARNIsARN = "arn"
--
2.25.1