Skip to content

Commit

Permalink
Add path to environment vars file S3 upload
Browse files Browse the repository at this point in the history
  • Loading branch information
coreycarvalho committed Dec 11, 2024
1 parent d78a365 commit 77fff0e
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Upload Env File to S3
shell: bash
run: |
aws s3 cp cd/application-deployment/${{ inputs.environment }}/${{ inputs.environment }}.env s3://vanotify-environment-variables-${{ inputs.environment }}/
aws s3 cp cd/application-deployment/${{ inputs.environment }}/${{ inputs.environment }}.env s3://vanotify-environment-variables-${{ inputs.environment }}/notification-api/
run-lambda-deploy:
if: ${{ inputs.lambdaDeploy }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Upload Env File to S3
shell: bash
run: |
aws s3 cp cd/application-deployment/${{ inputs.environment }}/${{ inputs.environment }}.env s3://vanotify-environment-variables-${{ inputs.environment }}/
aws s3 cp cd/application-deployment/${{ inputs.environment }}/${{ inputs.environment }}.env s3://vanotify-environment-variables-${{ inputs.environment }}/notification-api/
run-lambda-deploy:
if: ${{ inputs.lambdaDeploy }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-dev/dev.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-dev/notification-api/dev.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-dev/dev.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-dev/notification-api/dev.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-dev/dev.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-dev/notification-api/dev.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-perf/perf.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-perf/notification-api/perf.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-perf/perf.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-perf/notification-api/perf.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-perf/perf.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-perf/notification-api/perf.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-prod/prod.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-prod/notification-api/prod.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-prod/prod.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-prod/notification-api/prod.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-prod/prod.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-prod/notification-api/prod.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-staging/staging.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-staging/notification-api/staging.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-staging/staging.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-staging/notification-api/staging.env"
}
],
"environment": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"environmentFiles": [
{
"type": "s3",
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-staging/staging.env"
"value": "arn:aws-us-gov:s3:::vanotify-environment-variables-staging/notification-api/staging.env"
}
],
"environment": [
Expand Down

0 comments on commit 77fff0e

Please sign in to comment.