Skip to content

Commit

Permalink
Merge pull request #3494 from TimeIncOSS/docs-aws-glacier
Browse files Browse the repository at this point in the history
Fix a few nitpicks in docs for aws_glacier_vault
  • Loading branch information
radeksimko committed Oct 13, 2015
2 parents 95832c2 + 88e5647 commit 6762a97
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions website/source/docs/providers/aws/r/glacier_vault.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,23 @@ description: |-

Provides a Glacier Vault Resource. You can refer to the [Glacier Developer Guide](http://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-vaults.html) for a full explanation of the Glacier Vault functionality

~> **NOTE:** When trying to remove a Glacier Vault, the Vault must be empty.
~> **NOTE:** When trying to remove a Glacier Vault, the Vault must be empty.

## Example Usage

```
resource "aws_sns_topic" "aws_sns_topic" {
name = "glacier-sns-topic"
}
resource "aws_glacier_vault" "my_archive" {
name = "MyArchive"
notification {
sns_topic = "${aws_sns_topic.aws_sns_topic.arn}"
events = ["ArchiveRetrievalCompleted","InventoryRetrievalCompleted"]
}
access_policy = <<EOF
{
"Version":"2012-10-17",
Expand All @@ -40,16 +39,14 @@ resource "aws_glacier_vault" "my_archive" {
"glacier:InitiateJob",
"glacier:GetJobOutput"
],
"Resource": [
"arn:aws:glacier:eu-west-1:432981146916:vaults/MyArchive"
]
"Resource": "arn:aws:glacier:eu-west-1:432981146916:vaults/MyArchive"
}
]
}
EOF
tags {
Test="MyArchive"
Test = "MyArchive"
}
}
```
Expand All @@ -72,4 +69,4 @@ The following arguments are supported:
The following attributes are exported:

* `location` - The URI of the vault that was created.
* `arn` - The ARN of the vault.
* `arn` - The ARN of the vault.

0 comments on commit 6762a97

Please sign in to comment.