cal-itp / eligibility-server

Server implementation of the Eligibility Verification API
https://docs.calitp.org/eligibility-server
GNU Affero General Public License v3.0
3 stars 3 forks source link

SBMTD Azure setup #296

Closed thekaveman closed 9 months ago

thekaveman commented 1 year ago

Some tasks may need help from SBMTD IT.

Most of these tasks come from the notes doc when we did this with MST.

Azure basics

Azure DevOps

Terraform

Application

thekaveman commented 1 year ago

We got stuck in SBMTD's Azure with an Azure AD issue, so the group for Compiler engineers is not yet created. SBMTD is going to work with their Azure consultant on this issue.

Most of the setup for Azure DevOps is complete, the remaining step of establishing a Service Connection depends on the fix for Azure AD.

angela-tran commented 10 months ago
  • [x] (Manual x3 environments) Create environment Resource Group, Region: West US
    • [x] sbmtd-mobility-pass-dev
    • [x] sbmtd-mobility-pass-test
    • [x] sbmtd-mobility-pass-prod

Just noticed that our Terraform file expects this to be named sbmtd-mobility-pass-eligibility-dev, etc.: https://github.com/cal-itp/eligibility-server/blob/1fd61404435f5d4759997e1a6e5e3b449c0e24ed/terraform/environment.tf#L8

See the build failure at https://dev.azure.com/sbmtd/eligibility-server/_build/results?buildId=5&view=logs&j=ace7239b-ade7-5b52-2e3a-ab948f392fca&t=86fc3f94-fb9f-52ff-e1d4-fd3623140af8&l=22

I will recreate the Resource Groups to match this naming

angela-tran commented 10 months ago

For getting the values for TF_VAR_DEPLOYER_APP_OBJECT_ID and TF_VAR_DEPLOYER_APP_OBJECT_ID, make sure you go into the "Managed application in local directory" screen to get the Object ID

https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser#list-service-principals-associated-with-an-app

thekaveman commented 9 months ago

@angela-tran I think we are good to close this??

angela-tran commented 9 months ago

@thekaveman Yeah, I think so since all the infra is set up. The dev, test, and prod instances are just waiting for data, which isn't necessarily part of this issue

thekaveman commented 9 months ago

@angela-tran I wrote up this one earlier, I think we're covered :+1: https://github.com/cal-itp/benefits/issues/1783