title: Issue resizing Redshift cluster using AWS CLI
body: <p>Although, I already got this problem solved; but sharing my experience here so that if someone is stuck, this might be helpful to you.</p>
  
  <p>Based on our use-case, we used to periodically resize our AWS Redshift cluster using AWS provided CLI.</p>
  
  <p>We used to use this following script:</p>
  
  <pre><code>aws redshift modify-cluster  --region=eu-west-1 --cluster-identifier test-cluster --node-type dc1.large --number-of-nodes 2
  </code></pre>
  
  <p>It was throwing following error:</p>
  
  <pre><code>An error occurred (InternalFailure) when calling the ModifyCluster operation (reached max retries: 4): An internal error has occurred. Please try your query again at a later time.
  </code></pre>
  
  <p>I tried searching using an error message on google, but couldn't make out much information. I have checked the AWS keys are properly deployed on my machine where I am running the scripts from.</p>
  
  <p>What is the problem here and why is it happening?</p>