Skip to content

Instantly share code, notes, and snippets.

@ItayPodhajcer
Created March 15, 2023 15:36
Show Gist options
  • Save ItayPodhajcer/2f2c4290452eda33bc5e3f1208265e84 to your computer and use it in GitHub Desktop.
Save ItayPodhajcer/2f2c4290452eda33bc5e3f1208265e84 to your computer and use it in GitHub Desktop.
terraform-azure-mastodon/main.tf#aci
resource "azurerm_container_group" "this" {
name = "aci-${local.name}"
location = azurerm_resource_group.this.location
resource_group_name = azurerm_resource_group.this.name
ip_address_type = "Public"
dns_name_label = local.name
os_type = "Linux"
exposed_port {
port = "3000"
protocol = "TCP"
}
exposed_port {
port = "4000"
protocol = "TCP"
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment