You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
ibm_is_instance
terraform version
tf2 $ tf version
Terraform v1.1.8
on darwin_amd64
+ provider registry.terraform.io/ibm-cloud/ibm v1.40.1
Your version of Terraform is out of date! The latest version
is 1.1.9. You can update by downloading from https://www.terraform.io/downloads.html
The primary network interface claims to be Optional. But if omitted:
tf2 $ tfa
╷
│ Error: Missing required argument
│
│ with ibm_is_instance.onprem,
│ on onprem.tf line 46, in resource "ibm_is_instance" "onprem":
│ 46: image = data.ibm_is_image.os.id
│
│ "image": all of `image,keys,primary_network_interface,profile,vpc,zone` must be specified
╵
If there is a special case where these are optional (instance_template?) then that needs to be described in the docs.
Better diagnostics should be provided by the provider.
Expected, something like:
44: resource "ibm_is_instance" "onprem" {
primary_network_interface must be specified or a instance_template with a primary_network_interface must be supplied
Actual:
warning above, "imag": all of ....
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
# Copy-paste your Terraform configurations here - for large Terraform configs,# please share a link to the ZIP file.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered:
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
terraform version
Docs and Diagnostics
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_instance#primary_network_interface
The primary network interface claims to be Optional. But if omitted:
If there is a special case where these are optional (instance_template?) then that needs to be described in the docs.
Better diagnostics should be provided by the provider.
Expected, something like:
Actual:
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: