File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
tofu/modules/system/templates Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2424 run : tofu version
2525 - name : Set optional variables
2626 shell : bash
27+ env :
28+ TF_VAR_REGION : ${{ env.AWS_REGION }}
2729 # For any of the defined variables that have a value set into TF_VAR_*
2830 # (all uppercase), we set the corresponding TF_VAR_* (lowercase) variable
2931 # that OpenTofu expects.
3436 "database_skip_final_snapshot" "deletion_protection"
3537 "deployment_environments" "environment" "export_expiration"
3638 "image_tags_mutable" "key_recovery_period" "log_level" "program"
37- "project" "repository"
39+ "project" "region" " repository"
3840 )
3941 for var in ${variables[@]}; do
4042 name="TF_VAR_$(echo $var | tr '[:lower:]' '[:upper:]')"
Original file line number Diff line number Diff line change 6666 needs : plan
6767 environment : ${{ inputs.environment || 'development' }}
6868 env :
69+ AWS_REGION : ${{ secrets.AWS_REGION }}
6970 TF_VAR_image_tag : ${{ inputs.image_tag || github.sha }}
7071 # Set required variables.
7172 TF_VAR_repo_oidc_arn : ${{ secrets.TF_VAR_REPO_OIDC_ARN }}
Original file line number Diff line number Diff line change 2626 runs-on : ubuntu-latest
2727 environment : ${{ inputs.environment }}
2828 env :
29+ AWS_REGION : ${{ secrets.AWS_REGION }}
2930 # Set required variables.
3031 TF_VAR_repo_oidc_arn : ${{ secrets.TF_VAR_REPO_OIDC_ARN }}
3132 TF_VAR_vpc_cidr : ${{ secrets.TF_VAR_VPC_CIDR }}
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ Statement:
1212 Action:
1313 - s3: PutObject
1414 Resource:
15- - " ${ bucket_arn } : *"
15+ - " ${ bucket_arn } / *"
You can’t perform that action at this time.
0 commit comments