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 "me too" comments, 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 Version and Provider Version
Terraform v1.5.7
Module oracle-terraform-modules/oke/oci 5.1.8
Affected Resource(s)
operator submodule
Terraform Configuration Files
...operator_cloud_init=[
{
content_type ="text/cloud-config",
content =jsonencode({
runcmd = [
"<very large string..........................................>",
"<very large string..........................................>",
"<very large string..........................................>",
]})
}
]
...
Debug Output
│ Error: Error in function call
│
│ on .terraform/modules/app-staging-sa1-001.oke/modules/operator/cloudinit.tf line 263, in data "cloudinit_config" "operator":
│ 263: fileexists(lookup(part.value, "content")) ? file(lookup(part.value, "content"))
│ ├────────────────
│ │ part.value is map of string with 2 elements
│
│ Call to function "fileexists" failed: failed to stat (sensitive value).
Expected Behavior
Do not generate exception if the content property fail do check filesystem.
Actual Behavior
Script check a file with very long filename, and generate exception.
Community Note
Terraform Version and Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
content
property fail do check filesystem.Actual Behavior
Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: