GetTerraformModuleResponse
TerraformModule describes a Terraform module hosted in the Pulumi Cloud registry.
Properties
namestring requiredThe module name.terraformSourceAddressstring optionalThe Terraform/OpenTofu source address ("/ / / ") used to consume the module from a module block or pulumi package add terraform-module. Empty when the registry host is not configured.versionstring requiredThe semantic version of this module version.publisherstring requiredThe organization or user that published the module (the Terraform namespace).sha256string requiredThe SHA-256 checksum of the module tarball.sizeBytesinteger requiredThe size of the module tarball in bytes.sourcestring requiredThe source identifier indicating where the module originates from (e.g. ‘private’).readmestring optionalThe module README, rendered client-side. Absent when the module ships no README.systemstring requiredThe Terraform provider system the module targets (e.g. ‘aws’, ‘azurerm’, ‘google’).descriptionstring optionalA free-form text description of the module’s purpose.- The input variables declared by the root module.
- ↳
namestring requiredThe variable name. - ↳
typestring optionalThe declared Terraform type of the variable, if any. - ↳
descriptionstring optionalThe variable description, if any. - ↳
defaultValuestring optionalThe default value rendered as a string, if the variable declares one. - ↳
requiredboolean requiredWhether the variable is required (declares no default). - ↳
sensitiveboolean requiredWhether the variable is marked sensitive. latestVersionstring requiredThe latest published semantic version of the module.- The outputs declared by the root module.
- ↳
namestring requiredThe output name. - ↳
descriptionstring optionalThe output description, if any. - ↳
sensitiveboolean requiredWhether the output is marked sensitive. - The provider requirements declared by the root module.
- ↳
namestring requiredThe local provider name (e.g. ‘aws’). - ↳
sourcestring optionalThe provider source address (e.g. ‘hashicorp/aws’), if declared. - ↳
versionConstraintstring optionalThe version constraint declared for the provider, if any. updatedAtstring requiredThe timestamp when the module was last updated.- The submodules (modules/
/) shipped alongside the root module. - ↳
namestring requiredThe submodule name (its directory under modules/). - ↳
readmestring optionalThe submodule README, rendered client-side. Absent when the submodule ships no README. - The input variables declared by the submodule.
- The outputs declared by the submodule.
- The provider requirements declared by the submodule.
urlstring requiredThe canonical registry:// URL identifying the module.- The examples (examples/
/) shipped alongside the root module. - ↳
namestring requiredThe example name (its directory under examples/). - ↳
filesmap[string]string requiredThe example files, keyed by path relative to the example directory.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.