We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa30d29 + 31d4d85 commit d2e5a54Copy full SHA for d2e5a54
modules/bastion/datasources.tf
@@ -67,5 +67,5 @@ data "oci_core_instance" "bastion" {
67
data "oci_ons_notification_topic" "bastion_notification" {
68
#Required
69
topic_id = oci_ons_notification_topic.bastion_notification[0].topic_id
70
- count = var.oci_bastion_notification.notification_enabled == true ? 1 : 0
+ count = (var.oci_bastion.bastion_enabled == true && var.oci_bastion_notification.notification_enabled == true) ? 1 : 0
71
}
0 commit comments