github.com/openshift/terraform@v0.11.12-beta1/config/test-fixtures/validate-ignore-changes/main.tf (about)

     1  variable "foo" {
     2    default = "ami-abcd1234"
     3  }
     4  
     5  variable "bar" {
     6    default = "t2.micro"
     7  }
     8  
     9  provider "aws" {
    10    access_key = "foo"
    11    secret_key = "bar"
    12  }
    13  
    14  resource aws_instance "web" {
    15    ami           = "${var.foo}"
    16    instance_type = "${var.bar}"
    17  
    18    lifecycle {
    19      ignore_changes = ["*"]
    20    }
    21  }