From f675e429435865b1f836969c4333ab48a146d2c3 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 25 Jan 2022 12:29:32 +0000 Subject: [PATCH] Add S3 bucket creation to readme --- infrastructure_setup.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/infrastructure_setup.md b/infrastructure_setup.md index 28bc4b2d7..cd6b7f64c 100644 --- a/infrastructure_setup.md +++ b/infrastructure_setup.md @@ -6,8 +6,16 @@ 2. Set your deployment target (staging):\ `cf target -o dluhc-core -s staging` -3. Create required backing services (this will take ~15 mins to finish creating): -`cf create-service postgres tiny-unencrypted-13 dluhc-core-staging-postgres` +3. Create required Postgres and S3 bucket backing services (this will take ~15 mins to finish creating):\ + `cf create-service postgres tiny-unencrypted-13 dluhc-core-staging-postgres` -4. Deploy manifest: + `cf create-service aws-s3-bucket default dluhc-core-staging-import-bucket` + + `cf create-service aws-s3-bucket default dluhc-core-staging-export-bucket` + + `cf bind-service dluhc-core-staging dluhc-core-staging-import-bucket -c '{"permissions": "read-only"}'` + + `cf bind-service dluhc-core-staging dluhc-core-staging-export-bucket -c '{"permissions": "read-write"}'` + +4. Deploy manifest:\ `cf push dluhc-core-staging --strategy rolling`