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

Modify terraform dirs to be accessible without root user #670

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

ZsoltParoczi
Copy link

Problem

The terraform init fails using self hosted agent with other than the root user.

Solution

Change
mkdir -p /opt/terraform/.terraform.d/plugin-cache
to
sudo mkdir -p /opt/terraform/.terraform.d/plugin-cache
in front
of
sudo chown -R $USER /opt/terraform

lines in the helper scripts.

Tests

Notes

@ZsoltParoczi ZsoltParoczi requested a review from a team as a code owner December 4, 2024 16:34
@ZsoltParoczi ZsoltParoczi requested review from KimForss and removed request for a team December 4, 2024 16:34
@ZsoltParoczi
Copy link
Author

ZsoltParoczi commented Dec 5, 2024 via email

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

Successfully merging this pull request may close these issues.

1 participant