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 9, 2022
1 parent 8453005 commit d1102c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/modules/cloudtrail.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@

EXAMPLES = '''
- name: create single region cloudtrail
cloudtrail:
community.aws.cloudtrail:
state: present
name: default
s3_bucket_name: mylogbucket
s3_key_prefix: cloudtrail
region: us-east-1
- name: create multi-region trail with validation and tags
cloudtrail:
community.aws.cloudtrail:
state: present
name: default
s3_bucket_name: mylogbucket
Expand All @@ -128,15 +128,15 @@
Name: default
- name: show another valid kms_key_id
cloudtrail:
community.aws.cloudtrail:
state: present
name: default
s3_bucket_name: mylogbucket
kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012"
# simply "12345678-1234-1234-1234-123456789012" would be valid too.
- name: pause logging the trail we just created
cloudtrail:
community.aws.cloudtrail:
state: present
name: default
enable_logging: false
Expand All @@ -149,7 +149,7 @@
Name: default
- name: delete a trail
cloudtrail:
community.aws.cloudtrail:
state: absent
name: default
'''
Expand Down

0 comments on commit d1102c9

Please sign in to comment.