Update atlas and archive
This commit is contained in:
parent
c672529d6f
commit
78644356d0
|
@ -8,7 +8,7 @@ description: |-
|
||||||
of resources.
|
of resources.
|
||||||
---
|
---
|
||||||
|
|
||||||
# atlas\_artifact
|
# atlas_artifact
|
||||||
|
|
||||||
Provides a [Data Source](/docs/configuration/data-sources.html) to access to deployment
|
Provides a [Data Source](/docs/configuration/data-sources.html) to access to deployment
|
||||||
artifacts managed by Atlas. This can be used to dynamically configure instantiation
|
artifacts managed by Atlas. This can be used to dynamically configure instantiation
|
||||||
|
@ -20,7 +20,7 @@ An artifact can be created that has metadata representing
|
||||||
an AMI in AWS. This AMI can be used to configure an instance. Any changes
|
an AMI in AWS. This AMI can be used to configure an instance. Any changes
|
||||||
to this artifact will trigger a change to that instance.
|
to this artifact will trigger a change to that instance.
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
# Read the AMI
|
# Read the AMI
|
||||||
data "atlas_artifact" "web" {
|
data "atlas_artifact" "web" {
|
||||||
name = "hashicorp/web"
|
name = "hashicorp/web"
|
||||||
|
|
|
@ -18,7 +18,7 @@ Use the navigation to the left to read about the available resources.
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
# Configure the Atlas provider
|
# Configure the Atlas provider
|
||||||
provider "atlas" {
|
provider "atlas" {
|
||||||
token = "${var.atlas_token}"
|
token = "${var.atlas_token}"
|
||||||
|
@ -40,4 +40,3 @@ The following arguments are supported:
|
||||||
|
|
||||||
* `token` - (Required) API token. This can also be specified with the
|
* `token` - (Required) API token. This can also be specified with the
|
||||||
`ATLAS_TOKEN` shell environment variable.
|
`ATLAS_TOKEN` shell environment variable.
|
||||||
|
|
||||||
|
|
|
@ -8,14 +8,14 @@ description: |-
|
||||||
of resources.
|
of resources.
|
||||||
---
|
---
|
||||||
|
|
||||||
# atlas\_artifact
|
# atlas_artifact
|
||||||
|
|
||||||
Provides access to deployment artifacts managed by Atlas. This can
|
Provides access to deployment artifacts managed by Atlas. This can
|
||||||
be used to dynamically configure instantiation and provisioning
|
be used to dynamically configure instantiation and provisioning
|
||||||
of resources.
|
of resources.
|
||||||
|
|
||||||
~> **NOTE: This resource is deprecated.**
|
!> **This resource is deprecated!** Use the
|
||||||
Please use the [Atlas Artifact Data Source](/docs/providers/atlas/d/artifact.html)
|
[Atlas Artifact Data Source](/docs/providers/atlas/d/artifact.html)
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ An artifact can be created that has metadata representing
|
||||||
an AMI in AWS. This AMI can be used to configure an instance. Any changes
|
an AMI in AWS. This AMI can be used to configure an instance. Any changes
|
||||||
to this artifact will trigger a change to that instance.
|
to this artifact will trigger a change to that instance.
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
# Read the AMI
|
# Read the AMI
|
||||||
resource "atlas_artifact" "web" {
|
resource "atlas_artifact" "web" {
|
||||||
name = "hashicorp/web"
|
name = "hashicorp/web"
|
||||||
|
|
|
@ -1,25 +1,24 @@
|
||||||
<% wrap_layout :inner do %>
|
<% wrap_layout :inner do %>
|
||||||
<% content_for :sidebar do %>
|
<% content_for :sidebar do %>
|
||||||
<div class="docs-sidebar hidden-print affix-top" role="complementary">
|
<ul class="nav docs-sidenav">
|
||||||
<ul class="nav docs-sidenav">
|
<li>
|
||||||
<li<%= sidebar_current("docs-home") %>>
|
<a class="back" href="/docs/providers/index.html">All Providers</a>
|
||||||
<a href="/docs/providers/index.html">All Providers</a>
|
</li>
|
||||||
</li>
|
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-archive-index") %>>
|
<li<%= sidebar_current("docs-archive-index") %>>
|
||||||
<a href="/docs/providers/archive/index.html">Archive Provider</a>
|
<a class="back" href="/docs/providers/archive/index.html">Archive Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-archive-datasource") %>>
|
<h4>Data Sources</h4>
|
||||||
<a href="#">Data Sources</a>
|
|
||||||
<ul class="nav nav-visible">
|
<li<%= sidebar_current("docs-archive-datasource") %>>
|
||||||
<li<%= sidebar_current("docs-archive-datasource-archive-file") %>>
|
<ul class="nav nav-visible">
|
||||||
<a href="/docs/providers/archive/d/archive_file.html">archive_file</a>
|
<li<%= sidebar_current("docs-archive-datasource-archive-file") %>>
|
||||||
</li>
|
<a href="/docs/providers/archive/d/archive_file.html">archive_file</a>
|
||||||
</ul>
|
</li>
|
||||||
</li>
|
</ul>
|
||||||
</ul>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
|
|
@ -1,33 +1,35 @@
|
||||||
<% wrap_layout :inner do %>
|
<% wrap_layout :inner do %>
|
||||||
<% content_for :sidebar do %>
|
<% content_for :sidebar do %>
|
||||||
<div class="docs-sidebar hidden-print affix-top" role="complementary">
|
<ul class="nav docs-sidenav">
|
||||||
<ul class="nav docs-sidenav">
|
<li>
|
||||||
<li<%= sidebar_current("docs-home") %>>
|
<a class="back" href="/docs/providers/index.html">All Providers</a>
|
||||||
<a href="/docs/providers/index.html">All Providers</a>
|
</li>
|
||||||
</li>
|
|
||||||
<li<%= sidebar_current("docs-atlas-index") %>>
|
<li<%= sidebar_current("docs-atlas-index") %>>
|
||||||
<a href="/docs/providers/atlas/index.html">Atlas Provider</a>
|
<a class="back" href="/docs/providers/atlas/index.html">Atlas Provider</a>
|
||||||
</li>
|
</li>
|
||||||
<li<%= sidebar_current("docs-atlas-data") %>>
|
|
||||||
<a href="#">Data</a>
|
<h4>Data Sources</h4>
|
||||||
|
|
||||||
|
<li<%= sidebar_current("docs-atlas-data") %>>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-atlas-data-artifact") %>>
|
<li<%= sidebar_current("docs-atlas-data-artifact") %>>
|
||||||
<a href="/docs/providers/atlas/d/artifact.html">atlas_artifact</a>
|
<a href="/docs/providers/atlas/d/artifact.html">atlas_artifact</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li<%= sidebar_current("docs-atlas-resource") %>>
|
|
||||||
<a href="#">Resources</a>
|
<h4>Resources</h4>
|
||||||
<ul class="nav nav-visible">
|
|
||||||
<li<%= sidebar_current("docs-atlas-resource-artifact") %>>
|
<li<%= sidebar_current("docs-atlas-resource") %>>
|
||||||
<a href="/docs/providers/atlas/r/artifact.html">atlas_artifact</a>
|
<ul class="nav nav-visible">
|
||||||
</li>
|
<li<%= sidebar_current("docs-atlas-resource-artifact") %>>
|
||||||
</ul>
|
<a href="/docs/providers/atlas/r/artifact.html">atlas_artifact</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</li>
|
||||||
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue