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. - The package conversion status for this version. Absent for versions published before conversion was enabled (not backfilled).
- ↳
statusstring requiredThe conversion status: converting, converted, failed, or unsupported. A failed conversion may succeed on a retry; an unsupported one cannot, because the module uses Terraform features the bridge cannot express. - ↳
failureReasonstring optionalA fault code classifying why the conversion produced no package, not prose: unknown, transient, misconfigured, timed_out, missing_provider, unsupported_feature, invalid_version or module_error. Every code other than unknown is a positive classification; unknown means the conversion failed and nothing recognised why, so a retry has no established reason to succeed. Clients render their own wording from it. Present when the status is failed or unsupported. - ↳
failureDetailstring optionalThe conversion bridge’s own description of the module’s problem, safe to show verbatim. Present only when the module itself is at fault. - ↳
packageVersionIdstring optionalThe Pulumi package version this conversion produced. Present when the status is converted.