File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 description : ARN of the DB snapshot to use (optional)
3232 required : false
3333 type : string
34+ egress_cidr :
35+ description : CIDR block to allow egress traffic (optional)
36+ required : false
37+ type : string
3438
3539env :
3640 aws_role : ${{ inputs.environment == 'production'
@@ -193,6 +197,7 @@ jobs:
193197 terraform init -backend-config="env/${{ inputs.environment }}-backend.hcl" -upgrade
194198 terraform plan -var="image_digest=${{ env.DOCKER_DIGEST }}" -var="db_secret_arn=${{ env.DB_SECRET_ARN }}" \
195199 -var="imported_snapshot=${{ env.SNAPSHOT_ARN }}" -var-file="env/${{ inputs.environment }}.tfvars" \
200+ -var="allowed_egress_cidr_block=${{ inputs.egress_cidr }}" \
196201 -out ${{ runner.temp }}/tfplan | tee ${{ runner.temp }}/tf_stdout
197202 - name : Upload artifact
198203 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments