Skip to content

Commit

Permalink
More fixes for OpenTF
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Sep 7, 2023
1 parent 63423e9 commit ebb7e33
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions run/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,27 @@ func Init(args []string) error {
patternIgnoreLine := `Finding .* versions matching` +
`|Finding latest version of` +
`|from the shared cache directory` +
`|https://www\.terraform\.io/docs/cli/plugins/signing\.html` +
`|If you'd like to know more about provider signing, you can read about it here:` +
`|in \.terraform/modules/` +
`|in the \.terraform\.lock\.hcl file. Review those changes and commit them to your` +
`|Initializing (modules` +
`|Initializing Terraform` +
`|Initializing (Terraform|OpenTF)` +
`|Partner and community providers are signed by their developers\.` +
`|provider plugins)\.\.\.` +
`|Providers are signed by their developers\.` +
`|Reusing previous version of` +
`|Terraform has made some changes to the provider dependency selections recorded` +
`|selections it made above\. Include this file in your version control repository` +
`|signing\.html` +
`|so that (Terraform|OpenTF) can guarantee to make the same selections by default when` +
`|(Terraform|OpenTF) has created a lock file .* to record the provider` +
`|(Terraform|OpenTF) has made some changes to the provider dependency selections recorded` +
`|the backend` +
`|Upgrading modules\.\.\.` +
`|Using previously-installed` +
`|version control system if they represent changes you intended to make\.`
`|version control system if they represent changes you intended to make\.` +
`|you run "(terraform|opentf) init" in the future.`

patternIgnoreFooter := `Terraform.* has been successfully initialized!`
patternIgnoreFooter := `(Terraform|OpenTF).* has been successfully initialized!`

newArgs := []string{}

Expand Down
2 changes: 1 addition & 1 deletion run/terraform_with_progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func terraformWithProgress(command string, args []string) error {
`|relative to the target repository.` +
`|Releasing state lock\. This may take a few moments\.\.\.` +
`|relevant attributes using ignore_changes, the following plan may include` +
`|Running plan in Terraform Cloud\. Output will stream here\. Pressing Ctrl-C` +
`|Running plan in .*\. Output will stream here\. Pressing Ctrl-C` +
`|state, without changing any real infrastructure\.` +
`|(Terraform|OpenTF) has checked that the real remote objects still match the result of` +
`|(Terraform|OpenTF) has compared your real infrastructure against your configuration` +
Expand Down

0 comments on commit ebb7e33

Please sign in to comment.