File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ func resourceScalewayCockpit() *schema.Resource {
1919 Delete : schema .DefaultTimeout (defaultCockpitTimeout ),
2020 Default : schema .DefaultTimeout (defaultCockpitTimeout ),
2121 },
22+ Importer : & schema.ResourceImporter {
23+ StateContext : schema .ImportStatePassthroughContext ,
24+ },
2225 Schema : map [string ]* schema.Schema {
2326 "project_id" : projectIDSchema (),
2427 "endpoints" : {
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ func resourceScalewayCockpitToken() *schema.Resource {
2020 Delete : schema .DefaultTimeout (defaultCockpitTimeout ),
2121 Default : schema .DefaultTimeout (defaultCockpitTimeout ),
2222 },
23+ Importer : & schema.ResourceImporter {
24+ StateContext : schema .ImportStatePassthroughContext ,
25+ },
2326 Schema : map [string ]* schema.Schema {
2427 "name" : {
2528 Type : schema .TypeString ,
You can’t perform that action at this time.
0 commit comments