diff --git a/README.md b/README.md index 15c43d54..af66fccb 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![CircleCI](https://circleci.com/gh/nasa/cumulus-template-deploy.svg?style=svg)](https://circleci.com/gh/nasa/cumulus-template-deploy) +## How To Deploy + Documentation for how to use the Cumulus template project can be read online: [https://nasa.github.io/cumulus/docs/deployment/deployment-readme#prepare-daac-deployment-repository](https://nasa.github.io/cumulus/docs/deployment/deployment-readme#prepare-daac-deployment-repository) diff --git a/iam/config.yml b/iam/config.yml deleted file mode 100644 index 6834d1c7..00000000 --- a/iam/config.yml +++ /dev/null @@ -1,30 +0,0 @@ -default: - prefix: template-cumulus - stackName: template-cumulus-iam - authorizor: false - capabilities: - - CAPABILITY_NAMED_IAM - - system_bucket: template-cumulus-sandbox-internal - - buckets: - internal: - name: template-cumulus-sandbox-internal - type: internal - private: - name: template-cumulus-sandbox-private - type: private - protected: - name: template-cumulus-sandbox-protected - type: protected - public: - name: template-cumulus-sandbox-public - type: public - protected-2: - name: template-cumulus-sandbox-protected-2 - type: protected - - params: - - name: ResourcePrefix - value: '{{prefix}}' - diff --git a/package.json b/package.json index 223db8cd..375deb21 100644 --- a/package.json +++ b/package.json @@ -5,15 +5,17 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "deploy": "./node_modules/.bin/kes cf deploy --kes-folder app --region $AWS_REGION --deployment $DEPLOYMENT --template node_modules/@cumulus/deployment/app --profile $AWS_PROFILE", - "deploy-iam": "./node_modules/.bin/kes cf deploy --kes-folder iam --region $AWS_REGION --deployment $DEPLOYMENT --template node_modules/@cumulus/deployment/iam --profile $AWS_PROFILE" + "deploy-all": "npm run deploy-iam && npm run deploy-db && npm run deploy-app", + "deploy-app": "./node_modules/.bin/kes cf deploy --kes-folder app --region $AWS_REGION --deployment $DEPLOYMENT --template node_modules/@cumulus/deployment/app --profile $AWS_PROFILE", + "deploy-db": "./node_modules/.bin/kes cf deploy --kes-folder app --region $AWS_REGION --deployment $DEPLOYMENT --template node_modules/@cumulus/deployment/db --profile $AWS_PROFILE", + "deploy-iam": "./node_modules/.bin/kes cf deploy --kes-folder app --region $AWS_REGION --deployment $DEPLOYMENT --template node_modules/@cumulus/deployment/iam --profile $AWS_PROFILE" }, "author": "Cumulus Authors", "license": "Apache-2.0", "dependencies": { - "@cumulus/api": "~1.12.1", - "@cumulus/deployment": "~1.12.1", - "@cumulus/hello-world": "~1.12.1", + "@cumulus/api": "~1.13.0", + "@cumulus/deployment": "~1.13.0", + "@cumulus/hello-world": "~1.13.0", "kes": "~2.2.8", "node-forge": "^0.7.1" }