Difference between revisions of "Terraform resource: aws kms key"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 1: | Line 1: | ||
<code>[[aws_kms_key]]</code> https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key | <code>[[aws_kms_key]]</code> https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key | ||
+ | |||
+ | == Official example == | ||
+ | resource "aws_kms_key" "a" { | ||
+ | description = "KMS key 1" | ||
+ | deletion_window_in_days = 10 | ||
+ | } | ||
+ | |||
+ | |||
* <code>[[key_id]]</code> | * <code>[[key_id]]</code> |
Revision as of 10:15, 19 April 2023
aws_kms_key
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key
Official example
resource "aws_kms_key" "a" { description = "KMS key 1" deletion_window_in_days = 10 }
key_id
policy
(optional) https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key#policy
Related
Error: MalformedPolicyDocumentException: Policy contains a statement with one or more invalid principals.
aws_kms_alias
Error: "kms_key_id" (arn:::aws) is an invalid ARN: arn: not enough sections
- Terraform EKS module
See also
Advertising: