-
Notifications
You must be signed in to change notification settings - Fork 6
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 UPDATE not working #31
Comments
|
I'm also running into this and I can't figure out why. I have to drop them, delete them from state, and try again. The service token in use has RW access to /** |
@DanielHougaard can you please talk a look when you have time? |
If it helps, here are some of the relevant logs from my attempts to change an existing secret. What catches my eye is the response: [response={"statusCode":400,"message":"Secret already exist","error":"BadRequest"}] Excerpts were just executed now, keys have since been rotated again in case I missed a redaction. Plan
Apply
|
Execute following terraform code
terraform apply --var INFISCAL_TOKEN=$(infisical service-token create --scope='dev:/SETUPTOOLS/**' --access-level=read --access-level=write -e 100 --token-only)
Following configuaration
It works on 1st run without issues.
Now change
value = "opti-pypi"
to something likevalue = "opti"
Reapply with same command, and Im getting following errors:
The text was updated successfully, but these errors were encountered: