Skip to content

Commit

Permalink
Add changelog and update FQDN (ansible-collections#1016)
Browse files Browse the repository at this point in the history
Add changelog and update FQDN

SUMMARY

Update FQDN and add missing changelog ansible-collections#997

ISSUE TYPE


Docs Pull Request

COMPONENT NAME

cloudtrail

Reviewed-by: Jill R <None>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Mike Graves <mgraves@redhat.com>
Reviewed-by: Gonéri Le Bouder <goneri@lebouder.net>
Reviewed-by: Mark Chappell <None>
  • Loading branch information
alinabuzachis committed Sep 16, 2022
1 parent 100399a commit 2ffe842
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/migrate_cloudtrail.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
major_changes:
- cloudtrail - The module has been migrated from the ``community.aws`` collection.
Playbooks using the Fully Qualified Collection Name for this module should be updated
to use ``amazon.aws.cloudtrail``.
10 changes: 5 additions & 5 deletions plugins/modules/cloudtrail.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@

EXAMPLES = '''
- name: create single region cloudtrail
community.aws.cloudtrail:
amazon.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
community.aws.cloudtrail:
amazon.aws.cloudtrail:
state: present
name: default
s3_bucket_name: mylogbucket
Expand All @@ -123,15 +123,15 @@
Name: default
- name: show another valid kms_key_id
community.aws.cloudtrail:
amazon.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
community.aws.cloudtrail:
amazon.aws.cloudtrail:
state: present
name: default
enable_logging: false
Expand All @@ -144,7 +144,7 @@
Name: default
- name: delete a trail
community.aws.cloudtrail:
amazon.aws.cloudtrail:
state: absent
name: default
'''
Expand Down

0 comments on commit 2ffe842

Please sign in to comment.