-
Notifications
You must be signed in to change notification settings - Fork 677
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
Added resource for ibm_pi_snapshot + cleaned up pi_instance #1867
Conversation
@hkantare Can we expect this in the next release? Thanks. |
ibm/resource_ibm_pi_network_port.go
Outdated
|
||
helpers.PINetworkPortIPAddress: { | ||
"ipaddress": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The required and option fields for all power resources are having this naming convnetion helpers.PINetworkPortIPAddress (pi_XXXX) I think please follow same here also
@@ -47,6 +47,10 @@ func dataSourceIBMPIImage() *schema.Resource { | |||
Type: schema.TypeString, | |||
Computed: true, | |||
}, | |||
"storage_type": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this storage_type attribute to the docs of both resource and datasources pi_image
}, | ||
|
||
"description": { | ||
Type: schema.TypeString, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description is optional field...can we add the helper string pi_description and in create don't set the default description if it's not set by user
if d.Get(description) == "" {
description = "Testing from Terraform"
}
No description provided.