Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ims
terraform-provider-one
Commits
d4fc3f61
Commit
d4fc3f61
authored
Dec 04, 2017
by
Yann KAISER
Browse files
Set default type value to DATABLOCK for Image resource
parent
1dcf214f
Changes
1
Hide whitespace changes
Inline
Side-by-side
one/resource_image.go
View file @
d4fc3f61
...
...
@@ -25,6 +25,7 @@ func resourceImage() *schema.Resource {
"type"
:
&
schema
.
Schema
{
// OS, CDROM, DATABLOCK, KERNEL, RAMDISK, CONTEXT
Type
:
schema
.
TypeString
,
Optional
:
true
,
Default
:
"DATABLOCK"
,
},
"path"
:
&
schema
.
Schema
{
Type
:
schema
.
TypeString
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment