mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
* fix AWS plugin credential precedence for environment variables * Allow aliases in direct plugins options Consolidate precedence fix just in the doc fragment using aliases for mismatched options * Access options with the option name rather than alias * fix indentation * update unit tests * Improve readability
18 lines
414 B
Python
18 lines
414 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright: (c) 2017, Ansible Project
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
# Plugin option for AWS region
|
|
DOCUMENTATION = r'''
|
|
options:
|
|
region:
|
|
description: The region for which to create the connection.
|
|
type: str
|
|
env:
|
|
- name: EC2_REGION
|
|
- name: AWS_REGION
|
|
'''
|