This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
forked from enricoros/big-AGI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
170 additions
and
71 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
output "docker_registry_server_url" { | ||
value = replace(azurerm_container_registry.acr.login_server, "https://", "") | ||
description = "ACR login server URL without 'https://'. Add this to GitHub secrets as DOCKER_REGISTRY_SERVER_URL." | ||
} | ||
|
||
output "docker_registry_server_username" { | ||
value = azurerm_container_registry.acr.admin_username | ||
description = "ACR admin username. Add this to GitHub secrets as DOCKER_REGISTRY_SERVER_USERNAME." | ||
} | ||
|
||
output "docker_registry_server_password" { | ||
value = azurerm_container_registry.acr.admin_password | ||
sensitive = true | ||
description = "ACR admin password. Add this to GitHub secrets as DOCKER_REGISTRY_SERVER_PASSWORD." | ||
} | ||
|
||
# Output Function App publish profile | ||
output "GET_PUBLISHING_PROFILE_SCRIPT" { | ||
value = "az webapp deployment list-publishing-profiles --name ${azurerm_linux_web_app.app.name} --resource-group ${azurerm_resource_group.rg.name} --xml" | ||
description = "Run this command in your shell to retrieve the Azure Web App's publishing profile. Add the result to GitHub secrets as AZURE_WEBAPP_PUBLISH_PROFILE." | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
# variables.tf | ||
variable "azure_subscription_id" {} | ||
variable "openai_api_key" {} | ||
variable "anthropic_api_key" {} | ||
variable "gemini_api_key" {} | ||
|
||
variable "allowed_ip" { | ||
description = "The IP address allowed to access the application" | ||
type = string | ||
default = "X.X.X.X/32" | ||
type = string | ||
default = "X.X.X.X/32" | ||
} | ||
|
||
variable "project_name" { | ||
description = "The main name for the project, used to derive other resource names" | ||
type = string | ||
default = "big-agi" | ||
type = string | ||
default = "big-agi" | ||
} | ||
|
||
variable "location" { | ||
description = "The Azure region where resources will be created" | ||
type = string | ||
default = "Norway East" | ||
type = string | ||
default = "Norway East" | ||
} |