diff --git a/changelogs/fragments/migrate_cloudtrail.yml b/changelogs/fragments/migrate_cloudtrail.yml new file mode 100644 index 00000000000..d21bbbe5d7a --- /dev/null +++ b/changelogs/fragments/migrate_cloudtrail.yml @@ -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``. diff --git a/plugins/modules/cloudtrail.py b/plugins/modules/cloudtrail.py index aa3b637cee5..1cf14eb5731 100644 --- a/plugins/modules/cloudtrail.py +++ b/plugins/modules/cloudtrail.py @@ -100,7 +100,7 @@ EXAMPLES = ''' - name: create single region cloudtrail - community.aws.cloudtrail: + amazon.aws.cloudtrail: state: present name: default s3_bucket_name: mylogbucket @@ -108,7 +108,7 @@ 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 @@ -123,7 +123,7 @@ Name: default - name: show another valid kms_key_id - community.aws.cloudtrail: + amazon.aws.cloudtrail: state: present name: default s3_bucket_name: mylogbucket @@ -131,7 +131,7 @@ # 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 @@ -144,7 +144,7 @@ Name: default - name: delete a trail - community.aws.cloudtrail: + amazon.aws.cloudtrail: state: absent name: default '''