Something went wrong. Try again.
A Neovim plugin for interactive OpenTofu applies
Something went wrong. Try again.
797 B · 50 lines
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051# Example Terraform file for testing tfapply.nvim
terraform { required_version = ">= 1.0"}
# Example resource - position cursor here and run :TfApplyHoverresource "null_resource" "example" { triggers = { timestamp = timestamp() }
provisioner "local-exec" { command = "echo 'Hello from tfapply.nvim!'" }}
# Example data sourcedata "null_data_source" "values" { inputs = { name = "example" value = "test" }}
# Example modulemodule "example" { source = "./modules/example"
name = "test-module"}
# Multiple resources for testing :TfApplyFileresource "null_resource" "first" { triggers = { id = "1" }}
resource "null_resource" "second" { triggers = { id = "2" }}
resource "null_resource" "third" { triggers = { id = "3" }}