Skip to content

Commit

Permalink
Refactor Terraform workflows and lock file
Browse files Browse the repository at this point in the history
- Remove branch restriction for workflow triggers
- Update concurrency settings in workflows
- Update AWS provider version in .terraform.lock.hcl
- Move amazon_linux module to separate file
  • Loading branch information
arnol377 committed Jan 21, 2025
1 parent 6b60c0c commit 8f1ab22
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 23 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/terraform-apply-csvd-dev-ew.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Csvd-Dev-Ew - Terraform Apply

on:
push:
branches:
- main
workflow_dispatch:

concurrency:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/terraform-plan-csvd-dev-ew.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Csvd-Dev-Ew - Terraform Plan

on:
pull_request:
branches:
- main
workflow_dispatch:

concurrency:
Expand Down
32 changes: 16 additions & 16 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data "aws_iam_policy_document" "assets_bucket_policy_document" {
principals {
type = "AWS"
identifiers = [
# module.amazon_linux.iam_arn,
module.amazon_linux.iam_arn,
# module.rhel.iam_arn,
# module.docker.iam_arn,
# module.windows.iam_arn,
Expand Down

0 comments on commit 8f1ab22

Please sign in to comment.