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.79k stars 9.14k forks source link

New resource: `aws_codecommit_approval_rule_template` #21768

Closed evairmarinho closed 2 years ago

evairmarinho commented 2 years ago

Community Note

Description

AWS CLI doc:

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_codecommit_approval_rule_template" {
  name        = "my_approval_rule_template"
  description = "Approval rule template for my CodeCommit repository"
  content     = <<EOF
{
 "Version": "2018-11-08",
"DestinationReferences": ["refs/heads/main"],
"Statements: [
{
"Type": "Approvers", 
"NumberOfApprovalsNeeded": 2,
"ApprovalPoolMembers": ["arn:aws:sts::123456789012:assumed-role/CodeCommitReview/*"]
}
]
}
EOF
}

References

evairmarinho commented 2 years ago

11461 Already exist @justinretzolk

evairmarinho commented 2 years ago

Already exist the issue for this.

github-actions[bot] commented 2 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.