-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_kms_ciphertext 'unstable' output #960
Comments
Thanks for filing this, @OliverCole. Our usual rule for data sources is that they must be "generally stable", which is to say that they only change value in response to intentional actions. It might well be that, like many things that do crypto, there is no way to get a stable result out of this, and in that case we will probably need to recast this as a |
Yes, I should have mentioned in the report, this constant change in value is consistent with the AWS CLI, and also with my understanding of KMS' use of envelope encryption, per the KMS whitepaper. |
I am also running into this problem. The input to Has anyone started working on a fix? Possibly converting it to a resource? Would you be open to a PR for converting to a resource? |
Running into this as well, would love to see this fixed! |
A new |
This has been released in version 2.4.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Terraform Version
Terraform v0.9.8
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
Run 1: https://gist.github.com/OliverCole/5feb1409f098a5ad5de523ed907cf93a
Run 2: https://gist.github.com/OliverCole/74ee789489a4582b6548a24cb180c07e
Expected/Desired Behavior
Ciphertext data source should be static, resulting in no changes to downstream dependencies.
Actual Behavior
Calls to
data.aws_kms_ciphertext.apikey.ciphertext_blob
interraform console
are stable and match the...0S8tlM
value above.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
References
@apparentlymart - https://groups.google.com/forum/#!topic/terraform-tool/7K4dLBmMrik
The text was updated successfully, but these errors were encountered: