tflock
tflock copied to clipboard
Lock should be fail if there is no lock setting.
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