infracost comment bitbucket

Post an Infracost comment to Bitbucket

Options

NameDescription
--behavior <behavior>Behavior when posting comment, one of: update (default) Update latest comment new Create a new comment delete-and-new Delete previous matching comments and create a new comment
--bitbucket-server-url <bitbucket-server-url>Bitbucket Server URL
--bitbucket-token <bitbucket-token>
  • Required ✳
--commit <commit>Commit SHA to post comment on, mutually exclusive with pull-request. Not available when bitbucket-server-url is set
--dry-runGenerate comment without actually posting to Bitbucket
--path, -p <path>
  • Required ✳
  • Repeatable ♾
--policy-path <policy-path>
  • Repeatable ♾
--pull-request <pull-request>Pull request number to post comment on
--repo <repo>
  • Required ✳
--tag <tag>Customize special text used to detect comments posted by Infracost (placed at the bottom of a comment)