Skip to content

Commit

Permalink
Update s3 setup to use ssologin credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
hcorson-dosch-usgs committed Nov 21, 2024
1 parent 2492364 commit 48886aa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions 3_visualize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ targets:
##-- Now push the data needed by Vue to S3 --##

# These data end up on the Prod VPC with `us-west-2`
# You must login separately using `saml2aws login`
# You must login separately using `ssologin.sh`

visualizations/data/gw-conditions-peaks-map.svg.ind:
command: s3_put(target_name, '3_visualize/out/gw-conditions-peaks-map.svg', config_file = I('lib/cfg/s3_config_viz.yml'))
Expand Down Expand Up @@ -106,7 +106,7 @@ targets:
# We want to keep a copy of each time window we use, but don't want to have to keep changing the
# filename that is used by the Vue code manually. So, we are uploading a copy of the data for
# the current viz time window and naming based on the dates.
# This data ends up on the Dev VPC with `us-west-2`; you must login separately using `saml2aws login`
# This data ends up on the Dev VPC with `us-west-2`; you must login separately using `ssologin.sh`
gw_conditions_peaks_timeseries_s3copy_fname:
command: sprintf(
I('gw-conditions/viz-previous-peak-data/gw-conditions-peaks-timeseries-%s_%s.csv'),
Expand Down
2 changes: 1 addition & 1 deletion lib/cfg/s3_config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
profile: 'default'
profile: 'wma-developer-dev'

bucket: 'vizlab-data'
2 changes: 1 addition & 1 deletion lib/cfg/s3_config_viz.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
profile: 'default'
profile: 'wma-developer-prod'

bucket: 'water-visualizations-prod-website'
2 changes: 1 addition & 1 deletion lib/cfg/s3_config_viz_beta.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
profile: 'default'
profile: 'wma-developer-prod'

bucket: 'water-visualizations-beta-website'

0 comments on commit 48886aa

Please sign in to comment.