terraform/builtin
Paul Forman 52db098292 Add enable_logging to AWS CloudTrail
The AWS CloudTrail resource is capable of creating CloudTrail resources,
but AWS defaults the actual logging of the trails to `false`, and
Terraform has no method to enable or monitor the status of logging.

CloudTrail trails that are inactive aren't very useful, and it's a
surprise to discover they aren't logging on creation.

Added an `enable_logging` parameter to resource_aws_cloudtrail to enable
logging.  This requires some extra API calls, which are wrapped in new
internal functions.

For compatibility with AWS, the default of `enable_logging` is set to
`false`.
2015-11-21 00:18:38 -07:00
..
bins Merge pull request #2807 from dwradcliffe/f-dyn-provider 2015-11-16 13:53:44 -06:00
providers Add enable_logging to AWS CloudTrail 2015-11-21 00:18:38 -07:00
provisioners chef: read key contents instead of paths 2015-11-12 16:11:44 -06:00