Merge pull request #2924 from calvinfo/f-aws-dynamo-arn

provider/aws: Add arn attribute for DynamoDB tables
This commit is contained in:
Clint 2015-08-05 14:42:20 -05:00
commit b779144a1e
2 changed files with 12 additions and 10 deletions

View File

@ -283,6 +283,7 @@ func resourceAwsDynamoDbTableCreate(d *schema.ResourceData, meta interface{}) er
} else {
// No error, set ID and return
d.SetId(*output.TableDescription.TableName)
d.Set("arn", *output.TableDescription.TableARN)
return nil
}
}

View File

@ -109,5 +109,6 @@ infinite loop in planning.
The following attributes are exported:
* `arn` - The arn of the table
* `id` - The name of the table