Skip to content

Support tfmigrate plan / apply automatically (without PR label) #2355

Open
@ponkio-o

Description

Feature Overview

I would like to execute tfmigrate plan and tfmigrate apply automatically. In other words, I would like to execute these commands without PR label.

My understanding is that need to add the label (e.g. tfmigrate:aws/env/prd) to PR when if execute tfmigrate plan and apply.
https://suzuki-shunsuke.github.io/tfaction/docs/feature/tfmigrate/

Why is the feature needed?

Some reasons:

  • Difficult to understand because terraform plan is automatically executed, whereas tfmigrate plan isn't automatically executed.
  • Even if use a prefix such as tfmigrate:, it is difficult to find a label among the many available in PR.

Example Code

To achieve this, it is necessary to detect changes in the tfmigrate migration file that is committed each working directory.
https://github.com/minamijoyo/tfmigrate#migration-file

Note

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions