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
a directory symlink causes an error but a real one works. This was encountered because we have a directory full of "shared" resources that we would like to symlink into the root of "property-snippets" and include what we need per property, but this fails.
a symlinked file doesn't cause this problem.
Actual Behavior
"Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: reading file: read /home/maquis196/workspace/terraform-akamai/property_manager/assets.io/property-snippets/child-rules: is a directory
"
Steps to Reproduce
Move property-snippets/child-rules out of module and symlink it back in
terraform apply
Important Factoids
No
References
No
The text was updated successfully, but these errors were encountered:
Thank you for bringing this to our attention. I can confirm that symlinks are not supported. I suggest using a template_dir instead, like on example below:
Problem with this approach, is that each thing we want, has to be symlinked in (so symlinked files are fine).
I'd rather just have a "common_includes" directory symlinked to the global one, then call each snippet/rule as needed without all the symlinks.
I get this is unsupported, but im only suggesting symlinks to directories don't break the provider? (the fact files work also proves its not some kind of security thing where all the files needed have to be inside the module).
Terraform and Akamai Terraform Provider Versions
Terraform v1.9.8-dev
on linux_amd64
Affected Resource(s)
Debug Output
https://gist.github.com/maquis196/65272bb8bc2298faedb70f31c5ac314f
Expected Behavior
a directory symlink causes an error but a real one works. This was encountered because we have a directory full of "shared" resources that we would like to symlink into the root of "property-snippets" and include what we need per property, but this fails.
a symlinked file doesn't cause this problem.
Actual Behavior
"Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: reading file: read /home/maquis196/workspace/terraform-akamai/property_manager/assets.io/property-snippets/child-rules: is a directory
"
Steps to Reproduce
terraform apply
Important Factoids
No
References
No
The text was updated successfully, but these errors were encountered: