Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredfholgate committed Oct 23, 2024
1 parent dac11a9 commit 246540c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Terraform Init
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
init \
-backend-config="resource_group_name=$${{vars.BACKEND_AZURE_RESOURCE_GROUP_NAME}}" \
-backend-config="storage_account_name=$${{vars.BACKEND_AZURE_STORAGE_ACCOUNT_NAME}}" \
Expand All @@ -52,7 +52,7 @@ jobs:
run: |
# shellcheck disable=SC2086
terraform \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
plan \
-out=tfplan \
-input=false \
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Create Module Artifact
run: |
$stagingDirectory = "staging"
$rootModuleFolder = "$${inputs.root_module_folder_relative_path}}"
$rootModuleFolder = "$${{inputs.root_module_folder_relative_path}}"
New-Item -Path . -Name $stagingDirectory -ItemType "directory"
Copy-Item -Path "./*" -Exclude @(".git", ".terraform", ".github", $stagingDirectory) -Recurse -Destination "./$stagingDirectory"
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Show the Plan for Review
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
show \
tfplan
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Terraform Init
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
init \
-backend-config="resource_group_name=$${{vars.BACKEND_AZURE_RESOURCE_GROUP_NAME}}" \
-backend-config="storage_account_name=$${{vars.BACKEND_AZURE_STORAGE_ACCOUNT_NAME}}" \
Expand All @@ -126,7 +126,7 @@ jobs:
- name: Terraform $${{ inputs.terraform_action == 'destroy' && 'Destroy' || 'Apply' }}
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
apply \
-input=false \
-auto-approve \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ jobs:
- name: Terraform Format Check
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
fmt \
-check
- name: Terraform Init
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
init \
-backend=false
- name: Terraform Validate
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
validate
plan:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Terraform Init
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
init \
-backend-config="resource_group_name=$${{vars.BACKEND_AZURE_RESOURCE_GROUP_NAME}}" \
-backend-config="storage_account_name=$${{vars.BACKEND_AZURE_STORAGE_ACCOUNT_NAME}}" \
Expand All @@ -87,7 +87,7 @@ jobs:
id: plan
run: |
terraform \
-chdir="$${inputs.root_module_folder_relative_path}}" \
-chdir="$${{inputs.root_module_folder_relative_path}}" \
plan \
-input=false
Expand Down

0 comments on commit 246540c

Please sign in to comment.