Module-Related Issues
You will be able to spot the errors related to modules when you have some basic understanding of child modules getting called from the root module. You will have to know whether the root module is using the local child module or remote child module, the mandatory input variables expected by the child module, and the outputs exposed by the child module to spot an error related to the module.
Most of the time, the errors are related to the unsupported argument, unable to get the expected output, version mismatch, missing features, and so on. These are discussed in more detail in the following sections.
Missing Features
- If you are writing modules yourself, this is easy to solve. You need to add additional code to the module to add the missing features. Once you add the new code for the feature, you will have to pull the latest changes of the child module in your root module by running
terraform init -upgrade
if there is no versioning. If you have versioned...