Selaa lähdekoodia

HUE-9154 [aws] Turn off EC2 instance autodetection

Still pretty slow.
Romain 5 vuotta sitten
vanhempi
commit
cfaf559f8b

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -1694,7 +1694,7 @@
 
 [aws]
   # Enable the detection of an IAM role providing the credentials automatically. It can take a few seconds.
-  ## has_iam_detection=true
+  ## has_iam_detection=false
 
   [[aws_accounts]]
     # Default AWS account

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -1680,7 +1680,7 @@
 
 [aws]
   # Enable the detection of an IAM role providing the credentials automatically. It can take a few seconds.
-  ## has_iam_detection=true
+  ## has_iam_detection=false
 
   [[aws_accounts]]
     # Default AWS account

+ 1 - 1
desktop/libs/aws/src/aws/conf.py

@@ -153,7 +153,7 @@ def get_key_expiry():
 HAS_IAM_DETECTION=Config(
   help=_('Enable the detection of an IAM role providing the credentials automatically. It can take a few seconds.'),
   key='has_iam_detection',
-  default=True,
+  default=False,
   type=coerce_bool
 )