We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a drone secret is deleted from the Drone UI, then terraform will blow up with this error:
terraform plan module.secrets.drone_secret.secret["master_password"]: Refreshing state... [id=oxr463/terraform-module-drone-repository/master_password] ╷ │ Error: failed to read Drone Secret: oxr463/terraform-module-drone-repository/master_password │ │ with module.secrets.drone_secret.secret["master_password"], │ on secrets/main.tf line 1, in resource "drone_secret" "secret": │ 1: resource "drone_secret" "secret" { │ ╵
The solution for this is to remove the secret from the terraform state:
terraform state rm 'module.secrets.drone_secret.secret["master_password"]'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If a drone secret is deleted from the Drone UI, then terraform will blow up with this error:
The solution for this is to remove the secret from the terraform state:
The text was updated successfully, but these errors were encountered: