Skip to content

Commit

Permalink
feat: deterministic outputs of service urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaransweet committed Aug 2, 2024
1 parent 450c082 commit f4eaa80
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/cdk-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ runs:
working-directory: ${{ inputs.dir }}
run: |
echo $STAGE
cdk deploy --require-approval never --outputs-file ${HOME}/cdk-outputs.json
cdk deploy --require-approval never --outputs-file ${HOME}/veda-backend-cdk-outputs.json
2 changes: 1 addition & 1 deletion ingest_api/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ def __init__(
custom_host=config.custom_host,
)

# CfnOutput(self, "ingest-api", value=self.api.url)
stack_name = Stack.of(self).stack_name
CfnOutput(
self,
"stac-ingestor-api-url",
export_name=f"{stack_name}-stac-ingestor-api-url",
value=self.api.url,
key="ingestapiurl"
)

register_ssm_parameter(
Expand Down
1 change: 1 addition & 0 deletions raster_api/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def __init__(
"raster-api",
value=self.raster_api.url,
export_name=f"{stack_name}-raster-url",
key="rasterapiurl"
)
CfnOutput(self, "raster-api-arn", value=veda_raster_function.function_arn)

Expand Down
1 change: 1 addition & 0 deletions s3_website/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ def __init__(
self,
"bucket-website",
value=f"https://{self.bucket.bucket_website_domain_name}",
key="stacbrowserurl"
)
1 change: 1 addition & 0 deletions stac_api/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,5 @@ def __init__(
"stac-api",
value=self.stac_api.url,
export_name=f"{stack_name}-stac-url",
key="stacapiurl"
)

0 comments on commit f4eaa80

Please sign in to comment.