You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/refactoring/testdata/remove-statements/main.tf

36 lines
518 B

# removed resource - basic
removed {
from = test_resource.foo
lifecycle {
destroy = false
}
}
# removed resource - with module
removed {
from = module.gone.test_resource.bar
lifecycle {
destroy = false
}
}
# removed module - basic
removed {
from = module.gone.module.gonechild
lifecycle {
destroy = false
}
}
module "child" {
source = "./child"
}
# removed resource - overridden from module
removed {
from = module.child.test_resource.baz
lifecycle {
destroy = true
}
}