Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save humbledshuttler/897cf4dc459652edeaacc23677bf4625 to your computer and use it in GitHub Desktop.

Select an option

Save humbledshuttler/897cf4dc459652edeaacc23677bf4625 to your computer and use it in GitHub Desktop.
2024-06-09 08:32:49,714 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.15.52 Python/3.11.8 Linux/6.8.0-35-generic exe/x86_64.ubuntu.24
2024-06-09 08:32:49,714 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['cloudformation', 'deploy', '--template-file', './cloudformation/packaged/datastore.yaml', '--s3-bucket', 's3-000000000000', '--stack-name', 'datastore', '--profile', 'local', '--debug']
2024-06-09 08:32:49,725 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_s3 at 0x783688930fe0>
2024-06-09 08:32:49,725 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_ddb at 0x783688e58900>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.configure.configure.ConfigureCommand'>>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x783688fca5c0>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x783688fcbc40>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function alias_opsworks_cm at 0x7836889339c0>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_history_commands at 0x783688e9b2e0>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.devcommands.CLIDevCommand'>>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_waiters at 0x783688933880>
2024-06-09 08:32:49,726 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7836889f6010>>
2024-06-09 08:32:49,726 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/data/cli.json
2024-06-09 08:32:49,728 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_types at 0x783688d6cd60>
2024-06-09 08:32:49,728 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function no_sign_request at 0x783688d6d080>
2024-06-09 08:32:49,728 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_verify_ssl at 0x783688d6cfe0>
2024-06-09 08:32:49,728 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_read_timeout at 0x783688d6d1c0>
2024-06-09 08:32:49,728 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_connect_timeout at 0x783688d6d120>
2024-06-09 08:32:49,729 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <built-in method update of dict object at 0x7836889eb2c0>
2024-06-09 08:32:49,729 - MainThread - botocore.session - DEBUG - Setting config variable for profile to 'local'
2024-06-09 08:32:49,729 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.15.52 Python/3.11.8 Linux/6.8.0-35-generic exe/x86_64.ubuntu.24
2024-06-09 08:32:49,729 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['cloudformation', 'deploy', '--template-file', './cloudformation/packaged/datastore.yaml', '--s3-bucket', 's3-000000000000', '--stack-name', 'datastore', '--profile', 'local', '--debug']
2024-06-09 08:32:49,729 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_timestamp_parser at 0x7836889318a0>
2024-06-09 08:32:49,729 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x783689337ba0>
2024-06-09 08:32:49,729 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_binary_formatter at 0x7836889b5120>
2024-06-09 08:32:49,730 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function no_pager_handler at 0x783689436340>
2024-06-09 08:32:49,730 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x78368934f4c0>
2024-06-09 08:32:49,731 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/
2024-06-09 08:32:49,733 - MainThread - botocore.credentials - DEBUG - Skipping environment variable credential check because profile name was explicitly set.
2024-06-09 08:32:49,733 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x783688e8fa60>
2024-06-09 08:32:49,733 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_json_file_cache at 0x783688e54b80>
2024-06-09 08:32:49,745 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/botocore/data/cloudformation/2010-05-15/service-2.json
2024-06-09 08:32:49,761 - MainThread - botocore.hooks - DEBUG - Event building-command-table.cloudformation: calling handler <function inject_commands at 0x783689375580>
2024-06-09 08:32:49,761 - MainThread - botocore.hooks - DEBUG - Event building-command-table.cloudformation: calling handler <function add_waiters at 0x783688933880>
2024-06-09 08:32:49,772 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/botocore/data/cloudformation/2010-05-15/waiters-2.json
2024-06-09 08:32:49,772 - MainThread - botocore.hooks - DEBUG - Event building-command-table.cloudformation: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7836889f6010>>
2024-06-09 08:32:49,773 - MainThread - botocore.hooks - DEBUG - Event building-command-table.cloudformation_deploy: calling handler <function add_waiters at 0x783688933880>
2024-06-09 08:32:49,773 - MainThread - botocore.hooks - DEBUG - Event building-command-table.cloudformation_deploy: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7836889f6010>>
2024-06-09 08:32:49,774 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.template-file: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,774 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,774 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.stack-name: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,774 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.s3-bucket: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.force-upload: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.s3-prefix: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.kms-key-id: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.parameter-overrides: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.capabilities: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.anonymous: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.disable-rollback: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.role-arn: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.notification-arns: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.fail-on-empty-changeset: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,775 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.deploy.tags: calling handler <awscli.paramfile.URIArgumentHandler object at 0x783689332a50>
2024-06-09 08:32:49,776 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.deploy: calling handler <awscli.argprocess.ParamShorthandParser object at 0x783689475f10>
2024-06-09 08:32:49,776 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role
2024-06-09 08:32:49,776 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role-with-web-identity
2024-06-09 08:32:49,776 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: sso
2024-06-09 08:32:49,776 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file
2024-06-09 08:32:49,776 - MainThread - botocore.credentials - INFO - Found credentials in shared credentials file: ~/.aws/credentials
2024-06-09 08:32:49,778 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/botocore/data/endpoints.json
2024-06-09 08:32:49,798 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x78368a6b2160>
2024-06-09 08:32:49,808 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/botocore/data/cloudformation/2010-05-15/endpoint-rule-set-1.json
2024-06-09 08:32:49,809 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/botocore/data/partitions.json
2024-06-09 08:32:49,812 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.cloudformation: calling handler <function add_generate_presigned_url at 0x78368a7eae80>
2024-06-09 08:32:49,812 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for cloudformation via: environment_service
2024-06-09 08:32:49,813 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for cloudformation via: environment_global
2024-06-09 08:32:49,813 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for cloudformation via: config_service
2024-06-09 08:32:49,813 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for cloudformation via: config_global
2024-06-09 08:32:49,813 - MainThread - botocore.configprovider - INFO - Found endpoint for cloudformation via: config_global.
2024-06-09 08:32:49,815 - MainThread - botocore.endpoint - DEBUG - Setting cloudformation timeout as (60, 60)
2024-06-09 08:32:49,826 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x78368a6b2160>
2024-06-09 08:32:49,828 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/botocore/data/s3/2006-03-01/service-2.json
2024-06-09 08:32:49,838 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.15.52/dist/awscli/botocore/data/s3/2006-03-01/endpoint-rule-set-1.json
2024-06-09 08:32:49,846 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x78368a7eb100>
2024-06-09 08:32:49,846 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x78368a7eae80>
2024-06-09 08:32:49,846 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_service
2024-06-09 08:32:49,846 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_global
2024-06-09 08:32:49,847 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_service
2024-06-09 08:32:49,847 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_global
2024-06-09 08:32:49,847 - MainThread - botocore.configprovider - INFO - Found endpoint for s3 via: config_global.
2024-06-09 08:32:49,849 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60)
2024-06-09 08:32:49,851 - MainThread - botocore.utils - DEBUG - Registering S3 region redirector handler
2024-06-09 08:32:49,851 - MainThread - botocore.utils - DEBUG - Registering S3Express Identity Resolver
2024-06-09 08:32:49,852 - MainThread - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Region': 'us-east-1', 'UseDualStack': False, 'UseFIPS': False, 'Endpoint': 'http://localhost:4566'}
2024-06-09 08:32:49,852 - MainThread - botocore.regions - DEBUG - Endpoint provider result: http://localhost:4566
2024-06-09 08:32:49,852 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.cloudformation.DescribeStacks: calling handler <function base64_decode_input_blobs at 0x7836889b51c0>
2024-06-09 08:32:49,852 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.cloudformation.DescribeStacks: calling handler <function generate_idempotent_uuid at 0x78368a6d04a0>
2024-06-09 08:32:49,852 - MainThread - botocore.hooks - DEBUG - Event before-call.cloudformation.DescribeStacks: calling handler <function inject_api_version_header_if_needed at 0x78368a6d1f80>
2024-06-09 08:32:49,852 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=DescribeStacks) with params: {'url_path': '/', 'query_string': '', 'method': 'POST', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'aws-cli/2.15.52 md/awscrt#0.19.19 ua/2.0 os/linux#6.8.0-35-generic md/arch#x86_64 lang/python#3.11.8 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#cloudformation.deploy'}, 'body': {'Action': 'DescribeStacks', 'Version': '2010-05-15', 'StackName': 'datastore'}, 'url': 'http://localhost:4566/', 'context': {'client_region': 'us-east-1', 'client_config': <botocore.config.Config object at 0x7836887449d0>, 'has_streaming_input': False, 'auth_type': None}}
2024-06-09 08:32:49,852 - MainThread - botocore.hooks - DEBUG - Event request-created.cloudformation.DescribeStacks: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x783687b47690>>
2024-06-09 08:32:49,852 - MainThread - botocore.hooks - DEBUG - Event choose-signer.cloudformation.DescribeStacks: calling handler <function set_operation_specific_signer at 0x78368a6d0360>
2024-06-09 08:32:49,853 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2024-06-09 08:32:49,853 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
POST
/
content-type:application/x-www-form-urlencoded; charset=utf-8
host:localhost:4566
x-amz-date:20240609T123249Z
content-type;host;x-amz-date
b13b0b1a6d45723791b8d101e2c223d27d072476c810d10aa762e080055f055a
2024-06-09 08:32:49,853 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20240609T123249Z
20240609/us-east-1/cloudformation/aws4_request
a78b8e830c89a2ee65ab80895db57cee1f8fdd89ee4d09a02eb6da995684744d
2024-06-09 08:32:49,853 - MainThread - botocore.auth - DEBUG - Signature:
c4d1571ac317fbb83531880f54b085724b98e45c0610d44c7397c58918da7fff
2024-06-09 08:32:49,853 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=http://localhost:4566/, headers={'Content-Type': b'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': b'aws-cli/2.15.52 md/awscrt#0.19.19 ua/2.0 os/linux#6.8.0-35-generic md/arch#x86_64 lang/python#3.11.8 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#cloudformation.deploy', 'X-Amz-Date': b'20240609T123249Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=localKey/20240609/us-east-1/cloudformation/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=c4d1571ac317fbb83531880f54b085724b98e45c0610d44c7397c58918da7fff', 'Content-Length': '60'}>
2024-06-09 08:32:49,854 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:4566
2024-06-09 08:32:49,858 - MainThread - urllib3.connectionpool - DEBUG - http://localhost:4566 "POST / HTTP/1.1" 400 308
2024-06-09 08:32:49,859 - MainThread - botocore.parsers - DEBUG - Response headers: {'Server': 'TwistedWeb/24.3.0', 'Date': 'Sun, 09 Jun 2024 12:32:49 GMT', 'Content-Type': 'text/xml', 'Content-Length': '308'}
2024-06-09 08:32:49,859 - MainThread - botocore.parsers - DEBUG - Response body:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<ErrorResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/"><Error><Code>ValidationError</Code><Message>Stack with id datastore does not exist</Message><Type>Sender</Type></Error><RequestId>bb7aaa4f-8f84-4f01-a182-b3f5da39743d</RequestId></ErrorResponse>'
2024-06-09 08:32:49,861 - MainThread - botocore.hooks - DEBUG - Event needs-retry.cloudformation.DescribeStacks: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x783687ba03d0>>
2024-06-09 08:32:49,862 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2024-06-09 08:32:49,862 - MainThread - botocore.hooks - DEBUG - Event after-call.cloudformation.DescribeStacks: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x783687b93e10>>
2024-06-09 08:32:49,862 - MainThread - awscli.customizations.cloudformation.deployer - DEBUG - Stack with id datastore does not exist
2024-06-09 08:32:49,863 - MainThread - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x78368a6d2980>
2024-06-09 08:32:49,863 - MainThread - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7836877eb650>>
2024-06-09 08:32:49,863 - MainThread - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Bucket': 's3-000000000000', 'Region': 'us-east-1', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'http://localhost:4566', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'Key': 'f10700b68d0b80a4709f8aa61633a99f.template', 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2024-06-09 08:32:49,864 - MainThread - botocore.regions - DEBUG - Endpoint provider result: http://localhost:4566/s3-000000000000
2024-06-09 08:32:49,864 - MainThread - botocore.regions - DEBUG - Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "s3v4"
2024-06-09 08:32:49,864 - MainThread - botocore.regions - DEBUG - Selected auth type "v4" as "s3v4" with signing context params: {'region': 'us-east-1', 'signing_name': 's3', 'disableDoubleEncoding': True}
2024-06-09 08:32:49,864 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.s3.HeadObject: calling handler <function base64_decode_input_blobs at 0x7836889b51c0>
2024-06-09 08:32:49,864 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.HeadObject: calling handler <function sse_md5 at 0x78368a6d0720>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.HeadObject: calling handler <function validate_bucket_name at 0x78368a6d0680>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.HeadObject: calling handler <function remove_bucket_from_url_paths_from_model at 0x78368a6d27a0>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.HeadObject: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7836877eb650>>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.HeadObject: calling handler <bound method S3ExpressIdentityResolver.inject_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7836877ebf50>>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.HeadObject: calling handler <function generate_idempotent_uuid at 0x78368a6d04a0>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.HeadObject: calling handler <function add_expect_header at 0x78368a6d0a40>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.HeadObject: calling handler <bound method S3ExpressIdentityResolver.apply_signing_cache_key of <botocore.utils.S3ExpressIdentityResolver object at 0x7836877ebf50>>
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.HeadObject: calling handler <function inject_api_version_header_if_needed at 0x78368a6d1f80>
2024-06-09 08:32:49,865 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=HeadObject) with params: {'url_path': '/f10700b68d0b80a4709f8aa61633a99f.template', 'query_string': {}, 'method': 'HEAD', 'headers': {'User-Agent': 'aws-cli/2.15.52 md/awscrt#0.19.19 ua/2.0 os/linux#6.8.0-35-generic md/arch#x86_64 lang/python#3.11.8 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#cloudformation.deploy'}, 'body': b'', 'auth_path': '/s3-000000000000/f10700b68d0b80a4709f8aa61633a99f.template', 'url': 'http://localhost:4566/s3-000000000000/f10700b68d0b80a4709f8aa61633a99f.template', 'context': {'client_region': 'us-east-1', 'client_config': <botocore.config.Config object at 0x7836877d19d0>, 'has_streaming_input': False, 'auth_type': 's3v4', 'signing': {'region': 'us-east-1', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'endpoint_properties': {'authSchemes': [{'disableDoubleEncoding': True, 'name': 'sigv4', 'signingName': 's3', 'signingRegion': 'us-east-1'}]}, 's3_redirect': {'redirected': False, 'bucket': 's3-000000000000', 'params': {'Bucket': 's3-000000000000', 'Key': 'f10700b68d0b80a4709f8aa61633a99f.template'}}, 'S3Express': {'bucket_name': 's3-000000000000'}}}
2024-06-09 08:32:49,865 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.HeadObject: calling handler <function signal_not_transferring at 0x783688f0c360>
2024-06-09 08:32:49,866 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.HeadObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x78368778c2d0>>
2024-06-09 08:32:49,866 - MainThread - botocore.hooks - DEBUG - Event choose-signer.s3.HeadObject: calling handler <function set_operation_specific_signer at 0x78368a6d0360>
2024-06-09 08:32:49,866 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.HeadObject: calling handler <function remove_arn_from_signing_path at 0x78368a6d28e0>
2024-06-09 08:32:49,866 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.HeadObject: calling handler <bound method S3ExpressIdentityResolver.resolve_s3express_identity of <botocore.utils.S3ExpressIdentityResolver object at 0x7836877ebf50>>
2024-06-09 08:32:49,866 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2024-06-09 08:32:49,866 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
HEAD
/s3-000000000000/f10700b68d0b80a4709f8aa61633a99f.template
host:localhost:4566
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20240609T123249Z
host;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2024-06-09 08:32:49,866 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20240609T123249Z
20240609/us-east-1/s3/aws4_request
fc5ad640a01600cd93a07a77b170eac007367cb55b7e41b329bf852fb8b21b5a
2024-06-09 08:32:49,866 - MainThread - botocore.auth - DEBUG - Signature:
35a2988e7a3f0543ea622130d7f59561406865c25892bc749d38a4b0254701a9
2024-06-09 08:32:49,866 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.HeadObject: calling handler <function signal_transferring at 0x783688f0c400>
2024-06-09 08:32:49,866 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=HEAD, url=http://localhost:4566/s3-000000000000/f10700b68d0b80a4709f8aa61633a99f.template, headers={'User-Agent': b'aws-cli/2.15.52 md/awscrt#0.19.19 ua/2.0 os/linux#6.8.0-35-generic md/arch#x86_64 lang/python#3.11.8 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#cloudformation.deploy', 'X-Amz-Date': b'20240609T123249Z', 'X-Amz-Content-SHA256': b'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855', 'Authorization': b'AWS4-HMAC-SHA256 Credential=localKey/20240609/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=35a2988e7a3f0543ea622130d7f59561406865c25892bc749d38a4b0254701a9'}>
2024-06-09 08:32:49,867 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:4566
2024-06-09 08:32:49,871 - MainThread - urllib3.connectionpool - DEBUG - http://localhost:4566 "HEAD /s3-000000000000/f10700b68d0b80a4709f8aa61633a99f.template HTTP/1.1" 200 0
2024-06-09 08:32:49,871 - MainThread - botocore.parsers - DEBUG - Response headers: {'Server': 'TwistedWeb/24.3.0', 'Date': 'Sun, 09 Jun 2024 12:32:49 GMT', 'Content-Type': 'binary/octet-stream', 'accept-ranges': 'bytes', 'Last-Modified': 'Sun, 09 Jun 2024 12:29:10 GMT', 'Content-Length': '1417', 'ETag': '"f10700b68d0b80a4709f8aa61633a99f"', 'x-amz-server-side-encryption': 'AES256', 'x-amz-request-id': '5282527f-94df-49a7-8491-1a90dc1f4aab', 'x-amz-id-2': 's9lzHYrFp76ZVxRcpX9+5cjAnEH2ROuNkd2BHfIa6UkFVdtjf5mKR3/eTPFvsiP/XV/VLi31234='}
2024-06-09 08:32:49,871 - MainThread - botocore.parsers - DEBUG - Response body:
b''
2024-06-09 08:32:49,872 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.HeadObject: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7836877ebb50>>
2024-06-09 08:32:49,872 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2024-06-09 08:32:49,872 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.HeadObject: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7836877eb650>>
2024-06-09 08:32:49,872 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.HeadObject: calling handler <function enhance_error_msg at 0x7836889314e0>
2024-06-09 08:32:49,872 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.HeadObject: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x783687ba2310>>
2024-06-09 08:32:49,872 - MainThread - awscli.customizations.s3uploader - DEBUG - File with same data already exists at f10700b68d0b80a4709f8aa61633a99f.template. Skipping upload
2024-06-09 08:32:49,873 - MainThread - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Region': 'us-east-1', 'UseDualStack': False, 'UseFIPS': False, 'Endpoint': 'http://localhost:4566'}
2024-06-09 08:32:49,873 - MainThread - botocore.regions - DEBUG - Endpoint provider result: http://localhost:4566
2024-06-09 08:32:49,873 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.cloudformation.CreateChangeSet: calling handler <function base64_decode_input_blobs at 0x7836889b51c0>
2024-06-09 08:32:49,873 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.cloudformation.CreateChangeSet: calling handler <function generate_idempotent_uuid at 0x78368a6d04a0>
2024-06-09 08:32:49,873 - MainThread - botocore.hooks - DEBUG - Event before-call.cloudformation.CreateChangeSet: calling handler <function inject_api_version_header_if_needed at 0x78368a6d1f80>
2024-06-09 08:32:49,873 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=CreateChangeSet) with params: {'url_path': '/', 'query_string': '', 'method': 'POST', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'aws-cli/2.15.52 md/awscrt#0.19.19 ua/2.0 os/linux#6.8.0-35-generic md/arch#x86_64 lang/python#3.11.8 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#cloudformation.deploy'}, 'body': {'Action': 'CreateChangeSet', 'Version': '2010-05-15', 'ChangeSetName': 'awscli-cloudformation-package-deploy-1717936369', 'StackName': 'datastore', 'ChangeSetType': 'CREATE', 'Parameters': '', 'Capabilities': '', 'Description': 'Created by AWS CLI at 2024-06-09T12:32:49.851916 UTC', 'Tags': '', 'TemplateURL': 'http://localhost:4566/s3-000000000000/f10700b68d0b80a4709f8aa61633a99f.template'}, 'url': 'http://localhost:4566/', 'context': {'client_region': 'us-east-1', 'client_config': <botocore.config.Config object at 0x7836887449d0>, 'has_streaming_input': False, 'auth_type': None}}
2024-06-09 08:32:49,873 - MainThread - botocore.hooks - DEBUG - Event request-created.cloudformation.CreateChangeSet: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x783687b47690>>
2024-06-09 08:32:49,873 - MainThread - botocore.hooks - DEBUG - Event choose-signer.cloudformation.CreateChangeSet: calling handler <function set_operation_specific_signer at 0x78368a6d0360>
2024-06-09 08:32:49,874 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2024-06-09 08:32:49,874 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
POST
/
content-type:application/x-www-form-urlencoded; charset=utf-8
host:localhost:4566
x-amz-date:20240609T123249Z
content-type;host;x-amz-date
d32e6e693a377ccbd2a8efc8fffd5557ef5ab9a808ef86759668b164e3f673b2
2024-06-09 08:32:49,874 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20240609T123249Z
20240609/us-east-1/cloudformation/aws4_request
02720d45adcf6d9f950b735a99493fd8e0495f3b8165aaa57d3ad3754b5336f4
2024-06-09 08:32:49,874 - MainThread - botocore.auth - DEBUG - Signature:
c60aebed1f658b371d7e247c1fcb730a6828903692a0a4037232835952304d88
2024-06-09 08:32:49,874 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=http://localhost:4566/, headers={'Content-Type': b'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': b'aws-cli/2.15.52 md/awscrt#0.19.19 ua/2.0 os/linux#6.8.0-35-generic md/arch#x86_64 lang/python#3.11.8 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#cloudformation.deploy', 'X-Amz-Date': b'20240609T123249Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=localKey/20240609/us-east-1/cloudformation/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=c60aebed1f658b371d7e247c1fcb730a6828903692a0a4037232835952304d88', 'Content-Length': '349'}>
2024-06-09 08:32:49,887 - MainThread - urllib3.connectionpool - DEBUG - http://localhost:4566 "POST / HTTP/1.1" 400 376
2024-06-09 08:32:49,888 - MainThread - botocore.parsers - DEBUG - Response headers: {'Server': 'TwistedWeb/24.3.0', 'Date': 'Sun, 09 Jun 2024 12:32:49 GMT', 'Content-Type': 'text/xml', 'Content-Length': '376'}
2024-06-09 08:32:49,888 - MainThread - botocore.parsers - DEBUG - Response body:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<ErrorResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/"><Error><Code>ValidationError</Code><Message>Template format error: [/Resources/PostEngagementTable] Every Resources object must contain a Type member.</Message><Type>Sender</Type></Error><RequestId>73c1968f-2580-434b-8e53-c4164348d6aa</RequestId></ErrorResponse>'
2024-06-09 08:32:49,888 - MainThread - botocore.hooks - DEBUG - Event needs-retry.cloudformation.CreateChangeSet: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x783687ba03d0>>
2024-06-09 08:32:49,888 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2024-06-09 08:32:49,888 - MainThread - botocore.hooks - DEBUG - Event after-call.cloudformation.CreateChangeSet: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x783687b93e10>>
2024-06-09 08:32:49,888 - MainThread - awscli.customizations.cloudformation.deployer - DEBUG - Unable to create changeset
Traceback (most recent call last):
File "awscli/customizations/cloudformation/deployer.py", line 140, in create_changeset
File "awscli/botocore/client.py", line 360, in _api_call
File "awscli/botocore/client.py", line 734, in _make_api_call
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the CreateChangeSet operation: Template format error: [/Resources/PostEngagementTable] Every Resources object must contain a Type member.
2024-06-09 08:32:49,889 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
File "awscli/clidriver.py", line 499, in main
File "awscli/clidriver.py", line 634, in __call__
File "awscli/customizations/commands.py", line 206, in __call__
File "awscli/customizations/cloudformation/deploy.py", line 368, in _run_main
File "awscli/customizations/cloudformation/deploy.py", line 391, in deploy
File "awscli/customizations/cloudformation/deployer.py", line 227, in create_and_wait_for_changeset
File "awscli/customizations/cloudformation/deployer.py", line 144, in create_changeset
File "awscli/customizations/cloudformation/deployer.py", line 140, in create_changeset
File "awscli/botocore/client.py", line 360, in _api_call
File "awscli/botocore/client.py", line 734, in _make_api_call
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the CreateChangeSet operation: Template format error: [/Resources/PostEngagementTable] Every Resources object must contain a Type member.
An error occurred (ValidationError) when calling the CreateChangeSet operation: Template format error: [/Resources/PostEngagementTable] Every Resources object must contain a Type member.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment