Seed-Farmer is an orchestration tool that works with AWS CodeSeeder and acts as an orchestration tool modeled after GitOps deployments. It has a CommandLine Interface based in Python, leverages modular code deployments defined by declarative manifests, and includes change detection and deployment optimization.
Describe the bug
I'm trying to use two env variables in a module's manifest file, in the path value. The first env will be replaced, the second not. I don't know, if the problem is specific to the path value.
The log shows that only the first env will be replaced and so the deployment fails at the git pull xxx step. If I replace the second env with the actual value, the deployment runs through.
Expected behavior
The path of the Git repository will be correctly resolved.
Describe the bug I'm trying to use two env variables in a module's manifest file, in the path value. The first env will be replaced, the second not. I don't know, if the problem is specific to the path value.
To Reproduce Steps to reproduce the behavior:
Define two envs:
The values are also written to the .env file.
Then in the module's manifest file use:
path: git::${SI_GIT_URL}//modules/optionals/datalake-buckets/?ref=${SI_GIT_BRANCH}
seedfarmer apply manifests/aws-solutions/deployment.yaml --env-file .env
The log shows that only the first env will be replaced and so the deployment fails at the
git pull xxx
step. If I replace the second env with the actual value, the deployment runs through.Expected behavior The path of the Git repository will be correctly resolved.