Add a VpcEndpointId parameter that, when specified, makes PCUI accessible only from within a VPC.
Changes
Move PCUI API Gateway from HTTP to REST in order to specify private endpoint configuration
Update URL to comply with stage name required by REST API (https://domain/resource is now https://domain/pcui/resource)
Use pcluster.svg for favicon as there was an issue with getting favicon when it isn't in root
Add a VpcEndpointId parameter that restricts access to within a VPC when set. The user must also supply subnets and security groups to place the Lambda function in an appropriate VPC.
How Has This Been Tested?
Created stacks with and without VpcEndpointId parameter
Made requests from within VPC and from outside VPC to ensure correct access
Ran npm test
Ran pytest
Updated Lambda function and then created cluster with UI within private VPC on Nice DCV.
Description
Add a
VpcEndpointId
parameter that, when specified, makes PCUI accessible only from within a VPC.Changes
https://domain/resource
is nowhttps://domain/pcui/resource
)pcluster.svg
for favicon as there was an issue with getting favicon when it isn't in rootVpcEndpointId
parameter that restricts access to within a VPC when set. The user must also supply subnets and security groups to place the Lambda function in an appropriate VPC.How Has This Been Tested?
VpcEndpointId
parameternpm test
pytest
PR Quality Checklist
react-i18next
library (useTranslation hook and/or Trans component), see an example herenpm run build
builds without any errorIn order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.