Skip to content

Commit

Permalink
Update Examples with FQCN (ansible-collections#67)
Browse files Browse the repository at this point in the history
Updated module examples with FQCN

Signed-off-by: Abhijeet Kasurde <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@98173ae
  • Loading branch information
Akasurde authored and goneri committed Sep 21, 2022
1 parent afdf23f commit 24e1488
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions plugins/modules/rds_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
EXAMPLES = '''
# Note: These examples do not set authentication details, see the AWS Guide for details.
- name: create minimal aurora instance in default VPC and default subnet group
rds_instance:
community.aws.rds_instance:
engine: aurora
db_instance_identifier: ansible-test-aurora-db-instance
instance_type: db.t2.small
Expand All @@ -425,7 +425,7 @@
cluster_id: ansible-test-cluster # This cluster must exist - see rds_cluster to manage it
- name: Create a DB instance using the default AWS KMS encryption key
rds_instance:
community.aws.rds_instance:
id: test-encrypted-db
state: present
engine: mariadb
Expand All @@ -436,13 +436,13 @@
allocated_storage: "{{ allocated_storage }}"
- name: remove the DB instance without a final snapshot
rds_instance:
community.aws.rds_instance:
id: "{{ instance_id }}"
state: absent
skip_final_snapshot: True
- name: remove the DB instance with a final snapshot
rds_instance:
community.aws.rds_instance:
id: "{{ instance_id }}"
state: absent
final_snapshot_identifier: "{{ snapshot_id }}"
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/rds_instance_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
'''

EXAMPLES = '''
# Get information about an instance
- rds_instance_info:
- name: Get information about an instance
community.aws.rds_instance_info:
db_instance_identifier: new-database
register: new_database_info
# Get all RDS instances
- rds_instance_info:
- name: Get all RDS instances
community.aws.rds_instance_info:
'''

RETURN = '''
Expand Down

0 comments on commit 24e1488

Please sign in to comment.