Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent spruce usage for terraform sub pipelines #263

Open
o-orand opened this issue May 27, 2019 · 1 comment
Open

Consistent spruce usage for terraform sub pipelines #263

o-orand opened this issue May 27, 2019 · 1 comment

Comments

@o-orand
Copy link
Member

o-orand commented May 27, 2019

Expected behavior

As a template author, I want a consistent spruce usage in order to be able to use this feature.

Observed behavior

On terraform manifest generation SPRUCE_FILE_BASE_PATH is not set, so all paths used to reference a file a relative to /tmp/build/xxxxx instead of /tmp/build/xxxxx/credentials-resource/<%terraform_path%

Affected release

Reproduced on version 3.4.1

Traces and logs

processing terraform-tpl.tfvars.yml	
generating terraform.tfvars.yml	
2 error(s) detected:	
 - $.internal-ca-1: tried to read file ../../shared/certs/ca-1.crt: could not be read - open ../../shared/certs/ca-1.crt: no such file or directory
 - $.internal-ca-2: tried to read file ../../shared/certs/ca-2.crt: could not be read - open ../../shared/certs/ca-2.crt: no such file or directory
@gberche-orange
Copy link
Member

similar to #259 , may need to see if common solution can be designed for both issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants