. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 52.223.31.75 / Your IP : 172.31.6.220 [ Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE Domains : 4 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /lib/python2.7/site-packages/awscli/customizations/cloudformation/ |
Upload File : |
class CloudFormationCommandError(Exception):
fmt = 'An unspecified error occurred'
def __init__(self, **kwargs):
msg = self.fmt.format(**kwargs)
Exception.__init__(self, msg)
self.kwargs = kwargs
class InvalidTemplatePathError(CloudFormationCommandError):
fmt = "Invalid template path {template_path}"
class ChangeEmptyError(CloudFormationCommandError):
fmt = "No changes to deploy. Stack {stack_name} is up to date"
class InvalidLocalPathError(CloudFormationCommandError):
fmt = ("Parameter {property_name} of resource {resource_id} refers "
"to a file or folder that does not exist {local_path}")
class InvalidTemplateUrlParameterError(CloudFormationCommandError):
fmt = ("{property_name} parameter of {resource_id} resource is invalid. "
"It must be a S3 URL or path to CloudFormation "
"template file. Actual: {template_path}")
class ExportFailedError(CloudFormationCommandError):
fmt = ("Unable to upload artifact {property_value} referenced "
"by {property_name} parameter of {resource_id} resource."
"\n"
"{ex}")
class InvalidKeyValuePairArgumentError(CloudFormationCommandError):
fmt = ("{value} value passed to --{argname} must be of format "
"Key=Value")
class DeployFailedError(CloudFormationCommandError):
fmt = \
("Failed to create/update the stack. Run the following command"
"\n"
"to fetch the list of events leading up to the failure"
"\n"
"aws cloudformation describe-stack-events --stack-name {stack_name}")
class DeployBucketRequiredError(CloudFormationCommandError):
fmt = \
("Templates with a size greater than 51,200 bytes must be deployed "
"via an S3 Bucket. Please add the --s3-bucket parameter to your "
"command. The local template will be copied to that S3 bucket and "
"then deployed.")