Skip to content

Commit

Permalink
store different envs in different buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingrismore committed Mar 5, 2024
1 parent 6ed6aa6 commit 95609a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions project_1/prefect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ build: null
push:
- prefect_aws.deployments.steps.push_to_s3:
requires: prefect-aws
bucket: cicd-example-workspaces
folder: "{{ $PROJECT_NAME }}_{{ $ENVIRONMENT }}"
bucket: "cicd-example-workspaces-{{ $ENVIRONMENT }}"
folder: "{{ $PROJECT_NAME }}"
credentials: "{{ prefect.blocks.aws-credentials.cicd-example-workspaces }}"

pull:
- prefect_aws.deployments.steps.pull_from_s3:
requires: prefect-aws
bucket: cicd-example-workspaces
folder: "{{ $PROJECT_NAME }}_{{ $ENVIRONMENT }}"
bucket: "cicd-example-workspaces-{{ $ENVIRONMENT }}"
folder: "{{ $PROJECT_NAME }}"
credentials: "{{ prefect.blocks.aws-credentials.cicd-example-workspaces }}"

deployments:
Expand Down
8 changes: 4 additions & 4 deletions project_2/prefect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ build: null
push:
- prefect_aws.deployments.steps.push_to_s3:
requires: prefect-aws
bucket: cicd-example-workspaces
folder: "{{ $PROJECT_NAME }}_{{ $ENVIRONMENT }}"
bucket: "cicd-example-workspaces-{{ $ENVIRONMENT }}"
folder: "{{ $PROJECT_NAME }}"
credentials: "{{ prefect.blocks.aws-credentials.cicd-example-workspaces }}"

pull:
- prefect_aws.deployments.steps.pull_from_s3:
requires: prefect-aws
bucket: cicd-example-workspaces
folder: "{{ $PROJECT_NAME }}_{{ $ENVIRONMENT }}"
bucket: "cicd-example-workspaces-{{ $ENVIRONMENT }}"
folder: "{{ $PROJECT_NAME }}"
credentials: "{{ prefect.blocks.aws-credentials.cicd-example-workspaces }}"

deployments:
Expand Down

0 comments on commit 95609a4

Please sign in to comment.