First deploy the infrastructure (pipelines and artifact buckets)
aws cloudformation deploy --template-file=infrastructure.yaml --stack-name=STACK_NAME
run
aws cloudformation list-exports
to get the the list of exports.
aws cloudformation package \
--template-file=template.yaml \
--output-template-file packaged.yaml \
--s3-bucket=YOUR_BUCKET
aws cloudformation deploy \
--template-file=packaged.yaml \
--stack-name=SpiderwebDev \
--parameter-overrides env=dev