Created
March 29, 2022 11:49
-
-
Save khaliqgant/cb5cbaff6594503296f503391b914a9e to your computer and use it in GitHub Desktop.
[Terraform Conditional Module] Conditional Module #terraform #infrastructure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Version 11 | |
count = "${var.create_bucket == true ? 1 : 0}" | |
> version 12 | |
count = var.db_username != "" ? 1 : 0 | |
Version 13 | |
count = var.create_bucket ? 1 : 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment