You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2018-04-25 19:41:11,986 - ThreadPoolExecutor-0_3 - botocore.hooks - DEBUG - Event needs-retry.s3.CompleteMultipartUpload: calling handler <function check_for_200_error at 0x7f04f0e2b510>
2018-04-25 19:41:11,986 - ThreadPoolExecutor-0_3 - botocore.hooks - DEBUG - Event needs-retry.s3.CompleteMultipartUpload: calling handler <botocore.retryhandler.RetryHandler object at 0x7f04eea3acf8>
2018-04-25 19:41:11,987 - ThreadPoolExecutor-0_3 - botocore.retryhandler - DEBUG - No retry needed.
2018-04-25 19:41:11,987 - ThreadPoolExecutor-0_3 - botocore.hooks - DEBUG - Event needs-retry.s3.CompleteMultipartUpload: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x7f04eea3afd0>>
2018-04-25 19:41:11,987 - ThreadPoolExecutor-0_3 - botocore.hooks - DEBUG - Event after-call.s3.CompleteMultipartUpload: calling handler <function enhance_error_msg at 0x7f04eedfb598>
2018-04-25 19:41:11,987 - ThreadPoolExecutor-0_3 - s3transfer.utils - DEBUG - Releasing acquire 0/None
2018-04-25 19:41:11,988 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
File "/home/lestephane/anaconda3/lib/python3.6/site-packages/awscli/clidriver.py", line 208, in main
return command_table[parsed_args.command](remaining, parsed_args)
File "/home/lestephane/anaconda3/lib/python3.6/site-packages/awscli/clidriver.py", line 345, in __call__
return command_table[parsed_args.operation](remaining, parsed_globals)
File "/home/lestephane/anaconda3/lib/python3.6/site-packages/awscli/customizations/commands.py", line 187, in __call__
return self._run_main(parsed_args, parsed_globals)
File "/home/lestephane/anaconda3/lib/python3.6/site-packages/awscli/customizations/cloudformation/package.py", line 138, in _run_main
exported_str = self._export(template_path, use_json)
File "/home/lestephane/anaconda3/lib/python3.6/site-packages/awscli/customizations/cloudformation/package.py", line 154, in _export
exported_template = template.export()
File "/home/lestephane/anaconda3/lib/python3.6/site-packages/awscli/customizations/cloudformation/artifact_exporter.py", line 443, in export
resource_type = resource.get("Type", None)
AttributeError: 'str' object has no attribute 'get'
2018-04-25 19:41:11,990 - MainThread - awscli.clidriver - DEBUG - Exiting with rc 255
'str' object has no attribute 'get'
Now I know you can use Code with either ZipFile (python or nodejs only, NOT java), or S3Key + S3Bucket (i don't have those, this is why I'm using aws cloudformation package). What is the correct way to pass a local jar?
This issue looks a lot like #3280, but since 3280 does not have enough information for me to tell if it's the same, i created this issue instead.
The text was updated successfully, but these errors were encountered:
Ok I found the problem, a syntax error in my yaml template 200 lines below the resource in question. I guess i need to add the CF validate step in my pipeline to avoid this kind of problem in future.
When I use a local java JAR in an AWS::Lambda::Function template
That i then pass to aws cloudformation package (to upload the jar to s3 on my behalf)
the JAR gets uploaded all the way to 100%, but then everything bombs:
AWS CLI Version
Relevant --debug output
Now I know you can use Code with either ZipFile (python or nodejs only, NOT java), or S3Key + S3Bucket (i don't have those, this is why I'm using aws cloudformation package). What is the correct way to pass a local jar?
This issue looks a lot like #3280, but since 3280 does not have enough information for me to tell if it's the same, i created this issue instead.
The text was updated successfully, but these errors were encountered: