Any workaround for "unknown until apply" when the KMS key is required for another module-based resource?
Hi, I was trying to implement this module in one of our projects and the plan will continually fail with the following snippet on #873369:
╷
│ Error: Unsupported attribute
│
│ on sns.tf line 29, in module "cfn_notification_sns":
│ 29: kms_master_key_id = module.sns_kms_key.id
│ ├────────────────
│ │ module.sns_kms_key is a object, known only after apply
│
│ This object does not have an attribute named "id".
╵
In addition, despite an output of "id" existing, the tf plan insists one does not exist. Is there something I'm missing in implementing this?
Thanks.