Skip to content

Commit

Permalink
Merge pull request #8 from cyber-dojo/turn-off-tf-statefile-reporting
Browse files Browse the repository at this point in the history
Turn off exploratory terraform statefile reporting
  • Loading branch information
JonJagger committed Mar 4, 2024
2 parents 93c1802 + 13591b7 commit 5503482
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/sub_deploy_to_beta.yml
Expand Up @@ -87,15 +87,16 @@ jobs:
tf_apply: 'true'
tf_version: v1.4.5
tf_additional_env_vars: '{"TF_VAR_TAGGED_IMAGE": "${{ needs.variables.outputs.ecr_registry }}/${{ needs.variables.outputs.service_name }}:${{ needs.variables.outputs.image_tag }}"}'
tf_sh_version: 0.2.1
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 }}"
tf_state_file_name: "${{ needs.variables.outputs.service_name }}.tfstate"
# tf_sh_version: 0.2.1
# 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 }}"
# tf_state_file_name: "${{ needs.variables.outputs.service_name }}.tfstate"

trail-attest-terraform:
needs: deploy-to-aws-beta
if: false # WIP
permissions:
actions: write
contents: read
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/sub_deploy_to_prod.yml
Expand Up @@ -86,15 +86,16 @@ jobs:
tf_apply: 'true'
tf_version: v1.4.5
tf_additional_env_vars: '{"TF_VAR_TAGGED_IMAGE": "${{ needs.variables.outputs.ecr_registry }}/${{ needs.variables.outputs.service_name }}:${{ needs.variables.outputs.image_tag }}"}'
tf_sh_version: 0.2.1
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 }}"
tf_state_file_name: "${{ needs.variables.outputs.service_name }}.tfstate"
# tf_sh_version: 0.2.1
# 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 }}"
# tf_state_file_name: "${{ needs.variables.outputs.service_name }}.tfstate"

trail-attest-terraform:
needs: deploy-to-aws-prod
if: false # WIP
permissions:
actions: write
contents: read
Expand Down

0 comments on commit 5503482

Please sign in to comment.