Skip to content

Instantly share code, notes, and snippets.

@TAJD
Created December 28, 2021 11:38
Show Gist options
  • Save TAJD/57407d9404a44f229c2bfde49960100b to your computer and use it in GitHub Desktop.
Save TAJD/57407d9404a44f229c2bfde49960100b to your computer and use it in GitHub Desktop.

Create a terraform file

  1. Set the filename in the properties section.
  2. Write terraform code in code blocks with terraform as the language.
  3. Tangle the current file - shortcut is C-c C-v t.
variable "ami" {
   description = "The AMI to use."
}

Note that the packages to compile and run terraform don’t yet exist. This functionality is unlikely to be desirable anyway.

Dependencies

Org mode configuration - point to folder Terraform package - this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment