From 2ffe8424772493a2f1f45104f15d63e56e49780c Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Fri, 16 Sep 2022 10:00:24 +0200 Subject: [PATCH] Add changelog and update FQDN (#1016) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add changelog and update FQDN SUMMARY Update FQDN and add missing changelog #997 ISSUE TYPE Docs Pull Request COMPONENT NAME cloudtrail Reviewed-by: Jill R Reviewed-by: Alina Buzachis Reviewed-by: Mike Graves Reviewed-by: Gonéri Le Bouder Reviewed-by: Mark Chappell --- changelogs/fragments/migrate_cloudtrail.yml | 4 ++++ plugins/modules/cloudtrail.py | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 changelogs/fragments/migrate_cloudtrail.yml 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 '''