tflock icon indicating copy to clipboard operation
tflock copied to clipboard

Lock should be fail if there is no lock setting.

Open minamijoyo opened this issue 5 years ago • 0 comments

Summary:

Lock should be fail if there is no lock setting.

Version:

tflock v0.0.1

Expected behavior:

lock fails

Actual behavior:

no error

Step to reproduce:

Given the following configuration

terraform {
  backend "s3" {
    region         = "ap-northeast-1"
    bucket         = "hoge"
    key            = "fuga/terraform.tfstate"
    // dynamodb_table = "tflock"
  }
}

Run tflock

$ tflock
$ echo $?
0

Check terraform plan

$ terraform plan
=> no error

minamijoyo avatar Dec 23 '19 04:12 minamijoyo