For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resource Organization

File Assignment

Resources are assigned to Terraform files based on:

  • Default Assignment: New resources go to main.tf by default.

  • Automatic Separation: Variables go to variables.tf, outputs to outputs.tf, etc.

  • Manual Assignment: You can assign resources to different files. To do so:

    • Right-click the resource in the diagram.

    • Select "Move to file".

    • Choose an existing file or create a new one.

Learn more in Split Code into Files.

Last updated