Can I use tfcmt
for multiple Terraform states in the same PR?
#675
Closed
manudawber
announced in
Announcements
Replies: 1 comment 1 reply
-
To enable tfcmt to distinguish each comment, please set the variable https://suzuki-shunsuke.github.io/tfcmt/getting-started#monorepo-support-target-variable tfcmt [-var "target:<target>"] plan -patch -- terraform plan |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently have my infrastructure divided into multiple Terraform states (root modules) and want to use
tfcmt
to runterraform plan
on each of these in a single pull request.For example, I have a platform state and multiple application states. When a PR is opened/edited I want to run
tfcmt plan -patch=true -- terraform plan
for each state in a specific order. Ideally I would have one comment on the PR for each state, but at the moment I just have a single comment being patched each time the command is run.I thought this may be configurable, e.g. through a
comment_id
setting, but haven't found one. Is this currently possible?Beta Was this translation helpful? Give feedback.
All reactions