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

Mark the key attribute of rotated secrets as computed #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phy1729
Copy link

@phy1729 phy1729 commented Aug 27, 2024

For a rotated secret with the key left as null, a plan after the initial apply will show a diff

      - key                        = "acc-axxxxxxxxxxm__account-def-secrets-key__" -> null

This marks the key attribute as computed in addition to optional to let Terraform know the value may be set by the practitioner, but if left unset the provider may set a value.

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

Successfully merging this pull request may close these issues.

1 participant