-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Alex Crown <acrown@microsoft.com> Co-authored-by: Eduardo Rodrigues <edrodrigues@microsoft.com> Co-authored-by: Rafael Padilha <rpadilha@microsoft.com> Co-authored-by: Renato Luiz de Freitas Cunha <renato.cunha@microsoft.com>
- Loading branch information
1 parent
8f6fb59
commit 7553fd5
Showing
3 changed files
with
46 additions
and
0 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 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 @@ | ||
How to use this terraform file? | ||
|
||
Install Terraform from https://developer.hashicorp.com/terraform/downloads | ||
|
||
In current directory, execute: | ||
|
||
terraform init | ||
terraform apply -var-file=example-vars.tfvars | ||
|
||
Terraform apply will ask you the following questions: | ||
You can also refer to example-vars.tfvars | ||
|
||
location - This is the Azure Region you want to deploy in. For example, westus2, eastus2, etc. | ||
tenantId - This is the Azure Tenant GUID of your Tenant. You can find this by going to Azure Active Directory or navigating to: https://ms.portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/Overview | ||
subscriptionId - This is the Subscription GUID for the subscription you want to us. | ||
namespace - This is the kubernetes namespace you want to deploy your services in. This will be a new namespace which the script will create. Recommneded value is "terravibes" | ||
acr_registry - This is the path to the Docker Registry where the images are location. Public location for FarmVibes is mcr.microsoft.com/farmai/terravibes | ||
acr_registry_username - Username to access the Docker Registry | ||
acr_registry_password - Password to access the Docker Registry | ||
prefix - A short prefix to distinguish your deployment | ||
resource_group_name - If you want to use an existing resource group, specify it here |
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,7 @@ | ||
tenantId="<FILL YOUR TENANT ID HERE>" | ||
subscriptionId="<FILL YOUR SUBSCRIPTION ID HERE>" | ||
acr_registry="mcr.microsoft.com/farmai/terravibes" | ||
namespace="terravibes" | ||
location="<FILL AZURE REGION HERE>" | ||
prefix="<FILL PREFIX HERE>" | ||
resource_group_name="<FILL IN AN EXISTING RG IF YOU WANT TO USE ONE>" |