Update atlas and archive

This commit is contained in:
Seth Vargo 2017-04-06 14:07:44 -04:00
parent c672529d6f
commit 78644356d0
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF
5 changed files with 48 additions and 48 deletions

View File

@ -8,7 +8,7 @@ description: |-
of resources.
---
# atlas\_artifact
# atlas_artifact
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
@ -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
to this artifact will trigger a change to that instance.
```
```hcl
# Read the AMI
data "atlas_artifact" "web" {
name = "hashicorp/web"

View File

@ -18,7 +18,7 @@ Use the navigation to the left to read about the available resources.
## Example Usage
```
```hcl
# Configure the Atlas provider
provider "atlas" {
token = "${var.atlas_token}"
@ -40,4 +40,3 @@ The following arguments are supported:
* `token` - (Required) API token. This can also be specified with the
`ATLAS_TOKEN` shell environment variable.

View File

@ -8,14 +8,14 @@ description: |-
of resources.
---
# atlas\_artifact
# atlas_artifact
Provides access to deployment artifacts managed by Atlas. This can
be used to dynamically configure instantiation and provisioning
of resources.
~> **NOTE: This resource is deprecated.**
Please use the [Atlas Artifact Data Source](/docs/providers/atlas/d/artifact.html)
!> **This resource is deprecated!** Use the
[Atlas Artifact Data Source](/docs/providers/atlas/d/artifact.html)
## 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
to this artifact will trigger a change to that instance.
```
```hcl
# Read the AMI
resource "atlas_artifact" "web" {
name = "hashicorp/web"

View File

@ -1,25 +1,24 @@
<% wrap_layout :inner do %>
<% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-home") %>>
<a href="/docs/providers/index.html">All Providers</a>
</li>
<ul class="nav docs-sidenav">
<li>
<a class="back" href="/docs/providers/index.html">All Providers</a>
</li>
<li<%= sidebar_current("docs-archive-index") %>>
<a href="/docs/providers/archive/index.html">Archive Provider</a>
</li>
<li<%= sidebar_current("docs-archive-index") %>>
<a class="back" href="/docs/providers/archive/index.html">Archive Provider</a>
</li>
<li<%= sidebar_current("docs-archive-datasource") %>>
<a href="#">Data Sources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-archive-datasource-archive-file") %>>
<a href="/docs/providers/archive/d/archive_file.html">archive_file</a>
</li>
</ul>
</li>
</ul>
</div>
<h4>Data Sources</h4>
<li<%= sidebar_current("docs-archive-datasource") %>>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-archive-datasource-archive-file") %>>
<a href="/docs/providers/archive/d/archive_file.html">archive_file</a>
</li>
</ul>
</li>
</ul>
<% end %>
<%= yield %>

View File

@ -1,33 +1,35 @@
<% wrap_layout :inner do %>
<% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-home") %>>
<a href="/docs/providers/index.html">All Providers</a>
</li>
<li<%= sidebar_current("docs-atlas-index") %>>
<a href="/docs/providers/atlas/index.html">Atlas Provider</a>
</li>
<li<%= sidebar_current("docs-atlas-data") %>>
<a href="#">Data</a>
<ul class="nav docs-sidenav">
<li>
<a class="back" href="/docs/providers/index.html">All Providers</a>
</li>
<li<%= sidebar_current("docs-atlas-index") %>>
<a class="back" href="/docs/providers/atlas/index.html">Atlas Provider</a>
</li>
<h4>Data Sources</h4>
<li<%= sidebar_current("docs-atlas-data") %>>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-atlas-data-artifact") %>>
<a href="/docs/providers/atlas/d/artifact.html">atlas_artifact</a>
</li>
</ul>
</li>
<li<%= sidebar_current("docs-atlas-resource") %>>
<a href="#">Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-atlas-resource-artifact") %>>
<a href="/docs/providers/atlas/r/artifact.html">atlas_artifact</a>
</li>
</ul>
</li>
</ul>
</div>
</li>
<h4>Resources</h4>
<li<%= sidebar_current("docs-atlas-resource") %>>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-atlas-resource-artifact") %>>
<a href="/docs/providers/atlas/r/artifact.html">atlas_artifact</a>
</li>
</ul>
</li>
</ul>
<% end %>
<%= yield %>
<% end %>