I am sorry to ask this question but can anyone tell me what this mean?
resource "aws_sqs_queue" "CloudTrail_SQS"
count = var.enabled ? 1 : 0
what does the 1 and 0 represent?
CodePudding user response:
In this case, count is being used to create resources conditionally. If enabled is true, it creates one resource. If enabled is false, the resource is not created.