mirror of https://github.com/ansible/ansible.git
Bkprt py3 ec2 user data (#37664)
* Fix use of user_data field with spot_price in ec2 module (#37628)
The user_data field is base64 encoded inside of the boto library. In
Python3, base64 must be used with byte strings. So we make sure to
encode the user_data into a byte string before passing it on to the boto
library.
Fixes #34978
(cherry picked from commit 0d55081ba8
)
* Python3 ec2 fix added to changelog
pull/37276/head
parent
97a0516cf6
commit
389c4d1536
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- ec2 - Fix ec2 user_data parameter to properly convert to base64 on python3 (https://github.com/ansible/ansible/pull/37628)
|
Loading…
Reference in New Issue