ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
This commit is contained in:
parent
fb9ebe5a47
commit
fd9ac4b9a5
60 changed files with 67 additions and 67 deletions
|
|
@ -27,7 +27,7 @@ from moto.route53 import models as route53_models
|
|||
from moto.s3 import models as s3_models
|
||||
from moto.sns import models as sns_models
|
||||
from moto.sqs import models as sqs_models
|
||||
from moto.iam.models import ACCOUNT_ID
|
||||
from moto.core import ACCOUNT_ID
|
||||
from .utils import random_suffix
|
||||
from .exceptions import (
|
||||
ExportNotFound,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from six.moves.urllib.parse import urlparse
|
|||
from moto.core.responses import BaseResponse
|
||||
from moto.core.utils import amzn_request_id
|
||||
from moto.s3 import s3_backend
|
||||
from moto.iam.models import ACCOUNT_ID
|
||||
from moto.core import ACCOUNT_ID
|
||||
from .models import cloudformation_backends
|
||||
from .exceptions import ValidationError
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import os
|
|||
import string
|
||||
|
||||
from cfnlint import decode, core
|
||||
from moto.iam.models import ACCOUNT_ID
|
||||
from moto.core import ACCOUNT_ID
|
||||
|
||||
def generate_stack_id(stack_name, region="us-east-1", account="123456789"):
|
||||
random_id = uuid.uuid4()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue