terraform-ibm-modules / terraform-ibm-cluster

Terraform modules to create and work with IBM Kubernetes cluster & Red Hat OpenShift Kubernetes cluster on IBM Cloud (Classic, VPC)
https://cloud.ibm.com/docs/containers
Apache License 2.0
11 stars 34 forks source link

The resource ibm_kms_key generates a warning use ibm_kms_key_policies #79

Open powellquiring opened 2 years ago

powellquiring commented 2 years ago

Using https://github.com/terraform-ibm-modules/terraform-ibm-cluster/tree/master/examples/secure-roks-cluster

The resource ibm_kms_key generates a warning.

│ Warning: Argument is deprecated
│
│   with module.kms.ibm_kms_key.key,
│   on .terraform/modules/kms/modules/key-protect/main.tf line 23, in resource "ibm_kms_key" "key":
│   23: resource "ibm_kms_key" "key" {
│
│ Support for creating Policies with the key will soon be removed, Utilise the new resource for creating policies for the keys => ibm_kms_key_policies
ibmtfprovider commented 2 years ago

@powellquiring

Analysing the issue