|
|
|
@ -128,6 +128,7 @@ When a pull request is opened to `main` only the Test stage runs.
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
cf create-service postgres tiny-unencrypted-13 dluhc-core-staging-postgres |
|
|
|
|
cf create-service aws-s3-bucket default dluhc-core-staging-csv-bucket |
|
|
|
|
cf create-service aws-s3-bucket default dluhc-core-staging-import-bucket |
|
|
|
|
cf create-service aws-s3-bucket default dluhc-core-staging-export-bucket |
|
|
|
|
``` |
|
|
|
@ -141,6 +142,7 @@ When a pull request is opened to `main` only the Test stage runs.
|
|
|
|
|
5. Bind S3 services to app: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
cf bind-service dluhc-core-staging dluhc-core-staging-csv-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"}' |
|
|
|
|
``` |
|
|
|
@ -148,6 +150,7 @@ When a pull request is opened to `main` only the Test stage runs.
|
|
|
|
|
6. Create a service keys for accessing the S3 bucket from outside Gov PaaS: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
cf create-service-key dluhc-core-staging-csv-bucket csv-bucket -c '{"allow_external_access": true}' |
|
|
|
|
cf create-service-key dluhc-core-staging-import-bucket data-import -c '{"allow_external_access": true}' |
|
|
|
|
cf create-service-key dluhc-core-staging-export-bucket data-export -c '{"allow_external_access": true, "permissions": "read-only"}' |
|
|
|
|
``` |
|
|
|
@ -170,6 +173,7 @@ When a pull request is opened to `main` only the Test stage runs.
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
cf create-service postgres small-ha-13 dluhc-core-production-postgres |
|
|
|
|
cf create-service aws-s3-bucket default dluhc-core-production-csv-bucket |
|
|
|
|
cf create-service aws-s3-bucket default dluhc-core-production-import-bucket |
|
|
|
|
cf create-service aws-s3-bucket default dluhc-core-production-export-bucket |
|
|
|
|
``` |
|
|
|
@ -183,6 +187,7 @@ When a pull request is opened to `main` only the Test stage runs.
|
|
|
|
|
5. Bind S3 services to app: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
cf bind-service dluhc-core-production dluhc-core-production-csv-bucket |
|
|
|
|
cf bind-service dluhc-core-production dluhc-core-production-import-bucket -c '{"permissions": "read-only"}' |
|
|
|
|
cf bind-service dluhc-core-production dluhc-core-production-export-bucket -c '{"permissions": "read-write"}' |
|
|
|
|
``` |
|
|
|
@ -190,6 +195,7 @@ When a pull request is opened to `main` only the Test stage runs.
|
|
|
|
|
6. Create a service keys for accessing the S3 bucket from outside Gov PaaS: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
cf create-service-key dluhc-core-production-csv-bucket dluhc-core-production-csv-bucket-service-key -c '{"allow_external_access": true}' |
|
|
|
|
cf create-service-key dluhc-core-production-import-bucket data-import -c '{"allow_external_access": true}' |
|
|
|
|
cf create-service-key dluhc-core-production-export-bucket data-export -c '{"allow_external_access": true, "permissions": "read-only"}' |
|
|
|
|
``` |
|
|
|
|