hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.78k stars 9.13k forks source link

Support disabling "Service role permissions" checkbox in CodeBuild Source #12197

Open pgieser opened 4 years ago

pgieser commented 4 years ago

Community Note

Description

When editing the source of a CodeBuild project in the console, there is a checkbox (Allow AWS CodeBuild to modify this service role so it can be used with this build project) that appears to be enabled by default that allows CodeBuild to mutate the specified service role. There appears to be no way to enable/disable this via terraform.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_codebuild_project" "project" {
  service_role = "example_role"
  allow_service_role_mutation = false \\ New
}

References

obreo commented 8 months ago

Hi, is this now updated in terraform?

abhiarun-94 commented 4 months ago

Hello,

Do we still have an option to uncheck this functionality "Allow AWS CodeBuild to modify this service role so it can be used with this build project" via terraform