Skip to content

Commit

Permalink
fix_region_code_when_get_root_password
Browse files Browse the repository at this point in the history
  • Loading branch information
Sungminlee authored and Sungminlee committed Oct 28, 2022
1 parent 845fd51 commit 6a67278
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ncloud/data_source_ncloud_root_password.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func getClassicRootPassword(d *schema.ResourceData, config *ProviderConfig) (*st

func getVpcRootPassword(d *schema.ResourceData, config *ProviderConfig) (*string, error) {
reqParams := &vserver.GetRootPasswordRequest{
RegionCode: &config.RegionCode,
ServerInstanceNo: ncloud.String(d.Get("server_instance_no").(string)),
PrivateKey: ncloud.String(d.Get("private_key").(string)),
}
Expand Down

0 comments on commit 6a67278

Please sign in to comment.