Merge pull request #1125 from TimeIncOSS/rds_instance_fix
aws/rds: Let aws_db_instance.*.address to be actually address
This commit is contained in:
commit
e92a378df7
|
@ -324,7 +324,7 @@ func resourceAwsDbInstanceRead(d *schema.ResourceData, meta interface{}) error {
|
||||||
d.Set("parameter_group_name", *v.DBParameterGroups[0].DBParameterGroupName)
|
d.Set("parameter_group_name", *v.DBParameterGroups[0].DBParameterGroupName)
|
||||||
}
|
}
|
||||||
|
|
||||||
d.Set("address", *v.Endpoint.Port)
|
d.Set("address", *v.Endpoint.Address)
|
||||||
d.Set("endpoint", fmt.Sprintf("%s:%d", *v.Endpoint.Address, *v.Endpoint.Port))
|
d.Set("endpoint", fmt.Sprintf("%s:%d", *v.Endpoint.Address, *v.Endpoint.Port))
|
||||||
d.Set("status", *v.DBInstanceStatus)
|
d.Set("status", *v.DBInstanceStatus)
|
||||||
d.Set("storage_encrypted", *v.StorageEncrypted)
|
d.Set("storage_encrypted", *v.StorageEncrypted)
|
||||||
|
|
Loading…
Reference in New Issue