Codification

Create a pull request with codified assets

Creates a pull request containing Infrastructure as Code for specified cloud resources

post/api/codify/pullRequest

Request

Request body

vcsIdstring required

VCS integration ID

repositorystring required

Repository full name (e.g., org/repo)

iacType'terraform' | 'tfcdk' | 'cloudformation' | 'pulumi' required

Infrastructure as Code type

prCommentstring

Comment to include in the pull request description

fileNamestring

File path for the codified output

selectedBranchstring

Target branch name (defaults to main/master)

Response

Successfully created pull request

okboolean required

Whether the pull request was created successfully

urlstring required

URL of the created pull request

branchNamestring required

Name of the created branch

Changes

No recorded changes to this operation across all 1 revision of this API.