Skip to content

Commit

Permalink
Merge pull request #135 from yanndegat/fix/install_task
Browse files Browse the repository at this point in the history
r/dedicated_install_task: fix missing forcesnew attrs
  • Loading branch information
yanndegat authored Feb 6, 2020
2 parents 4f7cd10 + 043f815 commit bf5d474
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ovh/resource_ovh_dedicated_server_install_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,71 +57,85 @@ func resourceDedicatedServerInstallTask() *schema.Resource {
"change_log": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "Template change log details",
},
"custom_hostname": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "Set up the server using the provided hostname instead of the default hostname",
},
"disk_group_id": {
Type: schema.TypeInt,
Optional: true,
ForceNew: true,
Description: "",
},
"install_rtm": {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Description: "",
},
"install_sql_server": {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Description: "",
},
"language": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "language",
},
"no_raid": {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Description: "",
},
"post_installation_script_link": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "Indicate the URL where your postinstall customisation script is located",
},
"post_installation_script_return": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'",
},
"reset_hw_raid": {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Description: "",
},
"soft_raid_devices": {
Type: schema.TypeInt,
Optional: true,
ForceNew: true,
Description: "",
},
"ssh_key_name": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Description: "Name of the ssh key that should be installed. Password login will be disabled",
},
"use_spla": {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Description: "",
},
"use_distrib_kernel": {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Description: "Use the distribution's native kernel instead of the recommended OVH Kernel",
},
},
Expand Down

0 comments on commit bf5d474

Please sign in to comment.