Prasad Katti
f78f93e646
Added some more info about the aws_s3 module's overwrite option ( #31819 )
2017-10-30 11:22:05 -04:00
Ryan Brown
838c1ba6c7
[cloud] Bugfix for aws_s3 empty directory creation ( #32169 )
...
* [cloud] Bugfix for aws_s3 empty directory creation
* Update integration tests
2017-10-26 08:17:13 -04:00
Sloane Hertel
34e2019251
[cloud] Require src parameter when aws_s3 is used with mode 'put' ( #31657 )
2017-10-13 13:57:40 -04:00
Sloane Hertel
e26955fc9a
[cloud] Document alias for aws_s3 'overwrite' option. ( #31638 )
2017-10-13 13:55:24 -04:00
Prasad Katti
03ec3cd572
[aws_s3] different fail msg depending on whether version is specified ( #31598 )
2017-10-12 12:12:55 +10:00
Sloane Hertel
6fee6f71f7
aws_s3: fix upload_file's ExtraArgs - fixes #31232 ( #31487 )
...
* Module option metadata are extra arguments rather than S3 object metadata: update ExtraArgs variable.
* Remove hyphens from ExtraArgs to maintain backwards compatibility
* Map lowercase extra args to CamelCase
* Maintain backwards compatibility by guessing at content type rather than always defaulting to binary/octet-stream.
* Fix ExtraArgs for non-hyphenated options
* Simplify logic
2017-10-10 13:12:58 -04:00
Toshio Kuratomi
75eed6a51a
Port arg specs from type='str' to type='path'
2017-10-09 21:15:56 -07:00
Prasad Katti
0c64bbcd6f
Document return values for aws_s3 ( #31158 )
...
* Document return values for aws_s3
2017-10-10 09:26:42 +10:00
Dave Grochowski
a7229df469
[cloud] Fix handling of `encrypt` option in aws_s3 module ( #30822 )
2017-10-02 13:18:47 -04:00
Will Thames
371c6dba8b
Fix aws_s3 connection exception handling ( #30955 )
...
`ProfileNotFound` does not have a `response` attribute, and
`NoCredentialsError` does not occur at connection creation time.
2017-09-28 16:20:10 -04:00
Will Thames
b863d072c2
[cloud] Don't remove profile, security_token by default in `aws_s3` ( #30902 )
...
Comment above suggests only removing it for non-S3 services,
so let's actually enforce that.
2017-09-26 10:18:30 -04:00
s-hertel
b3273223db
Previously to use the modes put or get the object had to be specified with a leading /. Since the boto call doesn't take an object like that this was overlooked and removed. Added a check to remove that leading character.
2017-09-19 21:21:02 -07:00
Matt Clay
7714dcd04e
Enable more pylint rules and fix reported issues. ( #30539 )
...
* Enable pylint unreachable test.
* Enable pylint suppressed-message test.
* Enable pylint redundant-unittest-assert test.
* Enable pylint bad-open-mode test.
* Enable pylint signature-differs test.
* Enable pylint unnecessary-pass test.
* Enable pylint unnecessary-lambda test.
* Enable pylint raising-bad-type test.
* Enable pylint logging-not-lazy test.
* Enable pylint logging-format-interpolation test.
* Enable pylint useless-else-on-loop test.
2017-09-18 23:20:32 -07:00
Sloane Hertel
bdbe5337c6
s3 integration tests ( #28396 )
...
* Replace pause in integration tests with until.
Use resource prefix instead of generating a random number
Only try to delete keys if they exist
* Add alias to tests
2017-09-15 05:08:09 -04:00
Ryan Brown
d02bea75d3
Move selected AWS modules from community/certified to core support ( #28617 )
2017-09-06 11:15:41 -04:00
Sloane Hertel
f7e67dc3b1
Rename s3 module to aws_s3. Update CHANGELOG.md. ( #28398 )
...
Use aws_s3 in examples.
2017-08-22 11:17:20 -04:00