Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r/dedicated_install_task: fix missing forcesnew attrs #135

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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