Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few nitpicks in docs for aws_glacier_vault #3494

Merged
merged 2 commits into from
Oct 13, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.