Skip to content

Commit

Permalink
ci: fix terraform apply job inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhelezovartem committed Apr 3, 2024
1 parent a32a778 commit 2caf1ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/sub_deploy_to_beta.yml
Expand Up @@ -85,4 +85,5 @@ jobs:
tf_upload_artifact_name_suffix: "_beta"
tf_upload_artifact_state_file: 'true'
tf_upload_artifact_plan: 'true'
tf_state_file_dir_on_s3: "terraform/${{ needs.variables.outputs.service_name }}/${{ needs.variables.outputs.service_name }}.tfstate"
tf_state_file_dir_on_s3: "terraform/${{ needs.variables.outputs.service_name }}"
tf_state_file_name: "${{ needs.variables.outputs.service_name }}.tfstate"
3 changes: 2 additions & 1 deletion .github/workflows/sub_deploy_to_prod.yml
Expand Up @@ -57,4 +57,5 @@ jobs:
tf_upload_artifact_name_suffix: "_prod"
tf_upload_artifact_state_file: 'true'
tf_upload_artifact_plan: 'true'
tf_state_file_dir_on_s3: "terraform/${{ needs.variables.outputs.service_name }}/${{ needs.variables.outputs.service_name }}.tfstate"
tf_state_file_dir_on_s3: "terraform/${{ needs.variables.outputs.service_name }}"
tf_state_file_name: "${{ needs.variables.outputs.service_name }}.tfstate"

0 comments on commit 2caf1ef

Please sign in to comment.