Skip to content

Conversation

shblue21
Copy link
Contributor

@shblue21 shblue21 commented Jul 27, 2023

This PR adds support to aws_codecommit_approval_rule_template

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codecommit_approval_rule_template#last_modified_user

Exported example:

resource "aws_codecommit_approval_rule_template" "tfer--codecommit_template_test" {
  content = <<CONTENT
{
  "DestinationReferences": [
    "ref/master"
  ],
  "Statements": [
    {
      "ApprovalPoolMembers": [
        "CodeCommitApprovers:ss2"
      ],
      "NumberOfApprovalsNeeded": 3,
      "Type": "Approvers"
    }
  ],
  "Version": "2018-11-08"
}
CONTENT

  description = "codecommit_template_test_Template"
  name        = "codecommit_template_test"
}

@sergeylanzman
Copy link
Collaborator

@shblue21 can you fix linter?

@sergeylanzman sergeylanzman enabled auto-merge (squash) September 20, 2023 09:14
@sergeylanzman sergeylanzman merged commit e8b1dd7 into GoogleCloudPlatform:master Sep 20, 2023
@shblue21
Copy link
Contributor Author

@sergeylanzman Thank you for your hard work.

ErikAtSumo pushed a commit to SumoLogic/terraformer that referenced this pull request Feb 25, 2025
* feat(codecommit): split InitResources into loadRepository and loadApprovalRuleTemplate methods

* feat(codecommit): added PostConverHook for json content.

* fix: lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants