Closed ahl closed 8 years ago
Answering my own question:
Tests already do this in a pretty clever way, with ref://
variables and the common.yml
file:
mkdir parameters
echo CodeBucketName: gordon-project-$(date +%s) >parameters/common.yml
Then set code-bucket
to ref://CodeBucketName
.
I used gordon (love it!) to build a little project that I wanted to share, but realized that I'd need users to edit
settings.yml
to update the code-bucket or elsegordon apply
would fail (because S3 has a shared namespace). I did something gross to work around this:Is there a better mechanism for this?
Perhaps an alternative would be to allow
code-bucket-file
as an alternative or some sort of import syntax to allow private settings to reside elsewhere.