Skip to content

Commit

Permalink
import set default
Browse files Browse the repository at this point in the history
  • Loading branch information
mikatong committed Jan 30, 2024
1 parent d3b3b32 commit 0d587ea
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ func ResourceTencentCloudLighthouseInstance() *schema.Resource {
Delete: resourceTencentCloudLighthouseInstanceDelete,
Update: resourceTencentCloudLighthouseInstanceUpdate,
Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough,
State: func(d *schema.ResourceData, i interface{}) ([]*schema.ResourceData, error) {
_ = d.Set("is_update_bundle_id_auto_voucher", false)
_ = d.Set("isolate_data_disk", true)

return []*schema.ResourceData{d}, nil
},
},
Schema: map[string]*schema.Schema{
"bundle_id": {
Expand Down

0 comments on commit 0d587ea

Please sign in to comment.