Search notes:

Terraform module structure

|   README.md                                        | Or simply README. Description of the module.
│   license.txt                                      |
│   main.tf                                          | The primary entry point. One of the three recommended files in a module
│   outputs.tf                                       | Output definitions for for other resources. One of the three recommended files in a modue
│   provider.tf                                      |
│   schema.yaml                                      |
│   solutionMetadata.txt                             |
│   variables.tf                                     | One of the three recommended files in a module
│                                                    |
└───modules                                          | Directory for nested modules. REAMDE.md files indicate they're usable for external users.
    ├───compute                                      | A submodule
    │   │   main.tf                                  |
    │   │   outputs.tf                               |
    │   │   variables.tf                             |
    │   │                                            |
    │   ├───scripts                                  |
    │   │       bootstrap.sh                         |
    │   │                                            |
    │   └───sdk-validation                           |
    │       │   gosdk-validation.go                  |
    │       │   JavaSDKValidation.java               |
    │       │   powershell-validation.ps1            |
    │       │   provider.tf                          |
    │       │   pythonsdk-validation.py              |
    │       │   rubysdk-validation.rb                |
    │       │   sdk-validation.sh                    |
    │       │                                        |
    │       ├───dotnet                               |
    │       │       DotnetValidation.cs              |
    │       │       NuGet.Config                     |
    │       │                                        |
    │       └───typescript                           |
    │               typescript-validation.ts         |
    │                                                |
    └───network                                      | Another submodule
            main.tf                                  |
            outputs.tf                               |
            variables.tf

See also

Terraform

Index