In Terraform 0.11.8, aws_codebuild_project resource does not expose logsConfig from AWS API #6312
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/codebuild
Issues and PRs that pertain to the codebuild service.
Milestone
Community Note
Description
In the current implementation, the
aws_codebuild_project
resource does not expose thelogsConfig
from the upstream AWS SDK. The impact is that CodeBuild creates a log group with unbounded retention and the user cannot configure it.New or Affected Resource(s)
Potential Terraform Configuration
Proposed HCL:
References
It appears that this option was simply omitted from the exposed interface. It is an optional field with
(somewhat) reasonable defaults, so this is very understandable.
There was an earlier pull request that exposed
vpc_config
, which is another optional member ofaws_codebuild_project
.I would be happy to submit an implementation. I would leverage as much as I could from #3324, which seems to be a very similar situation.
The text was updated successfully, but these errors were encountered: