<!-- Love localstack? Please consider supporting our collective:
👉  https://opencollective.com/localstack/donate -->

# Type of request: This is a ...

[x] bug report
[ ] feature request

# Detailed description

Hi, I use locak stack to test module IAM Account but I receive timeout in module aws_iam_account_password_policy.

## Expected behavior

Create the password policy

## Actual behavior

...
![image](https://user-images.githubusercontent.com/19490818/94925662-fb702100-0495-11eb-9fc4-62ce538c8c68.png)


# Steps to reproduce

```
provider "aws" {
  access_key                  = "mock_access_key"
  region                      = "us-east-1"
  s3_force_path_style         = true
  secret_key                  = "mock_secret_key"
  skip_credentials_validation = true
  skip_metadata_api_check     = true
  skip_requesting_account_id  = true

  endpoints {
    apigateway     = "http://localhost:4566"
    cloudformation = "http://localhost:4566"
    cloudwatch     = "http://localhost:4566"
    dynamodb       = "http://localhost:4566"
    es             = "http://localhost:4566"
    firehose       = "http://localhost:4566"
    iam            = "http://localhost:4566"
    kinesis        = "http://localhost:4566"
    lambda         = "http://localhost:4566"
    route53        = "http://localhost:4566"
    redshift       = "http://localhost:4566"
    s3             = "http://localhost:4566"
    secretsmanager = "http://localhost:4566"
    ses            = "http://localhost:4566"
    sns            = "http://localhost:4566"
    sqs            = "http://localhost:4566"
    ssm            = "http://localhost:4566"
    stepfunctions  = "http://localhost:4566"
    sts            = "http://localhost:4566"
  }
}

##############
# IAM account
##############
module "iam_account" {
  source = "../../modules/iam-account"

  account_alias = var.iam_account_alias

  max_password_age               = var.iam_max_password_age
  minimum_password_length        = var.iam_minimum_password_length
  password_reuse_prevention      = var.iam_password_reuse_prevention
  allow_users_to_change_password = true
  require_lowercase_characters   = true
  require_uppercase_characters   = true
  require_numbers                = true
  require_symbols                = true
}

variable "iam_account_alias" {}
variable "iam_minimum_password_length" {}
variable "iam_password_reuse_prevention" {}
variable "iam_max_password_age" {}
```

Module:
https://github.com/youse-seguradora/terraform-aws-iam/tree/master/modules/iam-account

## Command used to start LocalStack

localstatck start

When I run in mey own aws account terraform apply and terraform destroy works fine.

Can you guys help?

Thanks


import os
import re
import json
import time
import logging
from localstack import config
from localstack.constants import TEST_AWS_ACCOUNT_ID, MOTO_ACCOUNT_ID
from localstack.utils.aws import aws_stack
from localstack.utils.common import to_str, save_file, TMP_FILES, mkdir
from localstack.utils.tagging import TaggingService
from localstack.services.awslambda import lambda_api
from localstack.services.generic_proxy import ProxyListener
from localstack.services.events.scheduler import JobScheduler
LOG = logging.getLogger(__name__)
EVENTS_TMP_DIR = os.path.join(config.TMP_FOLDER, 'cw_events')
RULE_SCHEDULED_JOBS = {}
def _replace(response, pattern, replacement):
    content = to_str(response.content)
    response._content = re.sub(pattern, replacement, content)
def _fix_account_id(response):
    return aws_stack.fix_account_id_in_arns(response, existing=MOTO_ACCOUNT_ID, replace=TEST_AWS_ACCOUNT_ID)
def _fix_date_format(response):