Merge pull request #3494 from TimeIncOSS/docs-aws-glacier
Fix a few nitpicks in docs for aws_glacier_vault
This commit is contained in:
commit
6762a97b88
|
@ -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",
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue