Skip to content

Commit 2510d85

Browse files
committed
Fix to replace EOItemLinksS3Bucket name since it may not be created if bucket creation is set to false
1 parent 4f62cd1 commit 2510d85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cloudformation/geocore-eo-rcm-ard-harvester.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Resources:
117117
Variables:
118118
GEOCORE_TEMPLATE_BUCKET_NAME: !Sub 'webpresence-geocore-template-${Environment}'
119119
GEOCORE_TEMPLATE_NAME: 'geocore-format-null-template.json'
120-
ITEM_LINK_BUCKET_NAME: !Ref EOItemLinksS3Bucket
120+
ITEM_LINK_BUCKET_NAME: !Sub 'eo-sg-datacube-item-links-${Environment}'
121121
PROCESSED_DATA_BUCKET_NAME: !Ref ProcessedDataS3Bucket
122122
API_ROOT: 'https://www.eodms-sgdot.nrcan-rncan.gc.ca/stac'
123123
ROOT_NAME: 'EODMS Datacube API / EODMS Cube de données API'
@@ -260,7 +260,7 @@ Resources:
260260
MemorySize: 4096
261261
Environment:
262262
Variables:
263-
ITEM_LINK_BUCKET_NAME: !Ref EOItemLinksS3Bucket
263+
ITEM_LINK_BUCKET_NAME: !Sub 'eo-sg-datacube-item-links-${Environment}'
264264
JSON_FILENAME: 'rcm-ard-item-api.json'
265265
SG_PROCESSES_TABLE_NAME: !Ref SGRCMARDProcessesTableName
266266
SG_AGGREGATE_TABLE_NAME: !Ref SGRCMARDAggregateTableName

0 commit comments

Comments
 (0)