Skip to content

Commit

Permalink
ui auth deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
BearHanded committed Jul 8, 2024
1 parent f753fb8 commit 1dcf4ea
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
23 changes: 11 additions & 12 deletions serverless-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,24 @@ services:
# AttachmentsBucketName: ${uploads.AttachmentsBucketName}

# wave 3: depends on many
# ui-auth:
# path: services/ui-auth
# params:
# AttachmentsBucketArn: ${uploads.AttachmentsBucketArn}
# ApiGatewayRestApiName: ${app-api.ApiGatewayRestApiName}
# ApplicationEndpointUrl: ${ui.ApplicationEndpointUrl}
ui-auth:
path: services/ui-auth
params:
# ApiGatewayRestApiName: ${app-api.ApiGatewayRestApiName}
ApplicationEndpointUrl: ${ui.ApplicationEndpointUrl}

# wave 4: depends on most
ui-src:
path: services/ui-src
params:
# ApiRegion: ${app-api.Region}
# ApiGatewayRestApiUrl: ${app-api.ApiGatewayRestApiUrl}
# CognitoRegion: ${ui-auth.Region}
# IdentityPoolId: ${ui-auth.IdentityPoolId}
# UserPoolId: ${ui-auth.UserPoolId}
# UserPoolClientId: ${ui-auth.UserPoolClientId}
# UserPoolClientDomain: ${ui-auth.UserPoolClientDomain}
# IdentityProvider: ${ui-auth.IdentityProvider}
CognitoRegion: ${ui-auth.Region}
IdentityPoolId: ${ui-auth.IdentityPoolId}
UserPoolId: ${ui-auth.UserPoolId}
UserPoolClientId: ${ui-auth.UserPoolClientId}
UserPoolClientDomain: ${ui-auth.UserPoolClientDomain}
IdentityProvider: ${ui-auth.IdentityProvider}
S3BucketName: ${ui.S3BucketName}
CloudFrontDistributionId: ${ui.CloudFrontDistributionId}
ApplicationEndpointUrl: ${ui.ApplicationEndpointUrl}
2 changes: 1 addition & 1 deletion services/ui-auth/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ custom:
- production
sesSourceEmailAddress: ${ssm:/configuration/${self:custom.stage}/sesSourceEmailAddress, ssm:/configuration/default/sesSourceEmailAddress, ""}
attachments_bucket_arn: ${param:AttachmentsBucketArn}
api_gateway_rest_api_name: ${param:ApiGatewayRestApiName}
api_gateway_rest_api_name: ${param:ApiGatewayRestApiName, ""}
application_endpoint_url: ${param:ApplicationEndpointUrl}
bootstrapUsersEnabled: ${ssm:/configuration/${self:custom.stage}/cognito/bootstrapUsers/enabled, ssm:/configuration/default/cognito/bootstrapUsers/enabled, ""}
bootstrapUsersPassword: ${ssm:/configuration/${self:custom.stage}/cognito/bootstrapUsers/password, ssm:/configuration/default/cognito/bootstrapUsers/password, ""}
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const deployedServices = [
// "topics",
// "app-api",
"ui",
// "ui-auth",
"ui-auth",
"ui-src",
];

Expand Down

0 comments on commit 1dcf4ea

Please sign in to comment.