Skip to content

Commit

Permalink
finalize new terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Sep 12, 2024
1 parent 9c00ddf commit 1c34fd5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 24 deletions.
27 changes: 13 additions & 14 deletions infra/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ terraform {
cloud {
organization = "feketesamu"
workspaces {
name = "pontozo"
name = "pontozo-mtfsz"
}
}
}
Expand Down
16 changes: 8 additions & 8 deletions infra/redis.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
resource "azurerm_redis_cache" "redis-cache" {
name = "pontozo-cache"
location = azurerm_resource_group.pontozo-rg.location
resource_group_name = azurerm_resource_group.pontozo-rg.name
capacity = 0
family = "C"
sku_name = "Basic"
enable_non_ssl_port = false
minimum_tls_version = "1.2"
name = "pontozo-cache"
location = azurerm_resource_group.pontozo-rg.location
resource_group_name = azurerm_resource_group.pontozo-rg.name
capacity = 0
family = "C"
sku_name = "Basic"
non_ssl_port_enabled = false
minimum_tls_version = "1.2"
}
2 changes: 1 addition & 1 deletion infra/staticwebapp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "azurerm_static_web_app" "swa" {
resource "azurerm_dns_cname_record" "pontozo-dns-record" {
name = "pontozo"
zone_name = "mtfsz.hu"
resource_group_name = azurerm_resource_group.pontozo-rg
resource_group_name = azurerm_resource_group.pontozo-rg.name
ttl = 300
record = azurerm_static_web_app.swa.default_host_name
}
Expand Down

0 comments on commit 1c34fd5

Please sign in to comment.