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
This is a provider issue and unrelated to terraform version. 1.5.7, 1.6.x and 1.9.2 are all affected.
This feature was added in 1.72.0-beta0 and this is the only current version of the provider impacted.
Affected Resource(s)
ibm_db2
Terraform Configuration Files
The following documented argument references are bad practice and should be removed.
The following undocumented argument references should be removed
parameters
Justification:
The service is required, must be specified, but only has one possible value. It also forces replace, even thou there is no value to change it to.
Both parameters and parameters_json are worse than redundant on a single service resource/data source.
Security exposure. The whole block is not sensitive thus all parameters passed is exposed in the logs. This may not be an issue now, but every change risks exposing something sensitive, like a subscription id or api key.
Confusion. The block allows values to be passed, eg version which causes an evaluation error (at least with value 12), or high_availability which is also an argument reference and can thus be both on and off at the same time.
The blocks should only be used for generic resources, eg ibm_resource_instance where the provider can not be expected to know every option for every service.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
Community Note
Terraform CLI and Terraform IBM Provider Version
This is a provider issue and unrelated to terraform version. 1.5.7, 1.6.x and 1.9.2 are all affected.
This feature was added in 1.72.0-beta0 and this is the only current version of the provider impacted.
Affected Resource(s)
Terraform Configuration Files
The following documented argument references are bad practice and should be removed.
The following undocumented argument references should be removed
Justification:
The
service
is required, must be specified, but only has one possible value. It also forces replace, even thou there is no value to change it to.Both
parameters
andparameters_json
are worse than redundant on a single service resource/data source.version
which causes an evaluation error (at least with value 12), orhigh_availability
which is also an argument reference and can thus be both on and off at the same time.The blocks should only be used for generic resources, eg ibm_resource_instance where the provider can not be expected to know every option for every service.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: