If running version >= v0.30.0-rc, follow these steps to upgrade uDeploy.
- Update configuration.
Update infrastructure/portals/prod/.env
based on auth provider.
$ cd infrastructure/portals/prod
$ cstore pull -t prod
Portal (OIDC) -> AzureAD
OAUTH_SCOPES=openid,offline_access,email
Portal (OIDC) -> Okta
OAUTH_SCOPES=openid,email
$ cstore push -t prod
- Update infrastructure.
infrastructure/portals/prod/main.tf
terraform {
required_version = ">= 0.12.0"
}
provider "aws" {
version = ">= 2.46.0"
}
module “prod” {
source = "github.com/turnerlabs/udeploy//infrastructure/modules/portal?ref=v0.33.2-rc"
}
infrastructure/portals/prod/terraform.tfvars
image = "quay.io/turner/udeploy:v0.33.2-rc.18"
- Apply changes.
$ cd infrastructure/portals/prod
$ terraform init
$ terraform apply