File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ locals {
3030 ])
3131
3232 # Block volume encryption using OCI Key Management System (KMS)
33- worker_kms_volume_statements = coalesce (var. worker_volume_kms_key_id , " none" ) != " none" ? tolist ([
33+ worker_kms_volume_statements = coalesce (var. worker_volume_kms_key_id , " none" ) != " none" ? flatten ( tolist ([
3434 for statement in local . worker_kms_volume_templates :
3535 formatlist (statement, local. worker_compartments , var. worker_volume_kms_key_id )
36- ]) : []
36+ ])) : []
3737
38- worker_policy_statements = var. create_iam_worker_policy ? concat (
38+ worker_policy_statements = var. create_iam_worker_policy ? tolist ( concat (
3939 local. cluster_join_statements ,
4040 local. worker_kms_volume_statements ,
41- ) : []
41+ )) : []
4242}
4343
4444resource "oci_identity_dynamic_group" "workers" {
You can’t perform that action at this time.
0 commit comments