You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.tf
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ locals {
18
18
# tflint-ignore: terraform_unused_declarations
19
19
validate_region=var.existing_sm_instance_crn==null&& var.region==null?tobool("When existing_sm_instance_crn is null, a value must be passed for var.region") :true
20
20
# tflint-ignore: terraform_unused_declarations
21
-
validate_is_hpcs_key=var.is_hpcs_key&& local.kms_service_name!="hs-crypto"?tobool("When is_hpcs_key is set to true then the key provided through kms_key_crn must be a Hyper Protect Crypto Services key") :true
21
+
validate_is_hpcs_key=var.existing_sm_instance_crn==null&& var.is_hpcs_key&& local.kms_service_name!="hs-crypto"?tobool("When is_hpcs_key is set to true then the key provided through kms_key_crn must be a Hyper Protect Crypto Services key") :true
0 commit comments