expel-io / terraform-aws-cloudtrail

Terraform module for configuring AWS CloudTrail to integrate with Expel
MIT License
2 stars 4 forks source link

TME-1664: aws account id #32

Closed sarjumulmi closed 2 years ago

sarjumulmi commented 2 years ago

Using data.aws_caller_identity.current.account_id to fetch the account id where the resources are being deployed would throw error if the terraform user is using assuming a role from a different account; this would cause the KMS key to be unmanageable.