Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regexp for OpenTofu 1.9.0 to hide more warnings #62

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion run/terraform_with_progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func terraformWithProgress(command string, args []string) error {
`|guarantee to take exactly these actions if you run "(terraform|tofu) apply" now\.` +
"|guarantee to take exactly these actions if you run `(terraform|tofu) apply` now\\." +
`|in order to capture the filesystem context the remote workspace expects:` +
`|\[0mmessage\.` +
`|Note: You .* use the -out option to save this plan, so (Terraform|OpenTofu)` +
`|plan. Resource actions are indicated with the following symbols:` +
`|Preparing the remote plan\.\.\.` +
Expand All @@ -56,7 +57,7 @@ func terraformWithProgress(command string, args []string) error {
`|(Terraform|OpenTofu) will destroy all your managed infrastructure, as shown above\.` +
`|(Terraform|OpenTofu) will perform the actions described above\.` +
`|(Terraform|OpenTofu) will perform the following actions:` +
`|(Terraform|OpenTofu) specifically suggests to use it as part of an error message.` +
`|(Terraform|OpenTofu) specifically suggests` +
`|The remote workspace is configured to work with configuration at` +
`|The resources that were imported are shown above\. These resources are now in` +
`|There is no undo. Only 'yes' will be accepted to confirm\.` +
Expand Down
Loading