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
Community Note
Terraform CLI and Terraform IBM Provider Version
terraform -v
Terraform v0.15.1
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Although in my case I use
filebase64
as the code is zipped, I also tested withfile
as in the example below.Expected Behavior
Should work as the documentation example says:
https://cloud.ibm.com/docs/ibm-cloud-provider-for-terraform?topic=ibm-cloud-provider-for-terraform-function-resources#docker-action
Actual Behavior
Error: ConflictsWith
│
│ with ibm_function_action.my_action,
│ on functions.tf line 165, in resource "ibm_function_action" "my_action":
│ 165: code = filebase64("actions/my-action/dist/bundle.zip")
│
│ "exec.0.code": conflicts with exec.0.image
Steps to Reproduce
terraform apply
Important Factoids
I'm trying to use custom Docker image as documented in IBM OpenWhisk docs
The docker image is uploaded to Docker Hub.
In the documentation the example says this should be possible. However, the input parameters section describes exec.image to conflict with exec.code:
Therefore the parameter documentation conflicts with the example.
Currently it is not possible to use custom Docker image with Terraform.
The text was updated successfully, but these errors were encountered: