-
Notifications
You must be signed in to change notification settings - Fork 663
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
Secret referencing not working through Terraform provider #1277
Comments
This indeed has not been implemented for Terraform yet. We will work on this soon. |
@vmatsiiako It seems to works when there is no concatenation. Example:
Is there any roadmap for this ? |
@maidul98 should be able to comment on this |
@abdalem Terraform provider does not have any logic in it to handle secret referencing. We will aim to add support for this in the coming sprint |
@maidul98 So it's pure luck that secrets without concatenation work ? Many devs uses terraform, for me it's more a bug than a feature request, as nowhere in the docs it's stated that secrets referencing does not work through terraform, so as a devops, it should work same way as in dev environnement. |
Hey @maidul98 started a PR for this. Was able to successfully test it with a local instance: Infisical/terraform-provider-infisical#30. |
Describe the bug
Hi everyone. Secret referencing is not working through the Terraform provider (see screenshot below).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The referencing should be parsed and replaced as it is through the CLI (see screenshot below).
Screenshots
Value through Terraform output
Value through CLI
Platform you are having the issue on:
Terraform Provider
EDIT
After investigation it seems that when the referencing is straight without any concatenation, it's working, but when you want to concatenate with multple referencing or with a string, it's not.
Example:
${AUTH0_ISSUER}
=> ✅ OKhttps://${AUTH0_DOMAIN}
=> ❌ KOThe text was updated successfully, but these errors were encountered: