Skip to content

Instantly share code, notes, and snippets.

@tthyer
Created April 12, 2021 18:45
Show Gist options
  • Save tthyer/42bc465a6b5e76b0fc513de70832bf74 to your computer and use it in GitHub Desktop.
Save tthyer/42bc465a6b5e76b0fc513de70832bf74 to your computer and use it in GitHub Desktop.
Create aws genomics stacks
aws --profile sandbox-admin cloudformation create-stack \
--stack-name tthyer-cromwell-test \
--template-body file://src/templates/cromwell/cromwell-resources.template.yaml \
--capabilities CAPABILITY_IAM \
--parameters \
ParameterKey=Namespace,ParameterValue=tthyer-cromwell-test \
ParameterKey=GWFCoreNamespace,ParameterValue=tthyer-cromwell-test-gwfcore \
ParameterKey=VpcId,ParameterValue=vpc-0e9b80dc470a797d5 \
ParameterKey=ServerSubnetID,ParameterValue=subnet-025c297e427e44daf \
ParameterKey=DBSubnetIDs,ParameterValue=\"subnet-025c297e427e44daf,subnet-0b8a92e98f330a943\" \
ParameterKey=DBPassword,ParameterValue=*** \
ParameterKey=CromwellJarUrl,ParameterValue=https://tthyer-sandbox.s3.amazonaws.com/cromwell-56-f1e7bf5-SNAP.jar
aws --profile sandbox-admin cloudformation create-stack \
--stack-name tthyer-cromwell-test-gwfcore \
--template-body file://src/templates/gwfcore/gwfcore-root.template.yaml \
--tags Key=OwnerEmail,Value=tess.thyer@sagebase.org Key=Department,Value=SysBio Key=Project,Value=amp-ad \
--capabilities CAPABILITY_IAM \
--stack-policy-during-update-url https://tthyer-sandbox.s3.amazonaws.com/gwfcore-stack-update-policy.json \
--parameters \
ParameterKey=VpcId,ParameterValue=vpc-0e9b80dc470a797d5 \
ParameterKey=SubnetIds,ParameterValue=\"subnet-025c297e427e44daf,subnet-0b8a92e98f330a943\" \
ParameterKey=TemplateRootUrl,ParameterValue=https://s3.amazonaws.com/tthyer-sandbox/aws-genomics-workflows/templates \
ParameterKey=S3BucketName,ParameterValue=tthyer-cromwell-test-3 \
ParameterKey=ExistingBucket,ParameterValue=true \
ParameterKey=ArtifactBucketName,ParameterValue=tthyer-sandbox \
ParameterKey=ArtifactBucketPrefix,ParameterValue=aws-genomics-workflows/artifacts \
ParameterKey=PriorityCEMaxvCpus,ParameterValue=200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment