Merge pull request #2924 from calvinfo/f-aws-dynamo-arn
provider/aws: Add arn attribute for DynamoDB tables
This commit is contained in:
commit
b779144a1e
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue