Skip to content

Commit

Permalink
Merge pull request #241 from NaverCloudPlatform/fix_region_code_when_…
Browse files Browse the repository at this point in the history
…get_root_password

fix_region_code_when_get_root_password
  • Loading branch information
minosmlee authored Oct 28, 2022
2 parents 845fd51 + 6a67278 commit 86c5e54
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 86c5e54

Please sign in to comment.