diff --git a/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst b/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst index 698cbec46b6..07d758dd0cb 100644 --- a/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst +++ b/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst @@ -153,6 +153,18 @@ or: if not HAS_BOTO3: module.fail_json(msg='boto3 and botocore are required for this module') +Supporting Module Defaults +-------------------------- + +The existing AWS modules support using :ref:`module_defaults ` for common +authentication parameters. To do the same for your new module, add an entry for it in +``lib/ansible/config/module_defaults.yml``. These entries take the form of: + +.. code-block:: yaml + + aws_module_name: + - aws + Connecting to AWS =================