Skip to content

Commit

Permalink
Merge pull request #95 from communitiesuk/FS-3720
Browse files Browse the repository at this point in the history
Adding production manifest file
  • Loading branch information
aaronwilliamsv1 authored Nov 30, 2023
2 parents fde60e7 + abed0bd commit 18168cc
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-preaward-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- dev
- test
- uat
- production
- prod
push:
paths: # Ignore README markdown and only deploy when something in the pre-award folder has changed
- 'apps/pre-award/**'
Expand All @@ -32,7 +32,7 @@ jobs:
if [ "${{ inputs.environment }}" != '' ]; then
echo "env_list=[\"${{ inputs.environment }}\"]" >> "$GITHUB_OUTPUT"
else
echo "env_list=[\"dev\", \"test\", \"uat\", \"production\"]" >> $GITHUB_OUTPUT
echo "env_list=[\"dev\", \"test\", \"uat\", \"prod\"]" >> $GITHUB_OUTPUT
fi
copilot_env_build:
Expand Down
38 changes: 38 additions & 0 deletions apps/pre-award/copilot/environments/prod/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# The manifest for the "dev" environment.
# Read the full specification for the "Environment" type at:
# https://aws.github.io/copilot-cli/docs/manifest/environment/

# Your environment name will be used in naming your resources like VPC, cluster, etc.
name: prod
type: Environment

# Import your own VPC and subnets or configure how they should be created.
# Run this in uat/production only - in the test environments, these should be ad-hoc per deployment
network:
vpc:
id: 'vpc-03c526b6f91619faa'
subnets:
public:
- id: 'subnet-0b70a3b32e758c4a5'
- id: 'subnet-0ea7f0ecb27b87eb6'
private:
- id: 'subnet-0d9a95af637a8cc82'
- id: 'subnet-0e644da941ddcda20'

# Configure the load balancers in your environment, once created.
# http:
# public:
# private:

# Configure observability for your environment resources.
observability:
container_insights: false

cdn: true

http:
public:
security_groups:
ingress:
restrict_to:
cdn: true

0 comments on commit 18168cc

Please sign in to comment.