Skip to content

Commit

Permalink
Merge pull request #30758 from sbldevnet/b-aws_cloudtrail-fix-delegat…
Browse files Browse the repository at this point in the history
…ed-trail

Use trail `arn` instead of `name` to get organization trails from a delegated account
  • Loading branch information
ewbankkit authored Nov 6, 2023
2 parents 3a2a611 + 61d3bb6 commit 2485513
Show file tree
Hide file tree
Showing 6 changed files with 565 additions and 354 deletions.
7 changes: 7 additions & 0 deletions .changelog/30758.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:bug
resource/aws_cloudtrail: Change the `id` attribute from the trail's name to its ARN to support [organization trails](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html)
```

```release-note:note
resource/aws_cloudtrail: The resource's [import ID](https://developer.hashicorp.com/terraform/language/import#import-id) has changed from `name` to `arn`
```
Loading

0 comments on commit 2485513

Please sign in to comment.