diff options
author | Prasad Katti <prasadmkatti@gmail.com> | 2019-12-02 12:12:44 -0800 |
---|---|---|
committer | Jill R <4121322+jillr@users.noreply.github.com> | 2019-12-02 13:12:44 -0700 |
commit | 37ce55fd79c54d5b33f39fc1c50da382753bf6cb (patch) | |
tree | d7065ea2d1a13d4247fb1d85f8a0f0abfeb68e78 /hacking | |
parent | 02e7c5a19f1e864d0c86b04a424bdea51fd5cb25 (diff) | |
download | ansible-37ce55fd79c54d5b33f39fc1c50da382753bf6cb.tar.gz |
lightsail - Use AnsibleAWSModule (#65275)
* lightsail - Use AnsibleAWSModule
- Use AnsibleAWSModule
- Refactor the logic for wait into a separate function (Fixes #63869)
- Handle exceptions in find_instance_info and add a fail_if_not_found parameter
- Add a new state `rebooted` as an alias for `restarted`. AWS calls the action Reboot.
- Add required_if clause for when state is present
* lightsail - Use the default keypair if one is not provided
* lightsail - add a required_if for when state=present
* Update short description for lightsail module
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/aws_config/testing_policies/compute-policy.json | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hacking/aws_config/testing_policies/compute-policy.json b/hacking/aws_config/testing_policies/compute-policy.json index 1d065d33af..09c9e0307a 100644 --- a/hacking/aws_config/testing_policies/compute-policy.json +++ b/hacking/aws_config/testing_policies/compute-policy.json @@ -251,12 +251,9 @@ "Effect": "Allow", "Action": [ "lightsail:CreateInstances", - "lightsail:CreateKeyPair", "lightsail:DeleteInstance", - "lightsail:DeleteKeyPair", "lightsail:GetInstance", "lightsail:GetInstances", - "lightsail:GetKeyPairs", "lightsail:RebootInstance", "lightsail:StartInstance", "lightsail:StopInstance" |