Skip to content

Commit

Permalink
SCALRCORE-19845 IaCP Provider > Modules > Scalr Module Version data s…
Browse files Browse the repository at this point in the history
…ource

[API_BRANCH]
[DB_BRANCH]
  • Loading branch information
penja committed Aug 20, 2021
1 parent 7f1b779 commit 8335a37
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/data-sources/scalr_module_version.md
@@ -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.

0 comments on commit 8335a37

Please sign in to comment.