Created
March 15, 2023 15:32
-
-
Save ItayPodhajcer/99b1c9a1c597c128abf3ca689356e640 to your computer and use it in GitHub Desktop.
terraform-azure-mastodon/main.tf#tg-vars-pass
This file contains 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
locals { | |
name = "${var.deployment_name}-${var.location}" | |
database_user = "dbuser" | |
mastodon_user = "user" | |
mastodon_email = "user@email.com" | |
} | |
resource "azurerm_resource_group" "this" { | |
name = "rg-${local.name}" | |
location = var.location | |
} | |
resource "random_password" "database" { | |
special = false | |
length = 16 | |
} | |
resource "random_password" "elastic" { | |
special = false | |
length = 16 | |
} | |
resource "random_password" "mastodon" { | |
special = false | |
length = 16 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment