diff --git a/lib/ansible/modules/cloud/amazon/aws_s3_cors.py b/lib/ansible/modules/cloud/amazon/aws_s3_cors.py index e41748bf9db..553c3bcb25d 100644 --- a/lib/ansible/modules/cloud/amazon/aws_s3_cors.py +++ b/lib/ansible/modules/cloud/amazon/aws_s3_cors.py @@ -27,8 +27,7 @@ options: state: description: - Create or remove cors on the s3 bucket - required: false - default: present + required: true choices: [ 'present', 'absent' ] extends_documentation_fragment: - aws