??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
Udac @` s d d l m Z m Z m Z e Z d Z d Z d d l m Z d d l
m Z d d l m
Z
d d l m Z m Z d d l m Z d d l m Z m Z m Z y d d
l Z d d
l Z Wn e k
r e d n Xd e e e f d
YZ d
S( i ( t absolute_importt divisiont print_functions
name: aws_rds
plugin_type: inventory
short_description: rds instance source
description:
- Get instances and clusters from Amazon Web Services RDS.
- Uses a YAML configuration file that ends with aws_rds.(yml|yaml).
options:
regions:
description: A list of regions in which to describe RDS instances and clusters. Available regions are listed here
U(https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
default: []
filters:
description: A dictionary of filter value pairs. Available filters are listed here
U(https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-instances.html#options). If you filter by
db-cluster-id and I(include_clusters) is True it will apply to clusters as well.
default: {}
strict_permissions:
description: By default if an AccessDenied exception is encountered this plugin will fail. You can set strict_permissions to
False in the inventory config file which will allow the restrictions to be gracefully skipped.
type: bool
default: True
include_clusters:
description: Whether or not to query for Aurora clusters as well as instances
type: bool
default: False
statuses:
description: A list of desired states for instances/clusters to be added to inventory. Set to ['all'] as a shorthand to find everything.
type: list
default:
- creating
- available
extends_documentation_fragment:
- inventory_cache
- constructed
- aws_credentials
requirements:
- boto3
- botocore
author: Sloane Hertel (@s-hertel)
s
plugin: aws_rds
regions:
- us-east-1
- ca-central-1
keyed_groups:
- key: 'db_parameter_groups|json_query("[].db_parameter_group_name")'
prefix: rds_parameter_group
- key: engine
prefix: rds
- key: tags
- key: region
( t AnsibleError( t to_native( t is_boto3_error_code( t! ansible_dict_to_boto3_filter_listt boto3_tag_list_to_ansible_dict( t camel_dict_to_snake_dict( t BaseInventoryPlugint
Constructablet CacheableNs= The RDS dynamic inventory plugin requires boto3 and botocore.t InventoryModulec B` s e Z d Z d Z d Z d Z e d Z d Z d Z d Z
d Z d Z d
Z
d Z d Z e d
Z RS( t aws_rdsc C` s) t t | j i | _ d | _ d S( N( t superR t __init__t credentialst Nonet boto_profile( t self( ( sE /usr/lib/python2.7/site-packages/ansible/plugins/inventory/aws_rds.pyR Q s c c` s x | D] } y. t j j d | j j d | | j } Wn t j j t j j f k
r } | j r y( t j j d | j j d | } Wq t j j t j j f k
r } t
d t | q Xq t
d t | n X| | f Vq Wd S( s
:param regions: A list of regions to create a boto3 client
Generator that yields a boto3 client and the region
t profile_namet rdss" Insufficient credentials found: %sN( t boto3t sessiont SessionR t clientR t botocoret
exceptionst ProfileNotFoundt PartialCredentialsErrorR R ( R t regionst regiont
connectiont e( ( sE /usr/lib/python2.7/site-packages/ansible/plugins/inventory/aws_rds.pyt _boto3_connV s
.! (!c ` s" d f d } | S( Nc S` s x | D]~ } d | k r&