github suzuki-shunsuke/tfcmt v3.2.4

latest releases: v4.13.0, v4.12.0, v4.11.0...
2 years ago

Pull Requests | Issues | v3.2.3...v3.2.4

Bug Fixes

#317 Set os.Stdin when terraform command is run

This change allows you to run terraform apply without -auto-approve option.

AS IS

tfcmt apply -- terraform apply -no-color
null_resource.foo: Refreshing state... [id=8966706083595703589]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # null_resource.bar will be created
  + resource "null_resource" "bar" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: 
Error: error asking for approval: EOF
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: 
Error: error asking for approval: EOF

TO BE

tfcmt apply -- terraform apply -no-color
null_resource.foo: Refreshing state... [id=8966706083595703589]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # null_resource.bar will be created
  + resource "null_resource" "bar" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

null_resource.bar: Creating...
null_resource.bar: Creation complete after 0s [id=7780302426904623778]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Don't miss a new tfcmt release

NewReleases is sending notifications on new releases.