Skip to content

Commit 14f8baa

Browse files
rkoron007mjyocca
andauthored
Apply suggestions from code review
Co-authored-by: Michael Yocca <19916665+mjyocca@users.noreply.github.com>
1 parent 288c45e commit 14f8baa

File tree

1 file changed

+3
-4
lines changed
  • content/terraform-docs-common/docs/cloud-docs/registry

1 file changed

+3
-4
lines changed

content/terraform-docs-common/docs/cloud-docs/registry/using.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ Terraform version 0.11 or later is required to use private modules in HCP Terraf
113113
## Use providers and modules in Stack components
114114

115115
Stack components can source providers and modules from the following:
116-
- GitHub
117116
- Remote addresses
117+
- Git Addresses
118+
- HTTP/HTTPS Addresses
118119
- HCP Terraform private registry
119120
- Terraform public registry
120121

@@ -194,8 +195,7 @@ To source a module from Github, use the following syntax:
194195

195196
```hcl
196197
component "my-component" {
197-
source = "git::https://github.com/my-cool-gh-org/kube.git"
198-
version = "0.1.0"
198+
source = "git::https://github.com/my-cool-gh-org/kube.git?ref=0.1.0"
199199

200200
# ...
201201
}
@@ -209,7 +209,6 @@ To source a module from a remote address, use a URL that points to a `tar.gz` fi
209209

210210
component "my-component" {
211211
source = "https://example.com/infra/compute?archive=tar.gz"
212-
version = "0.1.0"
213212

214213
# ...
215214
}

0 commit comments

Comments
 (0)