Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dev into stage #89

Merged
merged 5 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# get the environment
environment = utils.get_environment()
stack_name_prefix = f"openchallenges-{environment}"
image_version = "1.1.2"
image_version = "1.3.1"

# get VARS from cdk.json
env_vars = app.node.try_get_context(environment)
Expand Down
4 changes: 2 additions & 2 deletions openchallenges/data_integration_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, scope: Construct, id: str) -> None:
def _build_lambda_role(self) -> iam.Role:
return iam.Role(
self,
"LambdaRole",
f"{id}-LambdaRole",
assumed_by=iam.ServicePrincipal("lambda.amazonaws.com"),
managed_policies=[
iam.ManagedPolicy.from_aws_managed_policy_name(
Expand All @@ -51,7 +51,7 @@ def _build_lambda_function(self, role: iam.Role) -> lambda_.Function:
"""
return lambda_.DockerImageFunction(
self,
"LambdaFunction",
f"{id}-LambdaFunction",
code=lambda_.DockerImageCode.from_image_asset(
# Directory relative to where you execute cdk deploy contains a
# Dockerfile with build instructions.
Expand Down
8 changes: 4 additions & 4 deletions openchallenges/data_integration_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(
"""
super().__init__(scope, id, **kwargs)

data_integration_lambda = DataIntegrationLambda(self, "data-integration-lambda")
data_integration_lambda = DataIntegrationLambda(self, f"{id}-lambda")

target = scheduler_targets.LambdaInvoke(
data_integration_lambda.lambda_function,
Expand All @@ -52,13 +52,13 @@ def __init__(
# to this group the future)
schedule_group = scheduler_alpha.Group(
self,
"group",
group_name="schedule-group",
f"{id}-schedule-group",
group_name=f"{id}-schedule-group",
)

scheduler_alpha.Schedule(
self,
"schedule",
f"{id}-schedule",
schedule=props.schedule,
target=target,
group=schedule_group,
Expand Down
Loading