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

Lock should be fail if there is no lock setting. #1

Open
minamijoyo opened this issue Dec 23, 2019 · 0 comments
Open

Lock should be fail if there is no lock setting. #1

minamijoyo opened this issue Dec 23, 2019 · 0 comments

Comments

@minamijoyo
Copy link
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant