Skip to content
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

Terraform plan fetching the secret (client.Retrievesecret) instead of generating a plan for upcoming action #100

Open
GeethaSelvam opened this issue Apr 13, 2022 · 1 comment

Comments

@GeethaSelvam
Copy link

I used this code to fetch the secret from Conjur.
But I can see two entries of audit log in the Conjur UI that the user is actually fetching the secret twice
->First fetch is done during the Terraform plan
->Second fetch is done during the Terraform apply

How to prevent the fetch done during the Terraform plan?

@imheresamir
Copy link

Hi, I believe fetching the secret during the plan phase is intended behavior. When running terraform apply are you passing in the saved plan file (eg. terraform apply "tfplan")? If no plan file is passed to apply then the plan phase will be executed again. Please share the commands used for plan and apply. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants