Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add IBMi Software License field to instance data source and resource #5082
Add IBMi Software License field to instance data source and resource #5082
Changes from 18 commits
a1c8988
96e6e56
b8a1e9c
6da86d8
4080e04
cada08f
5128fad
656af92
317bbfe
f8e43d3
4554254
9b4713c
63fc536
38c6c2d
478bf9e
9bcd4f3
f636d6d
11f7b22
093c1e4
0765213
87a0af3
d3f94bf
8fd5882
edea06f
3ad81bb
77fe080
a92033e
d62aa7f
45840c2
daaf139
ed52a74
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Kind of contradicting.
Here is the doc:
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.
@yussufsh I believe there is no contradiction, since the attribute is set by the provider as mention above if both false fir
Required
andOptional
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.
Computed cannot be used with Required.
Just Computed = true was enough.
Just common logic:
Required = true (cannot be Optional)
Optional = true (cannot be Required)
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.
Not a requirement but we should be using ValidateFunc (ValidateDiagFunc)
https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#validatefunc
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.
That's probably a bit more than I want to change for this PR. Probably mark it as an enhancement.
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.
Same as https://github.com/IBM-Cloud/terraform-provider-ibm/pull/5082/files#r1497298024