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

Preventing state drift changes across different operating systems when no changes have been made #38

Merged
merged 10 commits into from
May 1, 2024

Conversation

santosr2
Copy link
Contributor

@santosr2 santosr2 commented Feb 2, 2024

The archive_file data source can generate state drift due to different umask values in different operating systems, even when no changes have been made. However, there's a solution to this problem: using output_file_mode parameter to handle OS discrepancies and output_path output instead of path.module to build the path.

Note: These changes have already been tested on both Linux and OSx systems.

References

@santosr2 santosr2 changed the title Avoiding state drift changes in different OSs when no changes were made Preventing state drift changes across different operating systems when no changes have been made Feb 2, 2024
@kjagiello kjagiello merged commit af66051 into kjagiello:master May 1, 2024
6 checks passed
@kjagiello
Copy link
Owner

Great improvement! Thanks for your contribution!

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.

3 participants