Skip to content

Commit

Permalink
feat: deterministic outputs of service urls (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaransweet authored Aug 7, 2024
1 parent aa25442 commit b8ac115
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
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 @@ -128,4 +128,5 @@ def __init__(
"stac-api",
value=self.stac_api.url,
export_name=f"{stack_name}-stac-url",
key="stacapiurl",
)

0 comments on commit b8ac115

Please sign in to comment.