question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error : 'dict' object has no attribute 'upload_with_dedup

See original GitHub issue

Description:

Not able to deploy using sam deploy with paramaters

Steps to reproduce:

      python -m pip install --upgrade pip
      pip install aws-sam-cli==1.13.1
      sam deploy \
    --parameter-overrides $parameters \
    --capabilities CAPABILITY_IAM \
    --stack-name ${SERVICE} \
    --s3-bucket $DEPLOYMENT_BUCKET \
    --s3-prefix  ${SERVICE} \
    --no-fail-on-empty-changeset

Observed result:

error stacktrace

include_transform_export_handler template_dict[“Parameters”][“Location”] = uploader.upload_with_dedup(abs_include_location) AttributeError: ‘dict’ object has no attribute ‘upload_with_dedup’

Expected result:

downgrading to 1.12.0 works, expecting it to run as i dont see any changes to config or deploy command.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: ubuntu
  2. sam --version: 1.13.1

Add --debug flag to command you are running

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
eglijincommented, Dec 3, 2020

I’m Facing the same Issue on 1.13.1

2reactions
CoshUScommented, Dec 3, 2020

This issue has been addressed in SAM CLI 1.13.2 release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - AttributeError: 'dict' object has no attribute 'predictors'
The AttributeError is an exception thrown when an object does not have the attribute you tried to access. The class dict does not...
Read more >
AttributeError: 'dict' object has no attribute 'value' - Treehouse
To get the value associated with a key, use the key as an index with square brackets (" student['topic'] ").
Read more >
python AttributeError: 'dict' object has no attribute 'has_key'
python AttributeError: ' dict ' object has no attribute 'has_key'
Read more >
Basta Fazoolin's: task 16-17 –AttributeError: 'dict' object has ...
Hi, I got stuck at Basta Fazoolin's: task 16-17. When I try to call flagship_store.available_menus(1200) I got the Error: Traceback (most ...
Read more >
'dict' object has no attribute 'mean' - User Support - OpenMC
dear, all Does anyone know what happened with this and what should I do? Thx, auliyah.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found