github.com/kjmkznr/terraform@v0.5.2-0.20180216194316-1d0f5fdac99e/config/test-fixtures/prevent-destroy-string.tf (about)

     1  resource "aws_instance" "web" {
     2      ami = "foo"
     3      lifecycle {
     4          prevent_destroy = "true"
     5      }
     6  }
     7  
     8  resource "aws_instance" "bar" {
     9      ami = "foo"
    10  }