Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SCALRCORE-19845 IaCP Provider > Modules > Scalr Module Version data s…
…ource [API_BRANCH] [DB_BRANCH]
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
layout: "scalr" | ||
page_title: "Scalr: scalr_module_version" | ||
sidebar_current: "docs-datasource-module-version-x" | ||
description: |- Get information on the module version. | ||
--- | ||
|
||
# scalr_module_version Data Source | ||
|
||
This data source is used to retrieve module version data by module source and semantic version. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "scalr_module_version" "example" { | ||
source = "env-xxxxxx/resource-name/scalr" | ||
version = "1.0.0" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `source` - (Required) The module source. | ||
* `version` - (Optional) The semantic version based on module version was created. | ||
|
||
## Attribute Reference | ||
|
||
All arguments plus: | ||
|
||
* `id` - The ID of the module version. |