[GH-ISSUE #293] Improve the terraform workflow #173

Closed
opened 2026-02-27 19:17:08 +03:00 by kerem · 1 comment
Owner

Originally created by @ekosfin on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/EddieTheCubeHead/Stagnum/issues/293

The following improvements should be made to the workflow for deploying terraform:

  • The workflow should not autoformat and commit the changes, but rather in the pull request send a comment saying that the formatting failed
  • The workflow should comment to the pull request the current terraform plan for easier pull request review
  • Currently the workflow is using AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID If these keys leak they can be used from anywhere. I would recommend creating a workflow IAM role in AWS that can be assumed with OICD to ensure that only github runners are able to limit access to the AWS account.
Originally created by @ekosfin on GitHub (Apr 16, 2024). Original GitHub issue: https://github.com/EddieTheCubeHead/Stagnum/issues/293 The following improvements should be made to the workflow for deploying terraform: - The workflow should not autoformat and commit the changes, but rather in the pull request send a comment saying that the formatting failed - The workflow should comment to the pull request the current terraform plan for easier pull request review - Currently the workflow is using AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID If these keys leak they can be used from anywhere. I would recommend creating a workflow IAM role in AWS that can be assumed with OICD to ensure that only github runners are able to limit access to the AWS account.
Author
Owner

@ekosfin commented on GitHub (Apr 16, 2024):

If needed I can help with these listed issues.

<!-- gh-comment-id:2058200529 --> @ekosfin commented on GitHub (Apr 16, 2024): If needed I can help with these listed issues.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Stagnum#173
No description provided.